template
class
Vps<class>
(Return to index)
Vector truncated power series.
A vector of truncated power series with coefficients of type T
in n variables. This class serves as the base class for maps.
Type: |
Instantiable |
Include file: |
./Algebra/Vps.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
Vps
(int,int)
;
-
Vps
(const Matrix<T>&)
;
-
Vps
(const Vector<T>&)
;
-
Vps
()
;
-
Vps
(const Vps<T>&)
;
-
~Vps
()
;
-
Vps<T>& operator=
(const Vps<T>&)
;
-
const Tps<T>& getComponent
(int)const
;
-
void setComponent
(int,const Tps<T>&)
;
-
Tps<T>& operator[]
(int)
;
-
const Tps<T>& operator[]
(int)const
;
-
void check
()const
;
-
Vps<T> operator+
()const
;
-
Vps<T> operator-
()const
;
-
Vps<T>& operator*=
(const Tps<T>&)
;
-
Vps<T>& operator/=
(const Tps<T>&)
;
-
Vps<T>& operator*=
(const T&)
;
-
Vps<T>& operator/=
(const T&)
;
-
Vps<T>& operator+=
(const Vps<T>&)
;
-
Vps<T>& operator-=
(const Vps<T>&)
;
-
Vps<T>& operator+=
(const Vector<T>&)
;
-
Vps<T>& operator-=
(const Vector<T>&)
;
-
std::istream& get
(std::istream&)
;
-
std::ostream& put
(std::ostream&)const
;
-
int getDimension
()const
;
-
int getTopOrder
()const
;
-
int getTruncOrder
()const
;
-
int getVariables
()const
;
-
Vps<T> filter
(int,int)const
;
-
Vps<T> truncate
(int)
;
- Protected Members:
-
Array1D<Tps<T> > data
;
-
mutable int variables
;
Documentation:
- Public members:
-
Vps
(int,int)
;
- Constructor.
Construct nDim series in nVar variables each.
-
Vps
(const Matrix<T>&)
;
- Convert.
The constant part is zero.
The linear part is set to the contents of M.
-
Vps
(const Vector<T>&)
;
- Convert from vector.
The constant part is set to the contents of V.
The linear part is zero.
-
void check
()const
;
- Check consistency.
-
Vps<T> filter
(int,int)const
;
- Extract range of orders, set others to zero.
-
std::istream& get
(std::istream&)
;
- Get a Vps<T> from stream is.
-
const Tps<T>& getComponent
(int)const
;
- Get component.
Return the component index.
Throw RangeError, if index is out of range.
-
int getDimension
()const
;
- Get dimension (number of Tps<T> components).
-
int getTopOrder
()const
;
- Get highest order contained in any component.
-
int getTruncOrder
()const
;
- Get lowest truncation order in any component.
-
int getVariables
()const
;
- Get number of variables (the same in all components).
-
Vps<T>& operator*=
(const Tps<T>&)
;
- Multiply by Tps<T> and assign.
-
Vps<T>& operator*=
(const T&)
;
- Multiply by constant and assign.
-
Vps<T> operator+
()const
;
- Unary plus.
-
Vps<T>& operator+=
(const Vps<T>&)
;
- Addition.
-
Vps<T>& operator+=
(const Vector<T>&)
;
- Add and assign.
-
Vps<T> operator-
()const
;
- Unary minus.
-
Vps<T>& operator-=
(const Vps<T>&)
;
- Subtraction.
-
Vps<T>& operator-=
(const Vector<T>&)
;
- Subtract and assign.
-
Vps<T>& operator/=
(const Tps<T>&)
;
- Divide by Tps<T> and assign.
Throw DivideError if constant part of y is zero.
-
Vps<T>& operator/=
(const T&)
;
- Divide by constant and assign.
Throw DivideError if y is zero.
-
Tps<T>& operator[]
(int)
;
- Get component.
Return the component index.
Result is undefined, if index is out of range.
-
const Tps<T>& operator[]
(int)const
;
- Set component.
Set the component index.
Result is undefined, if index is out of range.
-
std::ostream& put
(std::ostream&)const
;
- Put a Vps<T> to stream os.
-
void setComponent
(int,const Tps<T>&)
;
- Set component.
Set the component index.
Throw RangeError, if index is out of range.
-
Vps<T> truncate
(int)
;
- Truncate, may also increase truncation order.
- Protected members:
Documentation generated by fci on Mon Feb 7 11:41:56 2000