UNPKG

@thi.ng/tensors

Version:

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

12 lines 433 B
import type { FnU2 } from "@thi.ng/api"; import type { TensorOpTT } from "./api.js"; /** * Higher order tensor op factory. Takes given `fn` and returns a * {@link TensorOpTT} applying the given function componentwise with * broadcasting rules (see {@link broadcast} for details). * * @param fn * @param dispatch */ export declare const defOpTT: <T = number>(fn: FnU2<T>) => TensorOpTT<T>; //# sourceMappingURL=defoptt.d.ts.map