Skip to content

Remove strong link to armadillo using wrapper functions #6

Description

@m-rest

Use a wrapper and a type definition to externalize the use of Armadillo like:

#ifdef ARMADILLO_WRAPPE
template <typename PrecisionType>
using Matrix = arma::Mat<PrecisionType>;
...
#elif EIGEN_WRAPPER
template <typename PrecisionType>
using Matrix = eigen::Matrix<PrecisionType, eigen::Dynamic, eigen::Dynamic>;
...
#endif
} // namespace wdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions