ClassesClasses | | Operators

get_y_value_funct_1dT_get_y_value_funct_1dGetYValueFunct1dGetYValueFunct1d (Operator)

Name

get_y_value_funct_1dT_get_y_value_funct_1dGetYValueFunct1dGetYValueFunct1d — Return the value of a function at an arbitrary position.

Signature

get_y_value_funct_1d( : : Function, X, Border : Y)

Herror T_get_y_value_funct_1d(const Htuple Function, const Htuple X, const Htuple Border, Htuple* Y)

void GetYValueFunct1d(const HTuple& Function, const HTuple& X, const HTuple& Border, HTuple* Y)

HTuple HFunction1D::GetYValueFunct1d(const HTuple& X, const HString& Border) const

double HFunction1D::GetYValueFunct1d(double X, const HString& Border) const

double HFunction1D::GetYValueFunct1d(double X, const char* Border) const

static void HOperatorSet.GetYValueFunct1d(HTuple function, HTuple x, HTuple border, out HTuple y)

HTuple HFunction1D.GetYValueFunct1d(HTuple x, string border)

double HFunction1D.GetYValueFunct1d(double x, string border)

Description

get_y_value_funct_1dget_y_value_funct_1dGetYValueFunct1dGetYValueFunct1dGetYValueFunct1d returns the y value of the function FunctionFunctionFunctionFunctionfunction at the x coordinates specified by XXXXx. To obtain the y values, the input function is interpolated linearly. The parameter BorderBorderBorderBorderborder determines the values of the function FunctionFunctionFunctionFunctionfunction outside of its domain. For BorderBorderBorderBorderborder='zero'"zero""zero""zero""zero" these values are set to 0, for BorderBorderBorderBorderborder='constant'"constant""constant""constant""constant" they are set to the corresponding value at the border, for BorderBorderBorderBorderborder='mirror'"mirror""mirror""mirror""mirror" they are mirrored at the border, for BorderBorderBorderBorderborder='cyclic'"cyclic""cyclic""cyclic""cyclic" they are continued cyclically, and for BorderBorderBorderBorderborder='error'"error""error""error""error" an exception is raised.

Execution Information

Parameters

FunctionFunctionFunctionFunctionfunction (input_control)  function_1d HFunction1D, HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Input function.

XXXXx (input_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

X coordinate at which the function should be evaluated.

BorderBorderBorderBorderborder (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Border treatment for the input function.

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

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

YYYYy (output_control)  number(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Y value at the given x value.

Possible Predecessors

create_funct_1d_pairscreate_funct_1d_pairsCreateFunct1dPairsCreateFunct1dPairsCreateFunct1dPairs, create_funct_1d_arraycreate_funct_1d_arrayCreateFunct1dArrayCreateFunct1dArrayCreateFunct1dArray

Module

Foundation


ClassesClasses | | Operators