Skip to content

Space/time optimization #33

@armcknight

Description

@armcknight

Spacial optimizations

Convert internal value array to most space-efficient representation:

  • On lazily computing properties
  • isSymmetric
  • triangularComponent
  • bandwidth/isDiagonal (when those are implemented)
  • When creating a new matrix

Time optimizations

  • When creating a matrix, compute all possible representations (triangular, symmetric, band, leading dimensions) for use by different algorithms or inspection @properties (e.g. immediate return of asking for the conventional column-major representation of a matrix created from row-major packed triangular representation)

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