Skip to content

Commit 593f378

Browse files
committed
rebuilt doc
1 parent df9a237 commit 593f378

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/doc.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"column": 0
3333
},
3434
"end": {
35-
"line": 60,
35+
"line": 65,
3636
"column": 1
3737
}
3838
},
@@ -237,7 +237,7 @@
237237
},
238238
{
239239
"title": "example",
240-
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]);\nconst lu = eig.Decompositions.lu(M);\nconst I = eig.Matrix.identity(3, 3);\nconst M2 = lu.P.inverse().matMul(lu.L.matAdd(I)).matMul(lu.U).matMul(lu.Q.inverse());\nreturn { ...lu, M2 };",
240+
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]);\nconst lu = eig.Decompositions.lu(M);\n// Reconstruct M from its LU decomposition\nconst I = eig.Matrix.identity(3, 3);\nconst M2 = lu.P.inverse().matMul(lu.L.matAdd(I)).matMul(lu.U).matMul(lu.Q.inverse());\nreturn { ...lu, M2 };",
241241
"lineNumber": 6
242242
}
243243
],
@@ -247,18 +247,18 @@
247247
"column": 2
248248
},
249249
"end": {
250-
"line": 31,
250+
"line": 32,
251251
"column": 5
252252
}
253253
},
254254
"context": {
255255
"loc": {
256256
"start": {
257-
"line": 32,
257+
"line": 33,
258258
"column": 2
259259
},
260260
"end": {
261-
"line": 32,
261+
"line": 33,
262262
"column": 18
263263
}
264264
},
@@ -267,7 +267,7 @@
267267
"augments": [],
268268
"examples": [
269269
{
270-
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]);\nconst lu = eig.Decompositions.lu(M);\nconst I = eig.Matrix.identity(3, 3);\nconst M2 = lu.P.inverse().matMul(lu.L.matAdd(I)).matMul(lu.U).matMul(lu.Q.inverse());\nreturn { ...lu, M2 };"
270+
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]]);\nconst lu = eig.Decompositions.lu(M);\n// Reconstruct M from its LU decomposition\nconst I = eig.Matrix.identity(3, 3);\nconst M2 = lu.P.inverse().matMul(lu.L.matAdd(I)).matMul(lu.U).matMul(lu.Q.inverse());\nreturn { ...lu, M2 };"
271271
}
272272
],
273273
"implements": [],
@@ -377,22 +377,22 @@
377377
],
378378
"loc": {
379379
"start": {
380-
"line": 34,
380+
"line": 35,
381381
"column": 2
382382
},
383383
"end": {
384-
"line": 43,
384+
"line": 44,
385385
"column": 5
386386
}
387387
},
388388
"context": {
389389
"loc": {
390390
"start": {
391-
"line": 44,
391+
"line": 45,
392392
"column": 2
393393
},
394394
"end": {
395-
"line": 44,
395+
"line": 45,
396396
"column": 18
397397
}
398398
},
@@ -515,28 +515,28 @@
515515
},
516516
{
517517
"title": "example",
518-
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6]]);\nconst svd = eig.Decompositions.svd(M, true);\nreturn svd;",
518+
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6]]);\nconst svd = eig.Decompositions.svd(M, true);\n// Reconstruct M from its SVD decomposition\nlet sigma = new eig.Matrix(svd.U.cols(), svd.V.cols());\nsigma.setBlock(0, 0, eig.Matrix.diagonal(svd.sv));\nconst M2 = svd.U.matMul(sigma.transpose()).matMul(svd.V.transpose());\nreturn {...svd, M2}",
519519
"lineNumber": 8
520520
}
521521
],
522522
"loc": {
523523
"start": {
524-
"line": 46,
524+
"line": 47,
525525
"column": 2
526526
},
527527
"end": {
528-
"line": 58,
528+
"line": 63,
529529
"column": 5
530530
}
531531
},
532532
"context": {
533533
"loc": {
534534
"start": {
535-
"line": 59,
535+
"line": 64,
536536
"column": 2
537537
},
538538
"end": {
539-
"line": 59,
539+
"line": 64,
540540
"column": 25
541541
}
542542
},
@@ -545,7 +545,7 @@
545545
"augments": [],
546546
"examples": [
547547
{
548-
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6]]);\nconst svd = eig.Decompositions.svd(M, true);\nreturn svd;"
548+
"description": "const M = new eig.Matrix([[1, 2, 3], [4, 5, 6]]);\nconst svd = eig.Decompositions.svd(M, true);\n// Reconstruct M from its SVD decomposition\nlet sigma = new eig.Matrix(svd.U.cols(), svd.V.cols());\nsigma.setBlock(0, 0, eig.Matrix.diagonal(svd.sv));\nconst M2 = svd.U.matMul(sigma.transpose()).matMul(svd.V.transpose());\nreturn {...svd, M2}"
549549
}
550550
],
551551
"implements": [],

0 commit comments

Comments
 (0)