ClassesClassesClassesClasses | | | | Operators

transform_funct_1dT_transform_funct_1dTransformFunct1dtransform_funct_1dTransformFunct1dTransformFunct1d (Operator)

Name

transform_funct_1dT_transform_funct_1dTransformFunct1dtransform_funct_1dTransformFunct1dTransformFunct1d — Transform a function using given transformation parameters.

Signature

transform_funct_1d( : : Function, Params : TransformedFunction)

Herror T_transform_funct_1d(const Htuple Function, const Htuple Params, Htuple* TransformedFunction)

Herror transform_funct_1d(const HTuple& Function, const HTuple& Params, HTuple* TransformedFunction)

HTuple HFunction1D::TransformFunct1d(const HTuple& Params) const

void TransformFunct1d(const HTuple& Function, const HTuple& Params, HTuple* TransformedFunction)

HFunction1D HFunction1D::TransformFunct1d(const HTuple& Params) const

void HOperatorSetX.TransformFunct1d(
[in] VARIANT Function, [in] VARIANT Params, [out] VARIANT* TransformedFunction)

IHFunction1DX* HFunction1DX.TransformFunct1d([in] VARIANT Params)

static void HOperatorSet.TransformFunct1d(HTuple function, HTuple paramsVal, out HTuple transformedFunction)

HFunction1D HFunction1D.TransformFunct1d(HTuple paramsVal)

Description

transform_funct_1dtransform_funct_1dTransformFunct1dtransform_funct_1dTransformFunct1dTransformFunct1d transforms the input function FunctionFunctionFunctionFunctionFunctionfunction using the transformation parameters given in ParamsParamsParamsParamsParamsparamsVal. The function FunctionFunctionFunctionFunctionFunctionfunction is passed as a tuple (see create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray and create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs). The following model is used for the transformation between the two functions (see match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTrans):

    yt(x) = a1*y(a3*x+a4)+a2 .

The output function TransformedFunctionTransformedFunctionTransformedFunctionTransformedFunctionTransformedFunctiontransformedFunction is obtained by transforming the x and y values of the input function separately with the above formula, i.e., the output function is not sampled again. Therefore, the parameter 3 is restricted to a3!=0.0. To resample a function, the operator sample_funct_1dsample_funct_1dSampleFunct1dsample_funct_1dSampleFunct1dSampleFunct1d can be used.

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.

ParamsParamsParamsParamsParamsparamsVal (input_control)  number-array HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Transformation parameters between the functions.

Number of elements: 4

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

Transformed function.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArray, match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTrans

Module

Foundation


ClassesClassesClassesClasses | | | | Operators