Create, bind & repeat

m()

A shortcut to create matrix defining rows

v()

A shortcut to create a vertical vector

col_bind() row_bind()

Bind vector, single values and matrices

crep() rrep()

Repeat columns or rows

with_same_dims()

Create new matrix copying dimensions from the existing one

runif_same_dims()

Create matrix of random values with dimensions copied from an existing matrix

runifm()

Create matrix of random values drawn from uniform distribution

rboolm()

Create matrix of random choosen boolean values

zeros()

Create matrix with zeros values only

ones()

Create matrix with ones values only

Get & set elements

set_values() sv()

Set multiple values useing one function call

at() `at<-`()

Set or get matrix value at index vector

antidiag() `antidiag<-`()

Matrix antidiagonals

matrix_idx()

Get available marix indices

seq_matrix()

Return a sequence of pairs (value, index vector)

is_idx_possible()

Is idx possible in given matrix?

Operators

`%m%` `%d%` `%-%` `%+%`

Binary operations on matrices/vectors

Plots

plot_matrix() plot(<matrix>)

Plot a matrix