#include <G4OsloMatrix.hh>
Public Member Functions | |
G4PointMatrix () | |
G4PointMatrix (G4int, G4int) | |
G4PointMatrix (G4double[]) | |
~G4PointMatrix () | |
G4int | GetRows () const |
G4int | GetCols () const |
void | put (G4int i, G4int j, G4double x) |
G4double | get (G4int i, G4int j) const |
Definition at line 80 of file G4OsloMatrix.hh.
G4PointMatrix::G4PointMatrix | ( | ) |
Definition at line 63 of file G4OsloMatrix.cc.
00064 { 00065 nr=rows; nc=columns; 00066 data = new G4double[nr*nc]; 00067 for(G4int a =0; a<nr*nc;a++) 00068 { data[a]=0; } 00069 }
G4PointMatrix::G4PointMatrix | ( | G4double | [] | ) |
Definition at line 72 of file G4OsloMatrix.cc.
00073 { 00074 nr = nc = 4; 00075 data = new G4double[nr*nc]; 00076 for(G4int a=0;a<nr*nc;a++) 00077 { data[a]=vec[a]; } 00078 }
G4PointMatrix::~G4PointMatrix | ( | ) |
Definition at line 104 of file G4OsloMatrix.icc.
Referenced by G4ToroidalSurface::MultiplyPointByMatrix(), and G4ToroidalSurface::MultiplyVectorByMatrix().
G4int G4PointMatrix::GetCols | ( | ) | const [inline] |
G4int G4PointMatrix::GetRows | ( | ) | const [inline] |