Lattice Tester Online Documentation 0.1.0-861
Software Package For Testing The Uniformity Of Integral Lattices In The Real Space
Loading...
Searching...
No Matches
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>

+ Inheritance diagram for NTL::matrix_row< M >:

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from NTL::vector< M::value_type >
typedef std::int64_t size_type
 

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.

** WHY THIS EXTENSION? REMOVE ? **

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: