We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
p.set
1 parent f156a02 commit 4a26b06Copy full SHA for 4a26b06
1 file changed
examples/matrices.js
@@ -60,7 +60,7 @@ console.log()
60
// this will mutate the matrix
61
console.log('set and get a value')
62
const p = math.matrix([[1, 2], [3, 4]])
63
-p.set([0, 10], 5)
+p.set([0, 1], 5)
64
print(p) // [[1, 5], [3, 4]]
65
const p21 = p.get([1, 0])
66
print(p21) // 3
0 commit comments