MCPcopy Create free account
hub / github.com/TUC-ProAut/libRSF / getStdDevDiagonal

Method getStdDevDiagonal

src/Data.cpp:92–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 Vector Data::getStdDevDiagonal() const
93 {
94 if (this->checkElement(DataElement::Covariance))
95 {
96 return this->getCovarianceMatrix().diagonal().cwiseSqrt();
97 }
98 else if (this->checkElement(DataElement::CovarianceDiagonal))
99 {
100 return this->getCovarianceDiagonal().cwiseSqrt();
101 }
102 else
103 {
104 PRINT_ERROR("Data has no covariance element!");
105 return Vector();
106 }
107 }
108
109 double* Data::getMeanPointer()
110 {

Callers 7

CreateGraphAndSolveFunction · 0.80
CreateGraphAndSolveFunction · 0.80
InitGraphFunction · 0.80
AddRangeMeasurements2DFunction · 0.80
mainFunction · 0.80

Calls 3

getCovarianceMatrixMethod · 0.95
getCovarianceDiagonalMethod · 0.95
checkElementMethod · 0.45

Tested by

no test coverage detected