tesseract++ 0.0.1
N-dimensional tensor library for embedded systems
Loading...
Searching...
No Matches
Namespaces | Functions
norms.h File Reference

Matrix and vector norms. More...

#include "config.h"
#include "fused/fused_matrix.h"
#include "fused/fused_vector.h"
#include "math/math_utils.h"
Include dependency graph for norms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  matrix_algorithms
 

Functions

template<typename T , my_size_t N>
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>
matrix_algorithms::norm2 (const FusedVector< T, N > &v)
 Compute the Euclidean (2-norm) of a vector: √(Σ vᵢ²).
 

Detailed Description

Matrix and vector norms.

Currently provides:

Future additions: infinity norm, Frobenius norm.