UNPKG

@thi.ng/tensors

Version:

0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage

19 lines 654 B
/** * Componentwise computes smoothstep function for given nD tensor and thresholds * `b` (low edge) and `c` (high edge). Writes result to `out`. If `out` is null, * mutates `a`. Multi-method. Also see {@link step}. * * @remarks * Same as GLSL `smoothstep()` (but with changed order of arguments). * * Reference: * * - https://registry.khronos.org/OpenGL-Refpages/gl4/html/smoothstep.xhtml * * @param out - output tensor * @param a - input tensor * @param b - input tensor (low edge) * @param b - input tensor (high edge) */ export declare const smoothStep: import("./api.js").TensorOpTTT<number>; //# sourceMappingURL=smoothstep.d.ts.map