ClassesClassesClassesClasses | | | | Operators

derivate_funct_1dT_derivate_funct_1dDerivateFunct1dderivate_funct_1dDerivateFunct1dDerivateFunct1d (Operator)

Name

derivate_funct_1dT_derivate_funct_1dDerivateFunct1dderivate_funct_1dDerivateFunct1dDerivateFunct1d — Calculate the derivatives of a function.

Signature

derivate_funct_1d( : : Function, Mode : Derivative)

Herror T_derivate_funct_1d(const Htuple Function, const Htuple Mode, Htuple* Derivative)

Herror derivate_funct_1d(const HTuple& Function, const HTuple& Mode, HTuple* Derivative)

HTuple HFunction1D::DerivateFunct1d(const HTuple& Mode) const

void DerivateFunct1d(const HTuple& Function, const HTuple& Mode, HTuple* Derivative)

HFunction1D HFunction1D::DerivateFunct1d(const HString& Mode) const

HFunction1D HFunction1D::DerivateFunct1d(const char* Mode) const

void HOperatorSetX.DerivateFunct1d(
[in] VARIANT Function, [in] VARIANT Mode, [out] VARIANT* Derivative)

IHFunction1DX* HFunction1DX.DerivateFunct1d([in] BSTR Mode)

static void HOperatorSet.DerivateFunct1d(HTuple function, HTuple mode, out HTuple derivative)

HFunction1D HFunction1D.DerivateFunct1d(string mode)

Description

derivate_funct_1dderivate_funct_1dDerivateFunct1dderivate_funct_1dDerivateFunct1dDerivateFunct1d calculates the derivatives of the function FunctionFunctionFunctionFunctionFunctionfunction 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 FunctionFunctionFunctionFunctionFunctionfunction. With the parameter ModeModeModeModeModemode, 'first'"first""first""first""first""first" and 'second'"second""second""second""second""second" derivatives can be selected.

Parallelization

Parameters

FunctionFunctionFunctionFunctionFunctionfunction (input_control)  function_1d HFunction1D, HTupleHTupleHFunction1D, HTupleHFunction1DX, VARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Input function

ModeModeModeModeModemode (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Type of derivative

Default value: 'first' "first" "first" "first" "first" "first"

List of values: 'first'"first""first""first""first""first", 'second'"second""second""second""second""second"

DerivativeDerivativeDerivativeDerivativeDerivativederivative (output_control)  function_1d HFunction1D, HTupleHTupleHFunction1D, HTupleHFunction1DX, VARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Derivative of the input function

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray, smooth_funct_1d_gausssmooth_funct_1d_gaussSmoothFunct1dGausssmooth_funct_1d_gaussSmoothFunct1dGaussSmoothFunct1dGauss, smooth_funct_1d_meansmooth_funct_1d_meanSmoothFunct1dMeansmooth_funct_1d_meanSmoothFunct1dMeanSmoothFunct1dMean

Module

Foundation


ClassesClassesClassesClasses | | | | Operators