55 inline const double &
operator()(
int row)
const;
60 inline const double &
operator[](
int row)
const;
65 virtual const double &
operator()(
int row,
int col)
const;
105 inline double normsq()
const;
108 inline double norm()
const;
129 virtual void invert(
int&);
162 std::vector<double > m;
164 std::vector<double,Alloc<double,25> > m;
200#ifdef ENABLE_BACKWARDS_COMPATIBILITY
202using namespace CLHEP;
friend HepVector house(const HepMatrix &a, int row, int col)
HepVector & operator/=(double t)
friend void swap(HepVector &v1, HepVector &v2)
HepVector sub(int min_row, int max_row) const
friend HepVector operator*(const HepMatrix &hm1, const HepVector &hm2)
HepVector & operator-=(const HepMatrix &v2)
virtual int num_row() const
friend void row_house(HepMatrix *, const HepVector &, double, int, int)
HepVector(int p, HepRandom &r)
HepVector apply(double(*f)(double, int)) const
HepVector operator-() const
friend HepVector operator-(const HepVector &v1, const HepVector &v2)
HepVector & operator+=(const HepVector &v2)
friend double dot(const HepVector &v1, const HepVector &v2)
friend void row_house(HepMatrix *, const HepMatrix &, double, int, int, int, int)
friend void tridiagonal(HepSymMatrix *a, HepMatrix *hsm)
friend HepVector solve(const HepMatrix &a, const HepVector &v)
HepVector & operator=(const Hep3Vector &)
HepVector(const HepVector &v)
virtual int num_col() const
friend HepVector operator*(const HepDiagMatrix &hm1, const HepVector &hm2)
void sub(int row, const HepVector &v1)
HepVector(const HepMatrix &m)
HepVector sub(int min_row, int max_row)
const double & operator[](int row) const
const double & operator()(int row) const
friend void house_with_update(HepMatrix *a, int row, int col)
virtual int num_size() const
friend void col_house(HepMatrix *, const HepMatrix &, double, int, int, int, int)
HepVector & operator=(const HepVector &hm2)
HepVector & operator=(const HepMatrix &)
friend HepVector operator*(const HepSymMatrix &hm1, const HepVector &hm2)
virtual double & operator()(int row, int col)
friend HepSymMatrix vT_times_v(const HepVector &v)
friend HepVector qr_solve(HepMatrix *, const HepVector &)
virtual const double & operator()(int row, int col) const
friend HepVector operator+(const HepVector &v1, const HepVector &v2)
HepVector & operator*=(double t)
HepVector & operator-=(const HepVector &v2)
friend HepVector house(const HepSymMatrix &a, int row, int col)
HepVector & operator+=(const HepMatrix &v2)
friend void back_solve(const HepMatrix &R, HepVector *b)
friend HepMatrix operator*(const HepVector &hm1, const HepMatrix &hm2)
std::ostream & operator<<(std::ostream &s, const HepDiagMatrix &q)
HepMatrix operator+(const HepMatrix &hm1, const HepDiagMatrix &d2)
HepMatrix operator-(const HepMatrix &hm1, const HepDiagMatrix &d2)
HepDiagMatrix operator/(const HepDiagMatrix &hm1, double t)
HepMatrix operator*(const HepMatrix &hm1, const HepDiagMatrix &hm2)
HepDiagMatrix dsum(const HepDiagMatrix &s1, const HepDiagMatrix &s2)