#include <alpaqa/util/quadmath/quadmath-print.hpp>
#include <alpaqa/util/quadmath/quadmath.hpp>
#include <complex>
#include <limits>
#include <type_traits>
#include <Eigen/Core>
Go to the source code of this file.
Classes | |
struct | is_config< T > |
struct | is_config< EigenConfigf > |
struct | is_config< EigenConfigd > |
struct | is_config< EigenConfigl > |
struct | is_config< EigenConfigq > |
struct | EigenConfig< RealT > |
struct | EigenConfigf |
Single-precision float configuration. More... | |
struct | EigenConfigd |
Double-precision double configuration. More... | |
struct | EigenConfigl |
long double configuration. More... | |
Namespaces | |
namespace | alpaqa |
namespace | alpaqa::vec_util |
Concepts | |
concept | alpaqa::Config |
Macros | |
#define | USING_ALPAQA_CONFIG_NO_TYPENAME(Conf) |
#define | USING_ALPAQA_CONFIG(Conf) |
#define | USING_ALPAQA_CONFIG_TEMPLATE(Conf) |
#define | ALPAQA_IF_QUADF(...) |
#define | ALPAQA_IF_FLOAT(...) |
#define | ALPAQA_IF_LONGD(...) |
Typedefs | |
using | DefaultConfig = EigenConfigd |
template<Config Conf = DefaultConfig> | |
using | real_t = typename Conf::real_t |
template<Config Conf = DefaultConfig> | |
using | cplx_t = typename Conf::cplx_t |
template<Config Conf = DefaultConfig> | |
using | vec = typename Conf::vec |
template<Config Conf = DefaultConfig> | |
using | mvec = typename Conf::mvec |
template<Config Conf = DefaultConfig> | |
using | cmvec = typename Conf::cmvec |
template<Config Conf = DefaultConfig> | |
using | rvec = typename Conf::rvec |
template<Config Conf = DefaultConfig> | |
using | crvec = typename Conf::crvec |
template<Config Conf = DefaultConfig> | |
using | mat = typename Conf::mat |
template<Config Conf = DefaultConfig> | |
using | mmat = typename Conf::mmat |
template<Config Conf = DefaultConfig> | |
using | cmmat = typename Conf::cmmat |
template<Config Conf = DefaultConfig> | |
using | rmat = typename Conf::rmat |
template<Config Conf = DefaultConfig> | |
using | crmat = typename Conf::crmat |
template<Config Conf = DefaultConfig> | |
using | cmat = typename Conf::cmat |
template<Config Conf = DefaultConfig> | |
using | mcmat = typename Conf::mcmat |
template<Config Conf = DefaultConfig> | |
using | cmcmat = typename Conf::cmcmat |
template<Config Conf = DefaultConfig> | |
using | rcmat = typename Conf::rcmat |
template<Config Conf = DefaultConfig> | |
using | crcmat = typename Conf::crcmat |
template<Config Conf = DefaultConfig> | |
using | length_t = typename Conf::length_t |
template<Config Conf = DefaultConfig> | |
using | index_t = typename Conf::index_t |
template<Config Conf = DefaultConfig> | |
using | indexvec = typename Conf::indexvec |
template<Config Conf = DefaultConfig> | |
using | rindexvec = typename Conf::rindexvec |
template<Config Conf = DefaultConfig> | |
using | crindexvec = typename Conf::crindexvec |
template<Config Conf = DefaultConfig> | |
using | mindexvec = typename Conf::mindexvec |
template<Config Conf = DefaultConfig> | |
using | cmindexvec = typename Conf::cmindexvec |
Functions | |
template<class Derived > requires (Derived::ColsAtCompileTime == 1) | |
auto | norm_inf (const Eigen::MatrixBase< Derived > &v) |
Get the maximum or infinity-norm of the given vector. | |
template<class Derived > requires (Derived::ColsAtCompileTime == 1) | |
auto | norm_1 (const Eigen::MatrixBase< Derived > &v) |
Get the 1-norm of the given vector. | |
Variables | |
template<class T > | |
constexpr bool | is_config_v = is_config<T>::value |
template<Config Conf> | |
constexpr const auto | inf = std::numeric_limits<real_t<Conf>>::infinity() |
template<Config Conf> | |
constexpr const auto | NaN = std::numeric_limits<real_t<Conf>>::quiet_NaN() |
template<Config Conf> | |
const rvec< Conf > | null_vec = mvec<Conf>{nullptr, 0} |
Global empty vector for convenience. | |
template<Config Conf> | |
const rindexvec< Conf > | null_indexvec = mindexvec<Conf>{nullptr, 0} |
Global empty index vector for convenience. | |
struct alpaqa::EigenConfig |
Class Members | ||
---|---|---|
typedef RealT | real_t | Real scalar element type. |
typedef complex< real_t > | cplx_t | Complex scalar element type. |
typedef VectorX< real_t > | vec | Dynamic vector type. |
typedef Map< vec > | mvec | Map of vector type. |
typedef Map< const vec > | cmvec | Immutable map of vector type. |
typedef Ref< vec > | rvec | Reference to mutable vector. |
typedef Ref< const vec > | crvec | Reference to immutable vector. |
typedef MatrixX< real_t > | mat | Dynamic matrix type. |
typedef Map< mat > | mmat | Map of matrix type. |
typedef Map< const mat > | cmmat | Immutable map of matrix type. |
typedef Ref< mat > | rmat | Reference to mutable matrix. |
typedef Ref< const mat > | crmat | Reference to immutable matrix. |
typedef MatrixX< cplx_t > | cmat | Dynamic complex matrix type. |
typedef Map< cmat > | mcmat | Map of complex matrix type. |
typedef Map< const cmat > | cmcmat | Immutable map of complex matrix type. |
typedef Ref< cmat > | rcmat | Reference to mutable complex matrix. |
typedef Ref< const cmat > | crcmat | Reference to immutable complex matrix. |
typedef Index | length_t | Type for lengths and sizes. |
typedef Index | index_t | Type for vector and matrix indices. |
typedef VectorX< index_t > | indexvec | Dynamic vector of indices. |
typedef Ref< indexvec > | rindexvec | Reference to mutable index vector. |
typedef Ref< const indexvec > | crindexvec | Reference to immutable index vector. |
typedef Map< indexvec > | mindexvec | Map of index vector type. |
typedef Map< const indexvec > | cmindexvec | Immutable map of index vector type. |
#define USING_ALPAQA_CONFIG_NO_TYPENAME | ( | Conf | ) |
Definition at line 37 of file config.hpp.
#define USING_ALPAQA_CONFIG | ( | Conf | ) |
Definition at line 63 of file config.hpp.
#define USING_ALPAQA_CONFIG_TEMPLATE | ( | Conf | ) |
Definition at line 67 of file config.hpp.
#define ALPAQA_IF_QUADF | ( | ... | ) |
Definition at line 207 of file config.hpp.
#define ALPAQA_IF_FLOAT | ( | ... | ) |
Definition at line 213 of file config.hpp.
#define ALPAQA_IF_LONGD | ( | ... | ) |
Definition at line 219 of file config.hpp.