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