I am using this crate to do curve fitting with 'nalgebra' that is an algebra crate. For all I know, most algebra library tends to use column-major matrix and store matrix in a vec storage. Hence, I think it is better to provide new api or pass the paramter to control the output matrix shape to be:
- row-major:
[[T; ncols]; nrows]
- column-major:
[[T; nrows]; ncols]
- contiguous column by column:
[T; nrows * ncols] => default for many crates
- contiguous row by row:
[T; nrows * ncols]
Thank you for your great job. It works very well in my crate right now.
I am using this crate to do curve fitting with 'nalgebra' that is an algebra crate. For all I know, most algebra library tends to use column-major matrix and store matrix in a vec storage. Hence, I think it is better to provide new api or pass the paramter to control the output matrix shape to be:
[[T; ncols]; nrows][[T; nrows]; ncols][T; nrows * ncols]=> default for many crates[T; nrows * ncols]Thank you for your great job. It works very well in my crate right now.