Class PhaseVector#
Defined in File PhaseVector.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Class Documentation#
-
class PhaseVector : public OrbitUtils::CppPyWrapper#
A double values vector.
Public Functions
-
PhaseVector(int n)#
Constructor.
-
PhaseVector(PhaseVector *vIn)#
A copy-constructor.
-
~PhaseVector()#
Destructor.
-
double *getArray()#
Returns the pointer to the inner array.
-
int size()#
Returns the size of the vector.
-
void zero()#
Sets the vector to zero.
-
double &value(int i)#
Returns one component with index i.
-
int copyTo(PhaseVector *vIn)#
Copies the existing vector to another.
-
int add(double val)#
Adds a value to each component.
-
int add(PhaseVector *mtrx)#
Adds a vector to the existing one.
-
double norm()#
Returns the norm.
-
int mult(double val)#
Multiplies the vector’s components by a number.
-
double dot(PhaseVector *vctr)#
Returns scalar multiplication of two vectors.
-
PhaseVector(int n)#