Template Function lupnt::RootMeanSquare

Function Documentation

template<typename T>
T::Scalar lupnt::RootMeanSquare(const DenseBase<T> &x)

Root-mean-square value of a vector/array: sqrt(sum(x.^2) / numel(x)).

Used by filters/filter_print.cc to summarize per-component estimation-error statistics (alongside Std and Percentile) when printing filter results.

Parameters:

x – Input vector/array

Returns:

Root-mean-square value of x