|
akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
|
forward declaration for L1 norm More...
#include <vector_norms.hpp>
Public Types | |
| using | domain_type = remove_cvref_t< Vec > |
| using | scalar_type = vector_element_t< domain_type > |
| using | codomain_type = real_type_t< scalar_type > |
Public Member Functions | |
| constexpr codomain_type | operator() (const domain_type &x) const |
forward declaration for L1 norm
compute the L1 norm of a vector
|| X ||_1 or sum_i^N(|x_i|) for all i
| vector | X with N elements of type T |
Definition at line 52 of file vector_norms.hpp.
| using linalg::L1< Vec >::codomain_type = real_type_t<scalar_type> |
Definition at line 55 of file vector_norms.hpp.
| using linalg::L1< Vec >::domain_type = remove_cvref_t<Vec> |
Definition at line 53 of file vector_norms.hpp.
| using linalg::L1< Vec >::scalar_type = vector_element_t<domain_type> |
Definition at line 54 of file vector_norms.hpp.
|
inlineconstexpr |
Definition at line 57 of file vector_norms.hpp.
References linalg::constexpr_abs(), and linalg::mat_rows_v.