@equinor/videx-linear-algebra
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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

Equinor Logo

Readme

Keywords

Package Sidebar

Install

npm i @equinor/videx-linear-algebra

Weekly Downloads

258

Version

1.0.7

License

MIT

Unpacked Size

25.6 kB

Total Files

7

Last publish

Collaborators

  • johannesleite
  • nadiabertha
  • hnj
  • tomktjemsland
  • brynjulf
  • olms