// // ******************************************************************** // * DISCLAIMER * // * * // * The following disclaimer summarizes all the specific disclaimers * // * of contributors to this software. The specific disclaimers,which * // * govern, are listed with their locations in: * // * http://cern.ch/geant4/license * // * * // * Neither the authors of this software system, nor their employing * // * institutes,nor the agencies providing financial support for this * // * work make any representation or warranty, express or implied, * // * regarding this software system or assume any liability for its * // * use. * // * * // * This code implementation is the intellectual property of the * // * GEANT4 collaboration. * // * By copying, distributing or modifying the Program (or any work * // * based on the Program) you indicate your acceptance of this * // * statement, and all its terms. * // ******************************************************************** // // // $Id: G4OsloMatrix.icc,v 1.3 2001/07/11 09:59:35 gunter Exp $ // GEANT4 tag $Name: geant4-08-00 $ // // -------------------------------------------------------------------- // GEANT 4 inline definitions file // // G4OsloMatrix.icc // // Implementation of inline methods of G4OsloMatrix // -------------------------------------------------------------------- inline G4int G4OsloMatrix::GetOffset() const { return offset; } inline G4int G4OsloMatrix::GetSize() const { return osize; } inline G4OsloMatrix* G4OsloMatrix::GetNextNode() { return next; } inline G4KnotVector* G4OsloMatrix::GetKnotVector() { return o_vec; } inline void G4OsloMatrix::SetOffset(G4int o) { offset = o; } inline void G4OsloMatrix::SetSize(G4int s) { osize = s; } inline void G4OsloMatrix::SetNextNode(G4OsloMatrix* n) { next = n; } inline void G4OsloMatrix::SetKnotVector(G4KnotVector* v) { o_vec = v; } inline G4int G4PointMatrix::GetRows() const { return nr; } inline G4int G4PointMatrix::GetCols() const { return nc; } inline void G4PointMatrix::put(G4int i, G4int j, G4double x) { data[i*nc+j]=x; } inline G4double G4PointMatrix::get(G4int i, G4int j) const { return data[i*nc+j]; }