R/transforms.R
mat_norm.Rd
Convenience functions for adding or multiplying each row / column of a matrix by a number.
add_rows(mat, vec) add_cols(mat, vec) multiply_rows(mat, vec) multiply_cols(mat, vec)
Matrix-like object
Numeric vector