downsample_float_array_curve_by_error
Functions
- array_sampler_linear(input, input_offset, input_size, f) ⇒
number
- compute_float_array_curve_linear_sampling_relative_error(input0, input0_offset, input0_size, input1, input1_offset, input1_size)
- downsample_float_array_curve_by_error(output, output_offset, input, input_offset, input_size, [error]) ⇒
number
array_sampler_linear(input, input_offset, input_size, f) ⇒ number
Kind: global function
Param | Type |
---|---|
input | Array.<number> |
input_offset | number |
input_size | number |
f | number |
compute_float_array_curve_linear_sampling_relative_error(input0, input0_offset, input0_size, input1, input1_offset, input1_size)
Kind: global function
Param | Type |
---|---|
input0 | Array.<number> | Float32Array |
input0_offset | number |
input0_size | number |
input1 | Array.<number> | Float32Array |
input1_offset | number |
input1_size | number |
downsample_float_array_curve_by_error(output, output_offset, input, input_offset, input_size, [error]) ⇒ number
Kind: global function
Param | Type |
---|---|
output | Array.<number> |
output_offset | number |
input | Array.<number> |
input_offset | number |
input_size | number |
[error] | number |