|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRKALGS_ALSYMMAT_H
6 #define TRKALGS_ALSYMMAT_H
25 class AlSymMat :
public AlSymMatBase {
48 virtual AlVec
operator*(
const AlVec&)
const;
49 virtual AlMat
operator*(
const AlMat&)
const;
54 virtual void reSize(
long int Nnew)
override final;
55 virtual double&
elemr(
long int,
long int)
override final;
56 virtual double elemc(
long int,
long int)
const override final;
58 virtual int invert() override final;
68 virtual
int diagonalize(
char jobz, AlVec&
w, AlMat&
z) override final;
81 inline
long int elem(
long int,
long int)
const;
98 if(
i<0 ) {
throw std::out_of_range(
"AlSymMat::elem: Index 1 < zero! " ); };
99 if(
i>=
size() ) {
throw std::out_of_range(
"AlSymMat::elem: Index 1 too large! " ); };
100 if( j<0 ) {
throw std::out_of_range(
"AlSymMat::elem: Index 2 < zero! " ); };
101 if( j>=
size() ) {
throw std::out_of_range(
"AlSymMat::elem: Index 2 too large! " ); };
104 return ((
i+1)*
i/2+j);
107 return ((j+1)*j/2+
i);
129 #endif // TRKALGS_ALSYMMAT_H
virtual void RemoveAlignPar(int, int) override final
@ z
global position (cartesian)
virtual AlSymMat operator+(const AlSymMat &) const
virtual StatusCode Write(const std::string &, bool, bool, double, float) override final
virtual AlSymMat & operator+=(const AlSymMat &)
long int elem(long int, long int) const
bool const RAWDATA *ch2 const
virtual int invert() override final
virtual void SetPathBin(const std::string &) override final
virtual AlSymMat & operator*=(const double &)
const double * ptrData() const
class TMatrixTSparse< double > TMatrixDSparse
virtual void SetPathTxt(const std::string &) override final
AlSymMat & operator=(const AlSpaMat &)
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual void RemoveModule(int) override final
virtual StatusCode Read(const std::string &, int &, bool &, float &) override final
const std::string & pathTxt() const
virtual double elemc(long int, long int) const override final
virtual TMatrixDSparse * makeTMatrix() override final
Ensure that the ATLAS eigen extensions are properly loaded.
void copy(const AlSymMat &m)
virtual StatusCode ReadProjected(const std::string &, int &, bool &, float &) override final
virtual int diagonalize(char jobz, AlVec &w, AlMat &z) override final
virtual int RemoveCollsRows(std::vector< int >) override final
const std::string & pathBin() const
virtual void reSize(long int Nnew) override final
virtual AlMat operator*(const AlSymMat &) const
virtual AlSymMat operator-(const AlSymMat &) const
virtual double determinant() override final
virtual StatusCode CheckMatVersion(const std::string &, bool &) override final
virtual double & elemr(long int, long int) override final
virtual AlSymMat & operator-=(const AlSymMat &)