Lattice Tester Guide  1.0-9
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
NTL::matrix_row< M > Class Template Reference

An extension of NTL::vector<T> implemented in this module to be used as a matrix row. More...

#include <latticetester/ntlwrap.h>

Inherits NTL::vector< M::value_type >.

Public Member Functions

 matrix_row (M &data, typename M::size_type i)
 Copy constructor? Creates an object that is a copy if data. More...
 
 ~matrix_row ()
 Empty constructor. More...
 
- Public Member Functions inherited from NTL::vector< M::value_type >
 vector ()
 Empty constructor. More...
 
 vector (size_type size)
 Allocation constructor. More...
 
 vector (const Vec< M::value_type > &v)
 Copy constructor. More...
 
 ~vector ()
 Destructor. More...
 
void resize (size_type size)
 Set the vector lenght to size. More...
 
void clear ()
 Releases space and sets length to 0. More...
 
size_type size () const
 Returns the current lenght of the vector. More...
 
size_type max_size () const
 Returns the number of allocated and initialized elements in the vector. More...
 
void push_back (const M::value_type &element)
 a copy from NTL::Vec<T>::append More...
 
M::value_type back ()
 return the last element, this one is for STL compatibility More...
 
bool empty () const
 Returns true if the vector has length 0 and false otherwise. More...
 
const M::value_type & operator() (size_type i) const
 Change in the indexation reference for () operator to start from 0. More...
 

Detailed Description

template<class M>
class NTL::matrix_row< M >

An extension of NTL::vector<T> implemented in this module to be used as a matrix row.

Constructor & Destructor Documentation

◆ matrix_row()

template<class M >
NTL::matrix_row< M >::matrix_row ( M &  data,
typename M::size_type  i 
)
inline

Copy constructor? Creates an object that is a copy if data.

◆ ~matrix_row()

template<class M >
NTL::matrix_row< M >::~matrix_row ( )
inline

Empty constructor.


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