UNPKG

@thi.ng/tensors

Version:

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

6 lines (5 loc) 94 B
import { magSq } from "./magsq.js"; const mag = (a) => Math.sqrt(magSq(a)); export { mag };