linbox
indexDomain Class Reference

Class used for permuting indices. More...

#include <integer.h>

Public Types

typedef size_t Element
 
typedef ElementElement_ptr
 
typedef const ElementConstElement_ptr
 
typedef indexDomain Father_t
 

Public Member Functions

 indexDomain ()
 
size_t init (size_t &dst) const
 
template<class ANY>
size_t init (size_t &dst, const ANY &src) const
 
template<class ANY>
size_t assign (ANY &dst, const size_t &src) const
 
int characteristic () const
 

Detailed Description

Class used for permuting indices.

For example, create a vector (0 1 2 ...) over size_t, then apply a permutation to it using a BlasMatrixDomain to get the natural representation of the permutation.

Bug
does not belong here

Member Typedef Documentation

◆ Element

typedef size_t Element

◆ Element_ptr

typedef Element* Element_ptr

◆ ConstElement_ptr

typedef const Element* ConstElement_ptr

◆ Father_t

Constructor & Destructor Documentation

◆ indexDomain()

indexDomain ( )
inline

Member Function Documentation

◆ init() [1/2]

size_t init ( size_t & dst) const
inline

◆ init() [2/2]

template<class ANY>
size_t init ( size_t & dst,
const ANY & src ) const
inline

◆ assign()

template<class ANY>
size_t assign ( ANY & dst,
const size_t & src ) const
inline

◆ characteristic()

int characteristic ( ) const
inline

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