UNPKG

@thi.ng/transducers-stats

Version:

Transducers for statistical / technical analysis

12 lines 457 B
import type { Transducer } from "@thi.ng/transducers"; /** * https://en.wikipedia.org/wiki/Trix_(technical_analysis) * * Note: the number of results will be `3 * (period - 1) + 1` less than * the number of processed inputs. * * @param period - */ export declare function trix(period: number): Transducer<number, number>; export declare function trix(period: number, src: Iterable<number>): IterableIterator<number>; //# sourceMappingURL=trix.d.ts.map