integrate_funct_1dT_integrate_funct_1dIntegrateFunct1dIntegrateFunct1d (Operator)
Name
integrate_funct_1dT_integrate_funct_1dIntegrateFunct1dIntegrateFunct1d
— Compute the positive and negative areas of a function.
Signature
Description
integrate_funct_1dintegrate_funct_1dIntegrateFunct1dIntegrateFunct1dIntegrateFunct1d
integrates the function FunctionFunctionFunctionFunctionfunction
(see create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray
and create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs
)
and returns the integral of the positive and negative parts of the
function in PositivePositivePositivePositivepositive
and NegativeNegativeNegativeNegativenegative
, respectively.
Hence, the integral of the function is the difference
PositivePositivePositivePositivepositive
- NegativeNegativeNegativeNegativenegative
. The integration is done on
the interval on which the function is defined. For the integration,
the function is interpolated linearly.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
FunctionFunctionFunctionFunctionfunction
(input_control) function_1d →
HFunction1D, HTupleHTupleHtuple (real) (double) (double) (double)
Input function.
PositivePositivePositivePositivepositive
(output_control) number →
HTupleHTupleHtuple (real) (double) (double) (double)
Area under the positive part of the function.
NegativeNegativeNegativeNegativenegative
(output_control) number-array →
HTupleHTupleHtuple (real) (double) (double) (double)
Area under the negative part of the function.
Possible Predecessors
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs
,
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray
See also
create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray
,
create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs
Module
Foundation