finitediff
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SNpermutation< T, tp_size > Class Template Reference

#include <SNpermutation.h>

Inheritance diagram for SNpermutation< T, tp_size >:
Inheritance graph
[legend]
Collaboration diagram for SNpermutation< T, tp_size >:
Collaboration graph
[legend]

Public Member Functions

 SNpermutation (const Mpermutation< tp_size > &d)
 
 SNpermutation (const MelementaryPermutation< tp_size > &d)
 
 SNpermutation ()
 
Mpermutation< tp_size > getMpermutation () const
 
SNpermutation< T, tp_size > inverse () const
 
- Public Member Functions inherited from SNgeneric< T, tp_size >
virtual unsigned int getSize () const final
 
virtual T & at (const m_num, const m_num) final
 
virtual T get (const m_num, const m_num) const final
 
virtual SNline< T, tp_size > getSNline (m_num l) const
 
template<class V , unsigned int s>
void subtract (const SNgeneric< V, s > &)
 
template<class V , unsigned int s>
void subtract (const SNgaussian< V, s > &)
 
SNgaussian< T, tp_size > getGaussian (const m_num c) const
 
template<class V , unsigned int s>
bool isNumericallyEqual (const SNgeneric< V, s > &A, const double &epsilon) const
 

Private Member Functions

T & _at (const m_num i, const m_num j) override
 
_get (const m_num i, const m_num j) const override
 

Private Attributes

Mpermutation< tp_size > data
 

Friends

template<class V , unsigned int s>
std::ostream & operator<< (std::ostream &, SNpermutation< V, s >)
 

Constructor & Destructor Documentation

template<class T , unsigned int tp_size>
SNpermutation< T, tp_size >::SNpermutation ( const Mpermutation< tp_size > &  d)
template<class T , unsigned int tp_size>
SNpermutation< T, tp_size >::SNpermutation ( const MelementaryPermutation< tp_size > &  d)
template<class T , unsigned int tp_size>
SNpermutation< T, tp_size >::SNpermutation ( )

The constructor with zero arguments initializes to the identity.

Member Function Documentation

template<class T , unsigned int tp_size>
T & SNpermutation< T, tp_size >::_at ( const m_num  ,
const m_num   
)
overrideprivatevirtual

Return by reference the requested element of the matrix

Implements SNgeneric< T, tp_size >.

template<class T , unsigned int tp_size>
T SNpermutation< T, tp_size >::_get ( const m_num  ,
const m_num   
) const
overrideprivatevirtual

Return by value the requested element of the matrix

Implements SNgeneric< T, tp_size >.

template<class T , unsigned int tp_size>
Mpermutation< tp_size > SNpermutation< T, tp_size >::getMpermutation ( ) const
template<class T , unsigned int tp_size>
SNpermutation< T, tp_size > SNpermutation< T, tp_size >::inverse ( ) const

returns the inverse matrix

Friends And Related Function Documentation

template<class T, unsigned int tp_size>
template<class V , unsigned int s>
std::ostream& operator<< ( std::ostream &  ,
SNpermutation< V, s >   
)
friend

Member Data Documentation

template<class T, unsigned int tp_size>
Mpermutation<tp_size> SNpermutation< T, tp_size >::data
private

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