Skip to contents

Wrapper around the diag() function. This function was created because diag() applied to a scalar doesn't spit that scalar back out, but instead returns identity matrix of dimension (scalar * scalar).

Usage

format_weights_row(weights_row)

Arguments

weights_row

Vector (possibly size 1) of weights.