Implementation


Vector
Class of generic Vectors, inlined functions and fields
template <class XXCOEFF> Vector <XXCOEFF> ::Vector(void)
Default constructor.
template <class XXCOEFF> Vector <XXCOEFF> ::Vector(const Vector<XXCOEFF> &Base)
Copy constructor.
template <class XXCOEFF> Vector <XXCOEFF> ::Vector(int Size)
Constructor of vector of size n, with zero entries.
::Vector
Constructor from the n to m subvector of Base
template <class XXCOEFF> Vector <XXCOEFF> ::Vector(int n, const Vector<XXCOEFF> *Base)
Constructor of a vector os size n from the array. No copy of array.
template <class XXCOEFF> Vector <XXCOEFF> ::~Vector(void)
Destructor. Do nothing..
::operator
Assignement operator
template <class XXCOEFF> void Vector <XXCOEFF> ::Perminv(int *pivot)
Permutation by the inverse of the permutation defined by pivot.
template <class XXCOEFF> Vector <XXCOEFF> & operator+(const Vector<XXCOEFF> &M, const Vector<XXCOEFF> &N)
Sum of two vectors.
template <class XXCOEFF> Vector <XXCOEFF> & operator-(const Vector<XXCOEFF> &M, const Vector<XXCOEFF> &N)
Substraction of two vectors.
template <class XXCOEFF> Vector <XXCOEFF> & operator*(const XXCOEFF &c, const Vector<XXCOEFF> &V)
Multiplication by a scalar
template <class XXCOEFF> Vector <XXCOEFF> & operator*(const Vector<XXCOEFF> &V, const XXCOEFF &c)
template <class XXCOEFF> Vector <XXCOEFF> & Vector <XXCOEFF> ::operator*
Inplace multiplication by a scalar.
template <class XXCOEFF> Vector <XXCOEFF> & operator/(const Vector<XXCOEFF> &V, const XXCOEFF &c)
template <class XXCOEFF> Vector <XXCOEFF> & Vector <XXCOEFF> ::operator
Inplace multiplication by a scalar.
template <class XXCOEFF> void Vector <XXCOEFF> ::Add(const Vector<XXCOEFF> & V1, const Vector<XXCOEFF> & V2)

alphabetic index hierarchy of classes


Partially supported by FRISCO LTR 21.024
For more information

generated by doc++