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

#include <SNupperTriangular.h>

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

Public Member Functions

std::array< T, tp_size *tp_size > _get_other_data (const SNmatrix< T, tp_size > &) const
 
 SNupperTriangular ()
 
 SNupperTriangular (const SNmatrix< T, tp_size > &A)
 
- 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

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

Private Attributes

std::array< T, tp_size *tp_size > data
 

Constructor & Destructor Documentation

template<class T , unsigned int tp_size>
SNupperTriangular< T, tp_size >::SNupperTriangular ( )
template<class T , unsigned int tp_size>
SNupperTriangular< T, tp_size >::SNupperTriangular ( const SNmatrix< T, tp_size > &  A)

Member Function Documentation

template<class T , unsigned int tp_size>
T & SNupperTriangular< T, tp_size >::_at ( m_num  ,
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 SNupperTriangular< 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>
std::array< T, tp_size *tp_size > SNupperTriangular< T, tp_size >::_get_other_data ( const SNmatrix< T, tp_size > &  A) const

return data of the requested matrix. Since I cannot declare the constructor of SNupperTriangular being a friend of SNmatrix (templated constructor ...), the constructor SNupperTriangular(const SNmatrix<T,tp_size>& A); will use _get_other_data to get the data member of A.

Member Data Documentation

template<class T, unsigned int tp_size>
std::array<T,tp_size*tp_size> SNupperTriangular< T, tp_size >::data
private

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