Skip to content

Commit fb5fbab

Browse files
committed
minor fix before publishing 0.1.1
1 parent a3dd45a commit fb5fbab

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
*#
22
node_modules
3-
ssl
43
.DS_STORE
54
*.swo
65
*.swp

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
QuantLib [![npm version](https://badge.fury.io/js/quantlib.svg)](http://badge.fury.io/js/quantlib)
1+
quantlib [![npm version](https://badge.fury.io/js/quantlib.svg)](http://badge.fury.io/js/quantlib)
22
========
33

44
QuantLib ASYNC Bindings for Node.js
55

6-
Usage
7-
-----
6+
Getting started
7+
---------------
88

99
```sh
1010
npm install quantlib
@@ -19,7 +19,7 @@ var ql = require('quantlib');
1919
var mtx1 =
2020
[
2121
[1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940, 0.87040, 0.85230, 0.83520, 0.81880],
22-
[0.97560, 1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940, 0.87040, 0.85230, 0.83520],
22+
[0.97560, 1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940, 0.87040, 0.85230, 0.83520],
2323
[0.95240, 0.97560, 1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940, 0.87040, 0.85230],
2424
[0.93040, 0.95240, 0.97560, 1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940, 0.87040],
2525
[0.90940, 0.93040, 0.95240, 0.97560, 1.00000, 0.97560, 0.95240, 0.93040, 0.90940, 0.88940],
@@ -36,12 +36,22 @@ ql.SymmetricSchurDecomposition('mtx#1',mtx1).then(function(obj){
3636
console.log(r);
3737
});
3838

39-
ql.SymmetricSchurDecompositionEigenvectors(obj).then(function(r){
40-
console.log(r);
41-
});
42-
4339
}).catch(function(e){
4440
console.log(e);
4541
});
4642

4743
```
44+
45+
```sh
46+
>
47+
[ 9.270906840163782,
48+
0.4207173234885105,
49+
0.12674770658244172,
50+
0.059239731356788505,
51+
0.03595303870722261,
52+
0.024956978505270924,
53+
0.019117669503864024,
54+
0.01580103250921176,
55+
0.01377474504269164,
56+
0.012784934140218302 ]
57+
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quantlib",
33
"description": "QuantLib Asyn Bindings for Node.js",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"keywords": [
66
"QuantLib",
77
"native"

0 commit comments

Comments
 (0)