UNPKG

@thi.ng/vectors

Version:

Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts

16 lines 477 B
import type { VecOpVVV } from "./api.js"; /** * Combines elements from given vectors `a` and `b` into vector `out` using * `mask` vector to select the source of each element. If `mask[i] != 0` the * source is `b[i]`, else `a[i]`. If `out` is null writes result into `a`. * * @remarks * All 3 input vectors MUST be of same size. * * @param out - * @param a - * @param b - * @param mask - */ export declare const select: VecOpVVV; //# sourceMappingURL=select.d.ts.map