1 #ifndef CLASSIC_VpsInvMap_HH
2 #define CLASSIC_VpsInvMap_HH
146 std::ostream &operator<<(std::ostream &, const VpsInvMap<T> &x);
156 template <
class T>
inline
160 template <
class T>
inline
164 template <
class T>
inline
168 template <
class T>
inline
172 template <
class T>
inline
176 template <
class T>
inline
181 template <
class T>
inline
185 template <
class T>
inline
189 template <
class T>
inline
193 template <
class T>
inline
197 template <
class T>
inline
201 template <
class T>
inline
205 template <
class T>
inline
209 template <
class T>
inline
211 {
return x.
get(is); }
213 template <
class T>
inline
214 std::ostream &operator<<(std::ostream &os, const VpsInvMap<T> &x)
215 {
return x.put(os); }
263 throw LogicalError(
"VpsInvMap::VpsInvMap()",
"Matrix is not n by n.");
289 if(this->getDimension() != this->variables) {
290 throw LogicalError(
"VpsInvMap::VpsInvMap()",
"Map is not n->n.");
310 for(
int maxOrder = 2; maxOrder <= this->getTruncOrder(); maxOrder++) {
312 B = mat * (map2 + identity(this->variables) - vec);
324 #endif // CLASSIC_VpsInvMap_HH
Matrix< T > operator+(const Matrix< T > &, const Matrix< T > &)
Matrix addition.
Matrix< T > operator/(const Matrix< T > &, const T &)
Matrix divided by scalar.
Triangle decomposition of a matrix.
Truncate power series map.
int ncols() const
Get number of columns.
Matrix< T > operator*(const Matrix< T > &, const Matrix< T > &)
Matrix multiply.
VpsMap< T > & operator=(const VpsMap< T > &y)
std::istream & get(std::istream &is)
Get a Vps<T> from stream is.
Invertible power series map.
VpsInvMap< T > inverse() const
Inverse.
Matrix< T > inverse() const
Get inverse.
VpsMap< T > substituteInto(const Matrix< T > &x) const
Substitute.
Vector truncated power series.
VpsInvMap< T > & operator=(const VpsInvMap< T > &y)
static VpsInvMap< T > identity(int nVar)
Set to identity.
void check() const
Check consistency.
Matrix< T > operator-(const Matrix< T > &, const Matrix< T > &)
Matrix subtraction.
void check() const
Check consistency.
int nrows() const
Get number of rows.
std::istream & operator>>(std::istream &, LieMap< T > &x)
Extract LieMap<T> from stream.