Operator Reference

transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d (Operator)

transform_funct_1dT_transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d — 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)

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

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

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

HFunction1D HFunction1D.TransformFunct1d(HTuple paramsVal)

def transform_funct_1d(function: Sequence[Union[float, int]], params: Sequence[float]) -> Sequence[Union[float, int]]

Description

transform_funct_1dtransform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1d transforms the input function FunctionFunctionFunctionfunctionfunction using the transformation parameters given in ParamsParamsParamsparamsValparams. The function FunctionFunctionFunctionfunctionfunction is passed as a tuple (see create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array and create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs). The following model is used for the transformation between the two functions (see match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans): The output function TransformedFunctionTransformedFunctionTransformedFunctiontransformedFunctiontransformed_function 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 is restricted to . To resample a function, the operator sample_funct_1dsample_funct_1dSampleFunct1dSampleFunct1dsample_funct_1d can be used.

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, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function.

ParamsParamsParamsparamsValparams (input_control)  number-array HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Transformation parameters between the functions.

Number of elements: 4

TransformedFunctionTransformedFunctionTransformedFunctiontransformedFunctiontransformed_function (output_control)  function_1d HFunction1D, HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Transformed function.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairscreate_funct_1d_pairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArraycreate_funct_1d_array, match_funct_1d_transmatch_funct_1d_transMatchFunct1dTransMatchFunct1dTransmatch_funct_1d_trans

Module

Foundation