Provides vector functions.
With node previously installed:
npm install @zokugun/lang.math.vector
Use it with JavaScript
:
require('kaoscript/register');
const { Vector } = require('@zokugun/lang.math.vector')();
Vector.sum([1, 2, 3])
Use it with kaoscript
:
import '@zokugun/lang.math.vector'
Vector.sum([1, 2, 3])
MIT © Baptiste Augrain