derivate_funct_1d ( : : Function, Mode : Derivative )

Calculate the derivatives of a function.

derivate_funct_1d calculates the derivatives of the function Function up to the second degree. It uses a finite difference approximation of order O(h^2). The derivative is also a function with the same sampling points as Function. With the parameter Mode, 'first' and 'second' derivatives can be selected.


Parameters

Function (input_control)
function_1d-array -> real / integer
Input function

Mode (input_control)
string -> string
Type of derivative
Default value: 'first'
List of values: 'first', 'second'

Derivative (output_control)
function_1d-array -> real / integer
Derivative of the input function


Parallelization Information

derivate_funct_1d is reentrant and processed without parallelization.


Possible Predecessors

create_funct_1d_pairs, create_funct_1d_array, smooth_funct_1d_gauss, smooth_funct_1d_mean


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH