BLAS
Basic linear algebra subroutines (BLAS).
Installation
$ npm install blas
Usage
var blas = ;
blas
Basic linear algebra subroutines.
Level 1
Examples
var blas = ;var rand;var sign;var x;var y;var i;x = 100 ;for i = 0; i < xlength; i++rand = Math;sign = Math;if sign < 05sign = -10;elsesign = 10;x i = sign * rand;console;x = 10 ;y = 10 ;for i = 0; i < xlength; i++x i = Math;y i = Math;console;console;// Copy elements from `x` into `y` starting from the end of `y`:blas;console;
To run the example code from the top-level application directory,
$ node ./examples/index.js
Tests
Unit
This repository uses tape for unit tests. To run the tests, execute the following command in the top-level application directory:
$ make test
All new feature development should have corresponding unit tests to validate correct functionality.
Test Coverage
This repository uses Istanbul as its code coverage tool. To generate a test coverage report, execute the following command in the top-level application directory:
$ make test-cov
Istanbul creates a ./reports/coverage
directory. To access an HTML version of the report,
$ make view-cov
Contributing
To contribute, see stdlib (the monorepo in which development takes place).
License
See LICENSE.
Copyright
Copyright © 2016-2018. The Stdlib Authors.