ClassesClassesClassesClasses | | | | Operators

compose_funct_1dT_compose_funct_1dComposeFunct1dcompose_funct_1dComposeFunct1dComposeFunct1d (Operator)

Name

compose_funct_1dT_compose_funct_1dComposeFunct1dcompose_funct_1dComposeFunct1dComposeFunct1d — Compose two functions.

Signature

compose_funct_1d( : : Function1, Function2, Border : ComposedFunction)

Herror T_compose_funct_1d(const Htuple Function1, const Htuple Function2, const Htuple Border, Htuple* ComposedFunction)

Herror compose_funct_1d(const HTuple& Function1, const HTuple& Function2, const HTuple& Border, HTuple* ComposedFunction)

HTuple HFunction1D::ComposeFunct1d(const HTuple& Function2, const HTuple& Border) const

void ComposeFunct1d(const HTuple& Function1, const HTuple& Function2, const HTuple& Border, HTuple* ComposedFunction)

HFunction1D HFunction1D::ComposeFunct1d(const HFunction1D& Function2, const HString& Border) const

HFunction1D HFunction1D::ComposeFunct1d(const HFunction1D& Function2, const char* Border) const

void HOperatorSetX.ComposeFunct1d(
[in] VARIANT Function1, [in] VARIANT Function2, [in] VARIANT Border, [out] VARIANT* ComposedFunction)

IHFunction1DX* HFunction1DX.ComposeFunct1d(
[in] IHFunction1DX* Function2, [in] BSTR Border)

static void HOperatorSet.ComposeFunct1d(HTuple function1, HTuple function2, HTuple border, out HTuple composedFunction)

HFunction1D HFunction1D.ComposeFunct1d(HFunction1D function2, string border)

Description

compose_funct_1dcompose_funct_1dComposeFunct1dcompose_funct_1dComposeFunct1dComposeFunct1d composes two functions, i.e., calculates ComposedFunction(x) = Function2(Function1(x)). ComposedFunctionComposedFunctionComposedFunctionComposedFunctionComposedFunctioncomposedFunction has the same domain (x-range) as Function1Function1Function1Function1Function1function1. If the range (y-value range) of Function1Function1Function1Function1Function1function1 is larger than the domain of Function2Function2Function2Function2Function2function2, the parameter BorderBorderBorderBorderBorderborder determines the border treatment of Function2Function2Function2Function2Function2function2. For BorderBorderBorderBorderBorderborder='zero'"zero""zero""zero""zero""zero" values outside the domain of Function2Function2Function2Function2Function2function2 are set to 0, for BorderBorderBorderBorderBorderborder='constant'"constant""constant""constant""constant""constant" they are set to the corresponding value at the border, for BorderBorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror""mirror" they are mirrored at the border, and for BorderBorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic""cyclic" they are continued cyclically. To obtain y-values, Function2Function2Function2Function2Function2function2 is interpolated linearly.

Parallelization

Parameters

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

Input function 1.

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

Input function 2.

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

Border treatment for the input functions.

Default value: 'constant' "constant" "constant" "constant" "constant" "constant"

List of values: 'constant'"constant""constant""constant""constant""constant", 'cyclic'"cyclic""cyclic""cyclic""cyclic""cyclic", 'mirror'"mirror""mirror""mirror""mirror""mirror", 'zero'"zero""zero""zero""zero""zero"

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

Composed function.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray

Module

Foundation


ClassesClassesClassesClasses | | | | Operators