Skip to content

transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1dT_transform_funct_1d🔗

説明🔗

transform_funct_1dTransformFunct1dTransformFunct1dtransform_funct_1dT_transform_funct_1d — 与えられた変形パラメーターを使って関数を変形する。

書式🔗

transform_funct_1d( function_1d Function, number Params, out function_1d TransformedFunction )void TransformFunct1d( const HTuple& Function, const HTuple& Params, HTuple* TransformedFunction )static void HOperatorSet.TransformFunct1d( HTuple function, HTuple paramsVal, out HTuple transformedFunction )def transform_funct_1d( function: Sequence[Union[float, int]], params: Sequence[float] ) -> Sequence[Union[float, int]]

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

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

HFunction1D HFunction1D.TransformFunct1d( HTuple paramsVal )

説明🔗

transform_funct_1dTransformFunct1d は、ParamsparamsValparams で与えられた 変形パラメーターを使って入力関数 Functionfunctionfunction を変形します。 関数 Functionfunctionfunction は tuple として処理されます (create_funct_1d_arrayCreateFunct1dArray と create_funct_1d_pairsCreateFunct1dPairs 参照)。 以下のモデルが 2 つの関数(match_funct_1d_transMatchFunct1dTrans を参照)間の 変形に対して利用されます:

\[\begin{eqnarray*} y_{t}(x) = a_{1} y(a_{3} x + a_{4}) + a_{2} \enspace . \end{eqnarray*}\]

出力関数 TransformedFunctiontransformedFunctiontransformed_function は上記の数式を使って、個別に、 入力関数の x と y 値の変形によって与えられます。すなわち、出力関数は 再度サンプリングされません。そのため、パラメーター \(a_{3}\) は \(a_{3} \neq 0.0\) に限定されています。 関数をリサンプリングするために、オペレーター sample_funct_1dSampleFunct1d が 利用できます。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

Functionfunctionfunction (input_control) function_1d → (real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)

入力関数

ParamsparamsValparams (input_control) number-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

関数間の変形パラメーター

要素数: 4

TransformedFunctiontransformedFunctiontransformed_function (output_control) function_1d → (real / integer)HTuple (double / Hlong)HFunction1D, HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)

変形された関数

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

create_funct_1d_pairsCreateFunct1dPairs, create_funct_1d_arrayCreateFunct1dArray, match_funct_1d_transMatchFunct1dTrans

モジュール🔗

Foundation