eckit/maths/MatrixLapack.h file

Do not include this file directly. Rather include "eckit/maths/Matrix.h" instead.

This file implements classes

  • RowVector
  • ColVector
  • Matrix

These classes follow Eigen's naming of functions, and could be used as a drop-in replacement, depending on compilation choices

The reasoning is that some compilers (e.g. CRAY) have problems compiling Eigen.

Where possible, BLAS and LAPACK implementations are used, in case BLAS or LAPACK have been found.

Namespaces

namespace eckit
namespace eckit::maths

Classes

template<typename Scalar, typename Index = std::ptrdiff_t>
class eckit::maths::Matrix
Matrix class, with internal Column-Major storage ordering.
template<typename Scalar, typename Index = std::ptrdiff_t>
class eckit::maths::RowVector
Row-Vector class.
template<typename Scalar, typename Index = std::ptrdiff_t>
class eckit::maths::ColVector
Column-Vector class.

Defines

#define UNARY_OPERATOR_Scalar(OP)