Skip to content

get jacobian and hessian not only row by row #2

@eweca-d

Description

@eweca-d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions