Skip to content
Snippets Groups Projects

Replace SparseMatrixDescriptor by CRSMatrixDescriptor

Merged Stéphane Del Pino requested to merge feature/linear-algebra into develop

The new class is meant to be much faster

  • it requires an estimation of the number values per row
  • if the number of stored values per line exceeds the reserved one, an a special storage zone (per row) is used.

It is important to give a precise estimation of the number of values per rows:

  • if the provided expected number of values is too small with regard to the real number of values stored for a given row, then building performances can be noticeably affected
  • if the provided expected number of values per row corresponds exactly to the effective number of stored values, then the construction of the CRSMatrix costs nothing.

In the later case, one benefits from a significant CPU and memory costs reduction.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading