[][src]Function jamml::initializers::column_mat

pub fn column_mat<T: NumAssign + Copy>(v: &Vec<T>) -> Mat<T>

Creates a matrix for a column vector from &Vec v

Essensialt we take each element in the input vector and put it into its own vector, before stringing them together.

             [[a]
[a, b, c] ->  [b]
              [c]]