mathjs get element from matrix code example
Example: mathjs get element from matrix
M.get([0,0])
// Both methods work. Above is preferred
M.subset(math.index(1, 2));
M.get([0,0])
// Both methods work. Above is preferred
M.subset(math.index(1, 2));