Logo Search packages:      
Sourcecode: python-scientific version File versions  Download package

Scientific::Functions::Interpolation::InterpolatingFunction Class Reference

Inheritance diagram for Scientific::Functions::Interpolation::InterpolatingFunction:

Scientific::Functions::Interpolation::NetCDFInterpolatingFunction

List of all members.


Detailed Description

Function defined by values on a grid using interpolation

An interpolating function of n variables with m-dimensional values
is defined by an (n+m)-dimensional array of values and n
one-dimensional arrays that define the variables values
corresponding to the grid points. The grid does not have to be
equidistant.

Constructor: InterpolatingFunction(|axes|, |values|, |default|=None)

Arguments:

|axes| -- a sequence of one-dimensional arrays, one for each
          variable, specifying the values of the variables at
          the grid points

|values| -- an array containing the function values on the grid

|default| -- the value of the function outside the grid. A value
             of 'None' means that the function is undefined outside
             the grid and that any attempt to evaluate it there
             yields an exception.

Evaluation: 'function(x1, x2, ...)' yields the function value
            obtained by linear interpolation.

Indexing: all array indexing operations except for the
          NexAxis operator are supported.

Definition at line 15 of file Interpolation.py.


Public Member Functions

def __abs__
def __call__
def __getattr__
def __getitem__
def __getslice__
def __init__
def __len__
def arccos
def arcsin
def arctan
def cos
def cosh
def definiteIntegral
def derivative
def exp
def fitPolynomial
def integral
def log
def selectInterval
def sin
def sinh
def sqrt
def tan
def tanh

Public Attributes

 axes
 default
 shape
 values

Private Member Functions

def _mathfunc

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index