@zokugun/lang.math.matrix

0.3.0 • Public • Published

@zokugun/lang.math.matrix

kaoscript License NPM Version Dependency Status Build Status CircleCI Coverage Status

Provides matrix functions.

Getting Started

With node previously installed:

npm install @zokugun/lang.math.matrix

Use it with JavaScript:

require('kaoscript/register');

const { Matrix } = require('@zokugun/lang.math.matrix')();

const m = Matrix.multiply(
	[
		[0, 1, 2],
		[3, 4, 5]
	],
	[
		[0, 3],
		[1, 4],
		[2, 5]
	]
);

Use it with kaoscript:

import '@zokugun/lang.math.matrix'

const m = Matrix.multiply(
	[
		[0, 1, 2],
		[3, 4, 5]
	],
	[
		[0, 3],
		[1, 4],
		[2, 5]
	]
)

License

MIT © Baptiste Augrain

Package Sidebar

Install

npm i @zokugun/lang.math.matrix

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

7.52 kB

Total Files

4

Last publish

Collaborators

  • daiyam