class
Matrix3D
(Return to index)
3-dimensional matrix.
The copy constructor, destructor, and assignment operator generated
by the compiler perform the correct operation. For speed reasons they
are not implemented.
Type: |
Instantiable |
Include file: |
./BeamlineGeometry/Matrix3D.hh |
Synopsis (including inherited members):
- Public members:
-
Matrix3D
()
;
-
Matrix3D
(const Vector3D&,const Vector3D&,const Vector3D&)
;
-
Matrix3D
(double,double,double,double,double,double,double,double,double)
;
-
bool operator==
(const Matrix3D&)const
;
-
bool operator!=
(const Matrix3D&)const
;
-
double& operator()
(int,int)
;
-
double operator()
(int,int)const
;
-
Matrix3D& operator+=
(const Matrix3D&)
;
-
Matrix3D& operator-=
(const Matrix3D&)
;
-
Matrix3D& operator*=
(const Matrix3D&)
;
-
Matrix3D& operator*=
(double)
;
-
static Matrix3D Identity
()
;
-
Matrix3D inverse
()const
;
-
bool isIdentity
()const
;
-
Matrix3D transpose
()const
;
Documentation:
- Public members:
-
static Matrix3D Identity
()
;
- Make identity.
-
Matrix3D
()
;
- Default constructor.
Constructs identity.
-
Matrix3D
(const Vector3D&,const Vector3D&,const Vector3D&)
;
- Constructor.
Use the three vectors (a,b,c) as column vectors.
-
Matrix3D
(double,double,double,double,double,double,double,double,double)
;
- Constructor.
Use the elements as matrix elements by rows.
-
Matrix3D inverse
()const
;
- Inverse.
-
bool isIdentity
()const
;
- Test for identity.
Return true, if this is an identity matrix.
-
double& operator()
(int,int)
;
- Get element.
Return reference to matrix element (i,k).
-
double operator()
(int,int)const
;
- Get element.
Return value of matrix element (i,k).
-
Matrix3D& operator*=
(const Matrix3D&)
;
- Multiply and assign.
-
Matrix3D& operator*=
(double)
;
- Multiply and assign.
-
Matrix3D& operator+=
(const Matrix3D&)
;
- Add and assign.
-
Matrix3D& operator-=
(const Matrix3D&)
;
- Subtract and assign.
-
Matrix3D transpose
()const
;
- Transpose.
Documentation generated by fci on Mon Feb 7 11:41:45 2000