DEV Community

Discussion on: ML Fundamentals in Javascript

Collapse
mrinasugosh profile image
Mrinalini Sugosh (Mrina) Author

Actually, I would even propose taking it a step further and assign columns in a matrix to a new vector:

math.eval(`matA[:, 1] = vectorB`, { matA, vectorB });
Enter fullscreen mode Exit fullscreen mode