Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
VectorComparison Struct Reference

Detailed Description

Struct holding the results of comparing two floating-point vectors (real-valued or complex), using various different comparison metrics.

Definition at line 64 of file LFTandTSutils.h.

Data Fields

REAL4 relErr_L1
 relative error between vectors using L1 norm \( r_1(x,y) \equiv \frac{|x - y|_1}{0.5(|x|_1 + |y|_1)} \) More...
 
REAL4 relErr_L2
 relative error between vectors using L2 norm \( r_2(x,y) \equiv \frac{|x - y|_2}{0.5(|x|_2 + |y|_2)} \) More...
 
REAL4 angleV
 angle between the two vectors, according to \( \cos\theta = \frac{\Re(x\cdot y^*)}{|x|_2 \, |y|_2} \) More...
 
REAL4 relErr_atMaxAbsx
 single-sample relative error at maximum |sample-value| of first vector 'x' More...
 
REAL4 relErr_atMaxAbsy
 single-sample relative error at maximum |sample-value| of second vector 'x' More...
 

Field Documentation

◆ relErr_L1

REAL4 VectorComparison::relErr_L1

relative error between vectors using L1 norm \( r_1(x,y) \equiv \frac{|x - y|_1}{0.5(|x|_1 + |y|_1)} \)

Definition at line 65 of file LFTandTSutils.h.

◆ relErr_L2

REAL4 VectorComparison::relErr_L2

relative error between vectors using L2 norm \( r_2(x,y) \equiv \frac{|x - y|_2}{0.5(|x|_2 + |y|_2)} \)

Definition at line 66 of file LFTandTSutils.h.

◆ angleV

REAL4 VectorComparison::angleV

angle between the two vectors, according to \( \cos\theta = \frac{\Re(x\cdot y^*)}{|x|_2 \, |y|_2} \)

Definition at line 67 of file LFTandTSutils.h.

◆ relErr_atMaxAbsx

REAL4 VectorComparison::relErr_atMaxAbsx

single-sample relative error at maximum |sample-value| of first vector 'x'

Definition at line 68 of file LFTandTSutils.h.

◆ relErr_atMaxAbsy

REAL4 VectorComparison::relErr_atMaxAbsy

single-sample relative error at maximum |sample-value| of second vector 'x'

Definition at line 69 of file LFTandTSutils.h.