linalg-rs/rlst

Dense matrix utilities and cleanup

Closed this issue · 1 comments

Over the course of working on #7 I encountered a need and lack of several utilities, which I list here as improvements I would like to make before completing that PR:

  • matrix comparison
  • copy/clone matrices
  • transpose/conjugate matrix
  • display/debug trait
  • create unit matrix
  • delete unused layouts
  • make it easier to create simple row major / column major layout and matrices
  • make it easier to create a matrix from a data array (possibly fixed by the above)

Quick comments from Timo:

  • for element-element comparison would be easiest to use column major iterator
  • need to implement norm and norm2 traits, determinants etc.