UNPKG

@thi.ng/vectors

Version:

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

57 lines 1.74 kB
import type { VecOpNFO } from "./api.js"; /** * Similar to {@link randNorm} but wraps {@link randDistrib} which draws samples * from given distribution function (default: gaussian/normal distribution). * * @remarks * This version of this function can ONLY be used if `v` is given and * pre-initialized to the desired size/length. * * @param v - * @param n - * @param distrib - */ export declare const randNormDistrib: VecOpNFO; /** * Similar to {@link randNorm2} but wraps {@link randDistrib2} which draws * samples from given distribution function (default: gaussian/normal * distribution). * * @remarks * The non-fixed sized version of this function can ONLY be used if `v` is given * and pre-initialized to the desired size/length. * * @param v - * @param n - * @param distrib - */ export declare const randNormDistrib2: VecOpNFO; /** * Similar to {@link randNorm3} but wraps {@link randDistrib3} which draws * samples from given distribution function (default: gaussian/normal * distribution). * * @remarks * The non-fixed sized version of this function can ONLY be used if `v` is given * and pre-initialized to the desired size/length. * * @param v - * @param n - * @param distrib - */ export declare const randNormDistrib3: VecOpNFO; /** * Similar to {@link randNorm4} but wraps {@link randDistrib4} which draws * samples from given distribution function (default: gaussian/normal * distribution). * * @remarks * The non-fixed sized version of this function can ONLY be used if `v` is given * and pre-initialized to the desired size/length. * * @param v - * @param n - * @param distrib - */ export declare const randNormDistrib4: VecOpNFO; //# sourceMappingURL=rand-normdistrib.d.ts.map