create_funct_1d_pairs (Operator)函数学习

create_funct_1d_pairs (Operator)

Name

create_funct_1d_pairs — Create a function from a set of (x,y) pairs.
创建一个函数,从一系列的xy对里面。说明x是一组,y是一组,然后创建一个函数。
create_funct_1d_pairs ([7,9,11], [0.0,1.0,0.0], SizeFunction)
比如这个,包括了三个点。x是7,9,11,y是0,0.1,0。三个数x对三个数y。
Signature

create_funct_1d_pairs( : : XValues, YValues : Function)

Description

create_funct_1d_pairs creates a one-dimensional function from a set of pairs of (x,y) values. The XValues of the functions have to be passed in ascending (上升的)order. The resulting function can then be processed and analyzed with the operators for 1d functions.
这个函数创建一个一维函数,通过xy的数值,这个函数的xy的数值,必须是上升的顺序,结果的函数自己计算出来。
Alternatively, functions can be created with the operator create_funct_1d_array. In contrast to this operator, x values with arbitrary positions can be specified with create_funct_1d_pairs. Hence, it is the more general operator. It should be noted, however, that because of this generality the processing of a function created with create_funct_1d_pairs cannot be carried out as efficiently as for equidistant functions. In particular, not all operators accept such functions. If necessary, a function can be transformed into an equidistant function with the operator sample_funct_1d.

Attention

create_funct_1d_pairs examines whether the x-values of type ‘double’ are ascending. Some other operators apply the same check but use the type ‘float’ instead of ‘double’. If such an operator is called as successor, it might happen that two consecutive x-values seem to be equal for the ‘float’ variant, although they were ascending in the ‘double’ variant. If this happens, an error is thrown.

Parallelization

Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
Parameters

XValues (input_control) number(-array) → (real / integer)
X value for function points.
YValues (input_control) number(-array) → (real / integer)
Y-value for function points.
Function (output_control) function_1d → (real / integer)
Created function.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值