120 T* Subtrahend = NULL )
122 if(Subtrahend == NULL)
124 Subtrahend = Minuend;
181 T* Denominator = NULL )
183 if(Denominator == NULL)
185 Denominator = Numerator;
202 T* Denominator = NULL )
204 if(Denominator == NULL)
218 for(
unsigned int i = 0; i < Vector.size(); i++)
void Copy(G4int Elements, T *To, T *From)
Copy values from one array to another.
void Divide(G4int Elements, T *To, T *Numerator, T *Denominator=NULL)
Divide an array by another.
G4ArrayOps is a namespace that provides template functions for performing basic arithmatic operations...
void Multiply(G4int Elements, T *To, T *M1, T *M2=NULL)
Multiply two arrays together.
void DeleteVectorOfPointers(std::vector< T > &Vector)
void Subtract(G4int Elements, T *To, T *Minuend, T *Subtrahend=NULL)
Subtract an array from another.
void Set(G4int Elements, T *To, T Value)
Set's all the values in an array to a constant.
void Add(G4int Elements, T *To, T *A1, T *A2=NULL)
Add two arrays together.