Open
Description
The tensor algebra compiler supports tensor index notation. Tensor index notation can be used to do linear algebra, but for convenience we ought to have a linear algebra API as well.
This API (linalg.h
) can be built on top of the current functionality (tensor.h
). It should define types (Scalar, Vector, Matrix), facilities for converting between these types and tensors, and the usual linear algebra operations (addition, subtraction, multiplication with scalars, vectors and matrices). The goal is to provide something roughly as convenient as Eigen.
It should also support blocked linear algebra, where the user can define and compute with blocked vectors and matrices (see also #59).