1.2.0 • Published 9 years ago
@aureooms/js-complex v1.2.0
js-complex
Complex numbers code bricks for JavaScript.
let kernel = complex.cartesian.kernel.compile( number , "i" ) ;
let { add , sub , mul , div } = complex.cartesian.array.compile( kernel ) ;Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
Install
jspm
jspm install github:aureooms/js-complex
# or
jspm install npm:@aureooms/js-complexduo
No install step needed for duo!
component
component install aureooms/js-complexbower
bower install @aureooms/js-complexender
ender add @aureooms/js-complexjam
jam install @aureooms/js-complexspm
spm install @aureooms/js-complex --savenpm
npm install @aureooms/js-complex --saveRequire
jspm
let complex = require( "github:aureooms/js-complex" ) ;
// or
import complex from '@aureooms/js-complex' ;duo
let complex = require( "aureooms/js-complex" ) ;component, ender, spm, npm
let complex = require( "@aureooms/js-complex" ) ;bower
The script tag exposes the global variable complex.
<script src="bower_components/@aureooms/js-complex/js/dist/complex.min.js"></script>Alternatively, you can use any tool mentioned here.
jam
require( [ "@aureooms/js-complex" ] , function ( complex ) { ... } ) ;1.2.0
9 years ago