numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::base::concepts Namespace Reference

Namespace of C++ concepts. More...

Namespaces

namespace  impl
 Namespace of internal implementations.
 

Classes

struct  is_integral
 Class to check whether a type is an integer. More...
 
struct  is_invocable_as
 Check whether the given function is invocable as a function with the given signature. More...
 
struct  is_invocable_as< Func, Result(Args...)>
 Check whether the given function is invocable as a function with the given signature. More...
 
struct  is_real_scalar
 Class to check whether a type is a real scalar (a floating-point value or a type compatible with floating-point values). More...
 
struct  is_signed
 Class to check whether a type is signed. More...
 
struct  is_sparse_matrix
 Check whether a type is a sparse matrix. More...
 
struct  is_sparse_matrix< Eigen::SparseMatrix< Scalar, Options, StorageIndex > >
 Check whether a type is a sparse matrix. More...
 

Concepts

concept  assertion_condition
 Concept of types usable as conditions in assertions.
 
concept  const_reference_of
 Concept of constant references.
 
concept  convertible_to
 Concept of types convertible from the given type.
 
concept  decayed_to
 Concept of same types.
 
concept  dense_matrix
 Concept of Eigen's dense matrices.
 
concept  dense_matrix_of
 Concept of Eigen's dense matrices with scalars of the given type.
 
concept  dense_vector
 Concept of Eigen's dense vectors.
 
concept  dense_vector_of
 Concept of Eigen's dense vectors with scalars of the given type.
 
concept  eigen_solver_of
 Concept of Eigen's solvers of linear equations.
 
concept  formattable
 Concept of types formattable using fmt library.
 
concept  implicitly_convertible_to
 Concept of types implicitly convertible from the given type.
 
concept  integral
 Concept of integers.
 
concept  invocable
 Concept of functions invocable with given arguments.
 
concept  invocable_as
 Concept of functions invocable as a function with the given signature.
 
concept  iterative_solver
 Concept of iterative solvers.
 
concept  real_scalar
 Concept of real scalars.
 
concept  real_scalar_dense_matrix
 Concept of Eigen's dense matrices with real scalars.
 
concept  real_scalar_dense_vector
 Concept of Eigen's dense vectors with real scalars.
 
concept  real_scalar_sparse_matrix
 Concept of Eigen's sparse matrices with real scalars.
 
concept  reference_of
 Concept of references.
 
concept  same_as
 Concept of same types.
 
concept  signed_integral
 Concept of signed integers.
 
concept  sparse_matrix
 Concept of sparse matrices.
 
concept  sparse_matrix_of
 Concept of Eigen's sparse matrices with scalars of the given type.
 

Variables

template<typename T >
constexpr bool is_integral_v = is_integral<T>::value
 Get whether a type is an integer.
 
template<typename Func , typename Signature >
constexpr bool is_invocable_as_v = is_invocable_as<Func, Signature>::value
 Check whether the given function is invocable as a function with the given signature.
 
template<typename T >
constexpr bool is_real_scalar_v = is_real_scalar<T>::value
 Get whether a type is a real scalar or a type compatible with real scalars.
 
template<typename T >
constexpr bool is_signed_v = is_signed<T>::value
 Get whether a type is signed.
 
template<typename T >
constexpr bool is_sparse_matrix_v = is_sparse_matrix<T>::value
 Check whether a type is a sparse matrix.
 

Detailed Description

Namespace of C++ concepts.

Variable Documentation

◆ is_integral_v

template<typename T >
bool num_collect::base::concepts::is_integral_v = is_integral<T>::value
constexpr

Get whether a type is an integer.

Template Parameters
TType to be checked.

Definition at line 45 of file integral.h.

◆ is_invocable_as_v

template<typename Func , typename Signature >
bool num_collect::base::concepts::is_invocable_as_v = is_invocable_as<Func, Signature>::value
constexpr

Check whether the given function is invocable as a function with the given signature.

Template Parameters
FuncType of the function.
SignatureType of the function signature.

Definition at line 85 of file invocable_as.h.

◆ is_real_scalar_v

template<typename T >
bool num_collect::base::concepts::is_real_scalar_v = is_real_scalar<T>::value
constexpr

Get whether a type is a real scalar or a type compatible with real scalars.

Template Parameters
TType to be checked.

Definition at line 47 of file real_scalar.h.

◆ is_signed_v

template<typename T >
bool num_collect::base::concepts::is_signed_v = is_signed<T>::value
constexpr

Get whether a type is signed.

Template Parameters
TType to be checked.

Definition at line 47 of file signed_integral.h.

◆ is_sparse_matrix_v

template<typename T >
bool num_collect::base::concepts::is_sparse_matrix_v = is_sparse_matrix<T>::value
constexpr

Check whether a type is a sparse matrix.

Template Parameters
TType.

Definition at line 55 of file sparse_matrix.h.