#include "EventPrimitives/EventPrimitives.h"
#include <cmath>
#include <vector>
Go to the source code of this file.
|
| | Amg |
| | Definition of ATLAS Math & Geometry primitives (Amg)
|
| |
|
| template<int N> |
| bool | Amg::saneVector (const AmgVector(N) &vec) |
| |
| double | Amg::error (const Amg::MatrixX &mat, int index) |
| | return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in range More...
|
| |
| template<int N> |
| double | Amg::error (const AmgSymMatrix(N) &mat, int index) |
| |
| constexpr int | Amg::CalculateCompressedSize (int n) |
| |
| template<int N> |
| void | Amg::compress (const AmgSymMatrix(N) &covMatrix, std::vector< float > &vec) |
| |
| void | Amg::compress (const MatrixX &covMatrix, std::vector< float > &vec) |
| |
| template<int N> |
| void | Amg::expand (std::vector< float >::const_iterator it, std::vector< float >::const_iterator, AmgSymMatrix(N) &covMatrix) |
| |
| void | Amg::expand (std::vector< float >::const_iterator it, std::vector< float >::const_iterator it_end, MatrixX &covMatrix) |
| |
| template<int N> |
| std::pair< int, int > | Amg::compare (const AmgSymMatrix(N) &m1, const AmgSymMatrix(N) &m2, double precision=1e-9, bool relative=false) |
| | compare two matrices, returns the indices of the first element that fails the condition, returns <-1,-1> if all is ok Users can provide the required precision and whether the difference should be evaluate relative to the values or absolutely More...
|
| |
| template<int N> |
| int | Amg::compare (const AmgVector(N) &m1, const AmgVector(N) &m2, double precision=1e-9, bool relative=false) |
| | compare two vectors, returns the indices of the first element that fails the condition, returns <-1,-1> if all is ok Users can provide the required precision and whether the difference should be evaluate relative to the values or absolutely More...
|
| |