linbox
MatrixPermutation< _UnsignedInt > Class Template Reference

Permutation classique. More...

#include <permutation-matrix.h>

Public Member Functions

 MatrixPermutation ()
 
 ~MatrixPermutation ()
 
 MatrixPermutation (const _UnsignedInt *V, const _UnsignedInt &n)
 
 MatrixPermutation (const std::vector< _UnsignedInt > &V)
 
_UnsignedInt operator[] (const _UnsignedInt i) const
 
_UnsignedInt getSize () const
 
void resize (_UnsignedInt n)
 
void Transpose ()
 
void Invert ()
 
Self_tTranspose (Self_t &Mt)
 
Self_tInvert (Self_t &Mt)
 
std::ostream & write (std::ostream &o) const
 writes on output stream o
 
template<class OutVector, class InVector>
OutVector & apply (OutVector &y, const InVector &x) const
 
template<class OutVector, class InVector>
OutVector & applyTranspose (OutVector &y, const InVector &x) const
 
void TransposeRows (_UnsignedInt i, _UnsignedInt j)
 
void TransposeCols (_UnsignedInt i, _UnsignedInt j)
 

Friends

template<class _Uint>
std::ostream & operator<< (std::ostream &o, Self_t &P)
 writes P on output stream o
 

Detailed Description

template<class _UnsignedInt>
class LinBox::MatrixPermutation< _UnsignedInt >

Permutation classique.

Constructor & Destructor Documentation

◆ MatrixPermutation() [1/3]

template<class _UnsignedInt>
MatrixPermutation ( )

◆ ~MatrixPermutation()

template<class _UnsignedInt>
~MatrixPermutation ( )
inline

◆ MatrixPermutation() [2/3]

template<class _UnsignedInt>
MatrixPermutation ( const _UnsignedInt * V,
const _UnsignedInt & n )

◆ MatrixPermutation() [3/3]

template<class _UnsignedInt>
MatrixPermutation ( const std::vector< _UnsignedInt > & V)

Member Function Documentation

◆ operator[]()

template<class _UnsignedInt>
_UnsignedInt operator[] ( const _UnsignedInt i) const
inline

◆ getSize()

template<class _UnsignedInt>
_UnsignedInt getSize ( ) const

◆ resize()

template<class _UnsignedInt>
void resize ( _UnsignedInt n)

◆ Transpose() [1/2]

template<class _UnsignedInt>
void Transpose ( )
Todo
in place ! (revient à parcourir des cycles)

◆ Invert() [1/2]

template<class _UnsignedInt>
void Invert ( )

◆ Transpose() [2/2]

template<class _UnsignedInt>
MatrixPermutation< _UnsignedInt > & Transpose ( Self_t & Mt)

◆ Invert() [2/2]

template<class _UnsignedInt>
MatrixPermutation< _UnsignedInt > & Invert ( Self_t & Mt)

◆ write()

template<class _UnsignedInt>
std::ostream & write ( std::ostream & o) const

writes on output stream o

◆ apply()

template<class _UnsignedInt>
template<class OutVector, class InVector>
OutVector & apply ( OutVector & y,
const InVector & x ) const

◆ applyTranspose()

template<class _UnsignedInt>
template<class OutVector, class InVector>
OutVector & applyTranspose ( OutVector & y,
const InVector & x ) const

◆ TransposeRows()

template<class _UnsignedInt>
void TransposeRows ( _UnsignedInt i,
_UnsignedInt j )

◆ TransposeCols()

template<class _UnsignedInt>
void TransposeCols ( _UnsignedInt i,
_UnsignedInt j )

Friends And Related Symbol Documentation

◆ operator<<

template<class _UnsignedInt>
template<class _Uint>
std::ostream & operator<< ( std::ostream & o,
Self_t & P )
friend

writes P on output stream o


The documentation for this class was generated from the following files: