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

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

Public Member Functions

 matrix_row (M &data, typename M::size_type i)
 Copy constructor?
 ~matrix_row ()
 Empty constructor.
Public Member Functions inherited from NTL::vector< M::value_type >
 vector ()
 Empty 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.
const M::value_type & operator() (size_type i) const
 Change in the indexation reference for () operator to start from 0.

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.

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.


The documentation for this class was generated from the following file:
  • latticetester/include/latticetester/ntlwrap.h