Polymake Template Library (PTL): lib/core/include/Matrix.h File Reference
Matrix.h File Reference

Implementation of pm::Matrix class. More...

Classes

class  pm::Matrix< E >
 Matrix type class which holds the elements in a contiguous array
Additional arithmetic operations for matrices and useful constructions (unit_matrix, diag, ...) are listed at operations. More...
 

Namespaces

 pm
 global namespace for all classes from the polymake project
 
 polymake
 namespace to be used for client code
 

Functions

template<typename E >
void std::swap (pm::Matrix< E > &m1, pm::Matrix< E > &m2)
 

Detailed Description

Implementation of pm::Matrix class.

Function Documentation

template<typename E >
void std::swap ( pm::Matrix< E > &  m1,
pm::Matrix< E > &  m2 
)
inline

Exchange the contents of two matrices in a most efficient way. If at least one non-persistent object is involved, the operands must have equal dimensions.