Article,

Using Python for scientific computing: Efficient and flexible evaluation of the statistical characteristics of functions with multivariate random inputs

, , , and .
Computer Physics Communications, 184 (2): 414 - 427 (February 2013)
DOI: 10.1016/j.cpc.2012.08.021

Abstract

This paper examines the feasibility of high-level Python based utilities for numerically intensive applications via an example of a multidimensional integration for the evaluation of the statistical characteristics of a random variable. We discuss the approaches to the implementation of mathematically formulated incremental expressions using high-level scripting code and low-level compiled code. Due to the dynamic typing of the Python language, components of the algorithm can be easily coded in a generic way as algorithmic templates. Using the Enthought Development Suite they can be effectively assembled into a flexible computational framework that can be configured to execute the code for arbitrary combinations of integration schemes and versions of instantiated code. The paper describes the development cycle using a simple running example involving averaging of a random two-parametric function that includes discontinuity. This example is also used to compare the performance of the available algorithmic and executional features. The implemented package including further examples and the results of performance studies have been made available via the free repository 1 and CPCP library.

Tags

Users

  • @drmatusek

Comments and Reviews