File tree Expand file tree Collapse file tree 6 files changed +174
-2
lines changed
lib/node_modules/@stdlib/blas Expand file tree Collapse file tree 6 files changed +174
-2
lines changed Original file line number Diff line number Diff line change 1+ # BLAS
2+
3+ > Standard library basic linear algebra subroutines (BLAS).
4+
5+ <section class =" usage " >
6+
7+ ## Usage
8+
9+ ``` javascript
10+ var blas = require ( ' @stdlib/blas' );
11+ ```
12+
13+ #### blas
14+
15+ Standard library basic linear algebra subroutines (BLAS).
16+
17+ ``` javascript
18+ var o = blas;
19+ // returns {...}
20+ ```
21+
22+ </section >
23+
24+ <!-- /.usage -->
25+
26+ <section class =" examples " >
27+
28+ ## Examples
29+
30+ <!-- TODO: better examples -->
31+
32+ ``` javascript
33+ var getKeys = require ( ' object-keys' ).shim ();
34+ var blas = require ( ' @stdlib/blas' );
35+
36+ console .log ( getKeys ( blas ) );
37+ ```
38+
39+ </section >
40+
41+ <!-- /.examples -->
42+
43+ <section class =" links " >
44+
45+ </section >
46+
47+ <!-- /.links -->
Original file line number Diff line number Diff line change 11# BLAS
22
3- > Standard library basic linear algebra subroutines (BLAS).
3+ > Standard library base basic linear algebra subroutines (BLAS).
44
55<section class =" usage " >
66
@@ -12,7 +12,7 @@ var blas = require( '@stdlib/blas/base' );
1212
1313#### blas
1414
15- Standard library basic linear algebra subroutines (BLAS).
15+ Standard library base basic linear algebra subroutines (BLAS).
1616
1717``` javascript
1818var o = blas;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ var getKeys = require ( 'object-keys' ) . shim ( ) ;
4+ var ns = require ( './../lib' ) ;
5+
6+ console . log ( getKeys ( ns ) ) ;
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ /*
4+ * When adding modules to the namespace, ensure that they are added in alphabetical order according to module name.
5+ */
6+
7+ // MODULES //
8+
9+ var setReadOnly = require ( '@stdlib/utils/define-read-only-property' ) ;
10+
11+
12+ // MAIN //
13+
14+ /**
15+ * Top-level namespace.
16+ *
17+ * @namespace ns
18+ */
19+ var ns = { } ;
20+
21+ /**
22+ * @name base
23+ * @memberof ns
24+ * @readonly
25+ * @type {Namespace }
26+ * @see {@link module:@stdlib/blas/base }
27+ */
28+ setReadOnly ( ns , 'base' , require ( '@stdlib/blas/base' ) ) ;
29+
30+
31+ // EXPORTS //
32+
33+ module . exports = ns ;
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @stdlib/blas/base" ,
3+ "version" : " 0.0.0" ,
4+ "description" : " Standard library base BLAS." ,
5+ "license" : " Apache-2.0" ,
6+ "author" : {
7+ "name" : " The Stdlib Authors" ,
8+ "url" : " https://github.com/stdlib-js/stdlib/graphs/contributors"
9+ },
10+ "contributors" : [
11+ {
12+ "name" : " The Stdlib Authors" ,
13+ "url" : " https://github.com/stdlib-js/stdlib/graphs/contributors"
14+ }
15+ ],
16+ "main" : " ./lib" ,
17+ "directories" : {
18+ "example" : " ./examples" ,
19+ "lib" : " ./lib" ,
20+ "test" : " ./test"
21+ },
22+ "scripts" : {},
23+ "homepage" : " https://github.com/stdlib-js/stdlib" ,
24+ "repository" : {
25+ "type" : " git" ,
26+ "url" : " git://github.com/stdlib-js/stdlib.git"
27+ },
28+ "bugs" : {
29+ "url" : " https://github.com/stdlib-js/stdlib/issues"
30+ },
31+ "dependencies" : {},
32+ "devDependencies" : {},
33+ "engines" : {
34+ "node" : " >=0.10.0" ,
35+ "npm" : " >2.7.0"
36+ },
37+ "os" : [
38+ " aix" ,
39+ " darwin" ,
40+ " freebsd" ,
41+ " linux" ,
42+ " macos" ,
43+ " openbsd" ,
44+ " sunos" ,
45+ " win32" ,
46+ " windows"
47+ ],
48+ "keywords" : [
49+ " stdlib" ,
50+ " stdmath" ,
51+ " stdblas" ,
52+ " standard" ,
53+ " library" ,
54+ " std" ,
55+ " lib" ,
56+ " mathematics" ,
57+ " math" ,
58+ " blas" ,
59+ " linear" ,
60+ " algebra" ,
61+ " linalg" ,
62+ " base"
63+ ]
64+ }
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ // MODULES //
4+
5+ var tape = require ( 'tape' ) ;
6+ var getKeys = require ( 'object-keys' ) . shim ( ) ;
7+ var ns = require ( './../lib' ) ;
8+
9+
10+ // TESTS //
11+
12+ tape ( 'main export is an object' , function test ( t ) {
13+ t . ok ( true , __filename ) ;
14+ t . equal ( typeof ns , 'object' , 'main export is an object' ) ;
15+ t . end ( ) ;
16+ } ) ;
17+
18+ tape ( 'the exported object contains key-value pairs' , function test ( t ) {
19+ var keys = getKeys ( ns ) ;
20+ t . equal ( keys . length > 0 , true , 'has keys' ) ;
21+ t . end ( ) ;
22+ } ) ;
You can’t perform that action at this time.
0 commit comments