LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
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 <ntlwrap.h>

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

Public Member Functions

 matrix_row (M &data, typename M::size_type i)
 
 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 ()
 Constructor.
 
 vector (size_type size)
 
 vector (const Vec< M::value_type > &v)
 
 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 new objects are initialized using the default contructor for T a copy from NTL::Vec<T>::SetLength.
 
void resize (size_type size)
 Set the vector lenght to size. More...
 
void clear ()
 release space and set to length 0 a copy from NTL::Vec<T>::kill
 
void clear ()
 Releases space and sets length to 0. More...
 
size_type size () const
 a copy from NTL::Vec<T>::length
 
size_type size () const
 Returns the current lenght of the vector. More...
 
size_type max_size () const
 a copy from NTL::Vec<T>::MaxLength
 
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
 
M::value_type back ()
 return the last element, this one is for STL compatibility
 
bool empty () const
 check if a vector is empty
 
bool empty () const
 Returns true if the vector has length 0 and false otherwise.
 
const M::value_type & operator() (size_type i) const
 change the indexation reference for () operator to start from 0 in NTL::Vec<T> the () operator starts from 1 wich is not compatible with boost
 
M::value_type & operator() (size_type i)
 
const M::value_type & operator() (size_type i) const
 Change in the indexation reference for () operator to start from 0. More...
 
M::value_type & operator() (size_type i)
 

Additional Inherited Members

- Public Types inherited from NTL::vector< M::value_type >
typedef long size_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.


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