Skip to content

Linear Algebra library #643

Description

@pcarruscag

Hi Folks,

I would like to collect the views of the community about something (and I apologize if this has been debated already).

Context:
Once again I find myself working on a feature that will require a bit of dense algebra.
I think implementing (i.e. paraphrasing from Numerical Recipes...) that kind of routine is a waste of time because someone has done already, and they have done it well.
Moreover, we have a very inefficient implementation of small matrix-like objects (arrays of arrays) and associated operations, which also leads to code bloat due to the required allocation / initialization / destruction.

Proposal:
Start using a linear algebra library such as Eigen.
For this particular library:

  • The learning curve is minimal;
  • Their license (MPL2) is less restrictive than SU2's;
  • No link time dependencies (it is all header files);
  • Compatible with AD (everything is templated);
  • I like their logo...

I look forward to hear your opinions on this.

Best regards,
Pedro

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions