numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
norm.h File Reference

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"
+ Include dependency graph for norm.h:
+ This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Definition of norm class.

Definition in file norm.h.