Skip to content

Consistent Linear Algebra API #37

@mikera

Description

@mikera

I believe it is worth making a consistent API for linear algebra operations as follows:

  • API classes in the mikera.matrixx.algo.* package
  • Static functions
  • Return an IXXXXResult for decompositions (other algorithms can return the result type directly
  • Use null for failed decompositions (e.g. singular matrices etc.)

This consistent API gives us a few advantages:

  • Users know where to go (it is all in one place)
  • We maintain common conventions
  • We hide implementation details
  • We have the option to upgrade to better implementations without changing the API (and breaking downstream users....)

@prasant94 - does that make sense to you? Think it applies to most of the stuff you are importing....

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions