LatNet Builder Manual 2.1.3-6
Software Package for Constructing Highly Uniform Point Sets
|
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 |
An extension of NTL::vector<T> implemented in this module to be used as a matrix row.
|
inline |
Copy constructor?
Creates an object that is a copy if data.