numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of norm class. More...
#include <cmath>
#include <complex>
#include "num_collect/base/concepts/dense_matrix.h"
#include "num_collect/base/concepts/real_scalar.h"
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::base |
Namespace of definitions common in this project. | |
Functions | |
template<concepts::dense_matrix Matrix> | |
auto | num_collect::base::norm (const Matrix &matrix) |
Calculate norm of a matrix. | |
template<concepts::real_scalar T> | |
auto | num_collect::base::norm (const std::complex< T > &val) -> T |
Calculate the absolute value of a complex number. | |
template<concepts::real_scalar T> | |
auto | num_collect::base::norm (const T &val) -> T |
Calculate the absolute value of a number. | |
Definition of norm class.
Definition in file norm.h.