README
Videx linear algebra
A library with linear algebra used by Videx. Functions are designed with performance in mind, where a target vector can be used to avoid creating new objects.
Installation
npm install --save @equinor/videx-linear-algebra
Usage
// ES6
import { add, scale, ... } from '@equinor/videx-linear-algebra';
// ObservableHQ
const someVar = require('@equinor/videx-linear-algebra@X.X.X/dist/bundle.umd.js');
const add = someVar.add;
Where X.X.X is desired version number.
Available functions
add | addAll | clamp | copy |
cross | dir | dist | dot |
fill | flatten | isZeroVector | magnitude |
mix | modify | normalize | reshape |
reverse | scale | step | sub |
subAll | sumsqr | triple |