Description Usage Arguments Value
allows simple operations between matrix and constant vector. column size of x must equal length of y
1 | mat.opperation(x, y, opperation)
|
x |
matrix of column size m, row size n |
y |
vector of length m |
opperation |
opperation to use: +, -, *, / |
returns n by m matrix where values of y are done onto the columns of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.