Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,21 +5,45 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4OsloMatrix.cc,v 1.2 1999/12/15 14:50:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4OsloMatrix.cc,v 1.4 2000/11/08 14:22:10 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
//
|
||||
// G4OsloMatrix.cc
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "G4OsloMatrix.hh"
|
||||
|
||||
G4OsloMatrix::G4OsloMatrix()
|
||||
{
|
||||
o_vec = (G4KnotVector*)0;
|
||||
next = (G4OsloMatrix*)0;
|
||||
}
|
||||
|
||||
Matrix::Matrix()
|
||||
G4OsloMatrix::G4OsloMatrix(G4int vec_size, G4int offsetparam, G4int osizeparam)
|
||||
{
|
||||
next = (G4OsloMatrix*)0;
|
||||
o_vec = new G4KnotVector(vec_size);
|
||||
offset = offsetparam;
|
||||
osize = osizeparam;
|
||||
}
|
||||
|
||||
G4OsloMatrix::~G4OsloMatrix()
|
||||
{
|
||||
delete o_vec;
|
||||
}
|
||||
|
||||
G4PointMatrix::G4PointMatrix()
|
||||
{
|
||||
nr=nc=0;
|
||||
data=0;
|
||||
}
|
||||
|
||||
|
||||
Matrix::Matrix(int rows, int columns)
|
||||
G4PointMatrix::G4PointMatrix(int rows, int columns)
|
||||
{
|
||||
nr=rows;
|
||||
nc=columns;
|
||||
@@ -30,7 +54,7 @@ Matrix::Matrix(int rows, int columns)
|
||||
}
|
||||
|
||||
|
||||
Matrix::Matrix(G4double vec[])
|
||||
G4PointMatrix::G4PointMatrix(G4double vec[])
|
||||
{
|
||||
nr = 4;
|
||||
nc = 4;
|
||||
@@ -40,5 +64,5 @@ Matrix::Matrix(G4double vec[])
|
||||
data[a]=vec[a];
|
||||
}
|
||||
|
||||
Matrix::~Matrix(){;}
|
||||
G4PointMatrix::~G4PointMatrix(){;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user