View source: R/row_operations.R
row_multiply | R Documentation |
Multiply one row by a scalar
row_multiply(A, row, a)
A |
The matrix of which to multiply one row |
row |
The row to be modified |
a |
The number to multiply by |
The matrix A where row1 is added to a times row 2
A <- diag(3) row_multiply(A, 2, -2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.