@kjerandp/linear-algebra

1.0.5 • Public • Published

Linear algebra

Math library for doing basic linear algebra operations, inspired by GLSL.

Installation

npm install --save @kjerandp/linear-algebra

Usage

The package exports an object containing all types and functions.

// es6
import { vec3, mat3, ... } from '@kjerandp/linear-algebra';

// commonjs
const lib = require('@kjerandp/linear-algebra');

const vec3 = lib.vec3;
const mat3 = lib.mat3;
(...)

See this live sample of usage or refer to the docs and tests for more details.

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.5139latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.5139
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00
1.0.0-alpha.50
1.0.0-alpha.42
1.0.0-alpha.30
1.0.0-alpha.20
1.0.0-alpha.10
1.0.0-alpha.00
0.2.40
0.2.31
0.2.20
0.2.10
0.2.1-alpha.40
0.2.1-alpha.30
0.2.1-alpha.20
0.2.1-alpha.10
0.2.1-alpha.01
0.1.20
0.1.10
0.0.70
0.0.60
0.0.51
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @kjerandp/linear-algebra

Weekly Downloads

134

Version

1.0.5

License

MIT

Unpacked Size

207 kB

Total Files

16

Last publish

Collaborators

  • kjerandp