@thi.ng/tensors
Version:
0D/1D/2D/3D/4D tensors with extensible polymorphic operations and customizable storage
10 lines • 384 B
TypeScript
import type { Fn } from "@thi.ng/api";
import type { TensorOpT } from "./api.js";
/**
* Higher order tensor op factory. Takes given `fn` and returns a
* {@link TensorOpT} applying the given function component-wise.
*
* @param fn
*/
export declare const defOpT: <T = number>(fn: Fn<T, T>) => import("./api.js").MultiTensorOpImpl<TensorOpT<T>>;
//# sourceMappingURL=defopt.d.ts.map