Hi,

Could someone give me a few specific examples on how the `to_matrix`

function works with respect to the following features? Thanks.

`matrix`

`to_matrix`

`(matrix m, int m, int n)`

Convert a matrix m to a matrix with m rows and n columns filled in column-major order.

`matrix`

`to_matrix`

`(vector v, int m, int n)`

Convert a vector v to a matrix with m rows and n columns filled in column-major order.

`matrix`

`to_matrix`

`(matrix m, int m, int n, int col_major)`

Convert a matrix m to a matrix with m rows and n columns filled in row-major order if col_major equals 0 (otherwise, they get filled in column-major order).

`matrix`

`to_matrix`

`(vector v, int m, int n, int col_major)`

Convert a vector v to a matrix with m rows and n columns filled in row-major order if col_major equals 0 (otherwise, they get filled in column-major order).