-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
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
IXXXXResultfor decompositions (other algorithms can return the result type directly - Use
nullfor 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....