|
tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
|
Matrix and vector norms. More...
#include "config.h"#include "fused/fused_matrix.h"#include "fused/fused_vector.h"#include "math/math_utils.h"

Go to the source code of this file.
Namespaces | |
| namespace | matrix_algorithms |
Functions | |
| template<typename T , my_size_t N> | |
| T | matrix_algorithms::norm1 (const FusedMatrix< T, N, N > &A) |
| Compute the 1-norm of a square matrix: max absolute column sum. | |
| template<typename T , my_size_t N> | |
| T | matrix_algorithms::norm2 (const FusedVector< T, N > &v) |
| Compute the Euclidean (2-norm) of a vector: √(Σ vᵢ²). | |
Matrix and vector norms.
Currently provides:
Future additions: infinity norm, Frobenius norm.