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