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

Namespace of num_collect source codes. More...

Namespaces

namespace  auto_diff
 Namespace of automatic differentiation.
 
namespace  base
 Namespace of definitions common in this project.
 
namespace  concepts
 Namespace of C++ concepts.
 
namespace  constants
 Namespace of constexpr variables and functions.
 
namespace  functions
 Namespace of special functions.
 
namespace  impl
 Namespace of internal implementations.
 
namespace  integration
 Namespace of numerical integration.
 
namespace  linear
 Namespace of solvers of linear equations.
 
namespace  logging
 Namespace of logging.
 
namespace  multi_double
 Namespace of multiple precision numbers with double numbers.
 
namespace  numbers
 Namespace of classes of numbers.
 
namespace  ode
 Namespace of solvers of ordinary differential equations (ODE).
 
namespace  opt
 Namespace of optimization algorithms.
 
namespace  rbf
 Namespace of RBF interpolation.
 
namespace  regularization
 Namespace of regularization algorithms.
 
namespace  roots
 Namespace of root-finding algorithms.
 
namespace  util
 Namespace of utilities.
 

Classes

class  algorithm_failure
 Class of exception on failure in algorithm. More...
 
class  assertion_failure
 Class of exception on assertion failure. More...
 
class  file_error
 Class of exception on errors in files. More...
 
class  invalid_argument
 Class of exception on invalid arguments. More...
 
class  is_eigen_matrix
 Class to check whether a type is a Eigen's matrix. More...
 
class  is_eigen_matrix< Eigen::Matrix< Scalar, Rows, Cols, Options, MaxRows, MaxCols > >
 Class to check whether a type is a Eigen's matrix. More...
 
class  is_eigen_vector
 Class to check whether a type is a Eigen's vector. More...
 
class  is_eigen_vector< Eigen::Matrix< Scalar, Rows, 1, Options, MaxRows, MaxCols > >
 Class to check whether a type is a Eigen's vector. More...
 
class  iterative_solver_base
 Base class of iterative solvers. More...
 
class  num_collect_exception
 Class of exception in this project. More...
 
class  precondition_not_satisfied
 Class of exception on not satisfying a precondition. More...
 

Typedefs

using index_type = std::ptrdiff_t
 Type of indices in this library.
 

Functions

template<concepts::dense_matrix Matrix>
auto get_size (const Matrix &matrix) -> index_type
 Get the size.
 
template<concepts::real_scalar T>
auto get_size (const std::complex< T > &val) -> index_type
 Get the size.
 
template<concepts::real_scalar T>
auto get_size (const T &val) -> index_type
 Get the size.
 
template<concepts::real_scalar T>
auto isfinite (const std::complex< T > &val) -> bool
 Check whether a number is finite.
 
template<concepts::real_scalar T>
auto isfinite (const T &val) -> bool
 Check whether a number is finite.
 
template<concepts::dense_matrix Matrix>
auto norm (const Matrix &matrix)
 Calculate norm of a matrix.
 
template<concepts::real_scalar T>
auto norm (const std::complex< T > &val) -> T
 Calculate the absolute value of a complex number.
 
template<concepts::real_scalar T>
auto norm (const T &val) -> T
 Calculate the absolute value of a number.
 

Variables

template<typename Type >
constexpr bool is_eigen_matrix_v = is_eigen_matrix<Type>::value
 Get whether a type is a Eigen's matrix.
 
template<typename Type >
constexpr bool is_eigen_vector_v = is_eigen_vector<Type>::value
 Get whether a type is a Eigen's vector.
 

Detailed Description

Namespace of num_collect source codes.

Variable Documentation

◆ is_eigen_matrix_v

template<typename Type >
bool num_collect::is_eigen_matrix_v = is_eigen_matrix<Type>::value
constexpr

Get whether a type is a Eigen's matrix.

Template Parameters
TypeType to be checked.

Definition at line 53 of file is_eigen_matrix.h.

◆ is_eigen_vector_v

template<typename Type >
bool num_collect::is_eigen_vector_v = is_eigen_vector<Type>::value
constexpr

Get whether a type is a Eigen's vector.

Template Parameters
TypeType to be checked.

Definition at line 51 of file is_eigen_vector.h.