#include <aurostd_xvector.h>
Public Member Functions | |
xvector (int=3, int=1) | |
xvector (const std::initializer_list< utype >) | |
xvector (const xvector< utype > &) | |
xvector (const xmatrix< utype > &) | |
xvector< utype > & | operator= (const xvector< utype > &) |
xvector< utype > & | operator= (const std::initializer_list< utype >) |
~xvector () | |
utype & | operator[] (int) const |
utype & | operator() (int) const |
utype & | operator() (int, bool) const |
xvector< utype > & | operator+= (const xvector< utype > &) |
xvector< utype > & | operator+= (const std::initializer_list< utype >) |
xvector< utype > & | operator+= (utype) |
xvector< utype > & | operator-= (const xvector< utype > &) |
xvector< utype > & | operator-= (utype) |
xvector< utype > & | operator-= (const std::initializer_list< utype >) |
xvector< utype > & | operator*= (utype r) |
xvector< utype > & | operator/= (utype r) |
void | set (const utype &) |
void | reset () |
void | clear () |
void | null () |
void | resize (int=3, int nl=1) |
resize a xvector to the given dimensions | |
void | shift (int new_lrows) |
shift the lower row bound of an xmatrix to a new value | |
Public Attributes | |
int | rows |
int | lrows |
int | urows |
bool | isfloat |
bool | iscomplex |
Private Types | |
typedef std::initializer_list< utype >::const_iterator | ili |
Private Member Functions | |
void | init () |
void | free () |
void | copy (const xvector< utype > &b) |
void | copy (const xmatrix< utype > &b) |
void | copy (const std::initializer_list< utype > l) |
void | refresh () |
Private Attributes | |
utype * | corpus |
char | size |
long int | vsize |
Definition at line 40 of file aurostd_xvector.h.
|
private |
Definition at line 85 of file aurostd_xvector.h.
aurostd::xvector< utype >::xvector | ( | int | nh = 3, |
int | nl = 1 ) |
Definition at line 50 of file aurostd_xvector.cpp.
aurostd::xvector< utype >::xvector | ( | const std::initializer_list< utype > | l | ) |
Definition at line 56 of file aurostd_xvector.cpp.
aurostd::xvector< utype >::xvector | ( | const xvector< utype > & | b | ) |
Definition at line 63 of file aurostd_xvector.cpp.
aurostd::xvector< utype >::xvector | ( | const xmatrix< utype > & | b | ) |
Definition at line 69 of file aurostd_xvector.cpp.
aurostd::xvector< utype >::~xvector | ( | ) |
Definition at line 91 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator= | ( | const xvector< utype > & | b | ) |
Definition at line 256 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator= | ( | const std::initializer_list< utype > | l | ) |
Definition at line 264 of file aurostd_xvector.cpp.
utype & aurostd::xvector< utype >::operator[] | ( | int | i | ) | const |
Definition at line 277 of file aurostd_xvector.cpp.
utype & aurostd::xvector< utype >::operator() | ( | int | i | ) | const |
Definition at line 303 of file aurostd_xvector.cpp.
|
inline |
Definition at line 326 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator+= | ( | const xvector< utype > & | r | ) |
Definition at line 356 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator+= | ( | const std::initializer_list< utype > | l | ) |
Definition at line 376 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator+= | ( | utype | r | ) |
Definition at line 393 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator-= | ( | const xvector< utype > & | r | ) |
Definition at line 404 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator-= | ( | utype | r | ) |
Definition at line 441 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator-= | ( | const std::initializer_list< utype > | l | ) |
Definition at line 425 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator*= | ( | utype | r | ) |
Definition at line 452 of file aurostd_xvector.cpp.
xvector< utype > & aurostd::xvector< utype >::operator/= | ( | utype | r | ) |
Definition at line 469 of file aurostd_xvector.cpp.
void aurostd::xvector< utype >::set | ( | const utype & | ) |
void aurostd::xvector< utype >::reset | ( | ) |
void aurostd::xvector< utype >::clear | ( | ) |
void aurostd::xvector< utype >::null | ( | ) |
void aurostd::xvector< utype >::resize | ( | int | nu = 3, |
int | nl = 1 ) |
resize a xvector to the given dimensions
nu | new upper bound for rows |
nl | new lower bound for rows |
Definition at line 194 of file aurostd_xvector.cpp.
void aurostd::xvector< utype >::shift | ( | int | new_lrows | ) |
shift the lower row bound of an xmatrix to a new value
new_lrows | new lower bound for rows |
Definition at line 240 of file aurostd_xvector.cpp.
|
private |
Definition at line 74 of file aurostd_xvector.cpp.
|
private |
Definition at line 101 of file aurostd_xvector.cpp.
|
private |
Definition at line 112 of file aurostd_xvector.cpp.
|
private |
Definition at line 149 of file aurostd_xvector.cpp.
|
private |
Definition at line 158 of file aurostd_xvector.cpp.
|
private |
Definition at line 170 of file aurostd_xvector.cpp.
int aurostd::xvector< utype >::rows |
Definition at line 68 of file aurostd_xvector.h.
int aurostd::xvector< utype >::lrows |
Definition at line 68 of file aurostd_xvector.h.
int aurostd::xvector< utype >::urows |
Definition at line 68 of file aurostd_xvector.h.
bool aurostd::xvector< utype >::isfloat |
Definition at line 69 of file aurostd_xvector.h.
bool aurostd::xvector< utype >::iscomplex |
Definition at line 69 of file aurostd_xvector.h.
|
private |
Definition at line 81 of file aurostd_xvector.h.
|
private |
Definition at line 83 of file aurostd_xvector.h.
|
private |
Definition at line 84 of file aurostd_xvector.h.