#include <Vector.h>
Public Member Functions | |
| Vector (void) | |
| Vector (int l) | |
| Vector (string str) | |
| Vector (int l, T init) | |
| Vector (T *_data, int l) | |
| Vector (Vector< T > &v) | |
| ~Vector (void) | |
| void | Set (T *_data, const int l) |
| void | Clean () |
| const T * | DataPtr () const |
| Useful for passing data to third party libraries a read only. | |
| T * | Data () |
| Useful for passing data to third party libraries. | |
| Vector< T > | Clone () const |
| Vector< T > | Slice (int start, int end) |
| Vector< T > | Slice (string str) |
| const bool | IsMemoryManaged () const |
| const int | Length () const |
| const int | Numel () const |
| void | Init (const T init) |
| Vector< T > & | Rand (const double max) |
| void | ReadFromVector (const Vector< T > &m, const int index=0) |
| Vector< T > & | Add (Vector< T > &m) |
| Vector< T > & | Subtract (Vector< T > &m) |
| Vector< T > & | Multiply (Vector< T > &m) |
| Vector< T > & | Divide (Vector< T > &m) |
| Vector< T > & | Add (T v) |
| Vector< T > & | Subtract (T v) |
| Vector< T > & | Multiply (T v) |
| Vector< T > & | Divide (T v) |
| Vector< T > & | operator= (Vector< T > &m) |
| Vector< T > & | operator= (Matrix< T > &m) |
| Vector< T > & | operator= (Array< T > &m) |
| Vector< T > & | operator= (string str) |
| Vector< T > | operator+ () |
| Vector< T > | operator- () |
| Vector< int > | operator! () |
| T & | operator() (const int i) |
| T & | operator[] (const int i) |
| Vector< T > | operator() (int start, int end) |
| Vector< T > | operator() (string str) |
| Vector< T > | operator() (Vector< int > &ind) |
| T & | Elem (const int i) |
| Vector element access. Bounds are checked. | |
| T & | ElemNC (const int i) |
| Vector element access. Bounds are not checked. | |
| Vector< T > & | operator+= (Vector< T > &m) |
| Vector< T > & | operator-= (Vector< T > &m) |
| Vector< T > & | operator *= (Vector< T > &m) |
| Vector< T > & | operator/= (Vector< T > &m) |
| Vector< T > & | operator+= (T v) |
| Vector< T > & | operator-= (T v) |
| Vector< T > & | operator *= (T v) |
| Vector< T > & | operator/= (T v) |
| Vector (Array< T > &m) | |
| Vector (Matrix< T > &m) | |
Static Public Member Functions | |
| Vector< T > | Rand (const int l, const double max) |
| Vector< T > | Cat (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | Ones (int side) |
| Vector< T > | Zeros (int side) |
| T | Inner (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | And (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Or (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Lt (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Gt (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Le (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Ge (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Eq (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | Ne (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | And (Vector< T > &m, T v) |
| Vector< int > | Or (Vector< T > &m, T v) |
| Vector< int > | Lt (Vector< T > &m, T v) |
| Vector< int > | Gt (Vector< T > &m, T v) |
| Vector< int > | Le (Vector< T > &m, T v) |
| Vector< int > | Ge (Vector< T > &m, T v) |
| Vector< int > | Eq (Vector< T > &m, T v) |
| Vector< int > | Ne (Vector< T > &m, T v) |
| Vector< T > | Add (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | Subtract (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | Multiply (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | Divide (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | Add (Vector< T > &m1, T v2) |
| Vector< T > | Subtract (Vector< T > &m1, T v2) |
| Vector< T > | Subtract (T v2, Vector< T > &m1) |
| Vector< T > | Multiply (Vector< T > &m1, T v2) |
| Vector< T > | Divide (Vector< T > &m1, T v2) |
| Vector< T > | Divide (T v2, Vector< T > &m1) |
Protected Attributes | |
| T * | data |
| int | length |
| bool | memoryManaged |
| Cleaner< T > * | clean |
Friends | |
| class | Array<T> |
| class | Matrix<T> |
| Matrix< T > | operator, (Vector< T > &m1, Vector< T > &m2) |
| Matrix< T > | operator| (Vector< T > &m1, Vector< T > &m2) |
| ostream & | operator<< (ostream &output, const Vector< T > &v) |
| T | operator & (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator && (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator|| (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator< (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator> (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator<= (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator>= (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator== (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator!= (Vector< T > &m1, Vector< T > &m2) |
| Vector< int > | operator && (Vector< T > &m, T v) |
| Vector< int > | operator && (T v, Vector< T > &m) |
| Vector< int > | operator|| (Vector< T > &m, T v) |
| Vector< int > | operator|| (T v, Vector< T > &m) |
| Vector< int > | operator< (Vector< T > &m, T v) |
| Vector< int > | operator< (T v, Vector< T > &m) |
| Vector< int > | operator> (Vector< T > &m, T v) |
| Vector< int > | operator> (T v, Vector< T > &m) |
| Vector< int > | operator<= (Vector< T > &m, T v) |
| Vector< int > | operator<= (T v, Vector< T > &m) |
| Vector< int > | operator>= (Vector< T > &m, T v) |
| Vector< int > | operator>= (T v, Vector< T > &m) |
| Vector< int > | operator== (Vector< T > &m, T v) |
| Vector< int > | operator== (T v, Vector< T > &m) |
| Vector< int > | operator!= (Vector< T > &m, T v) |
| Vector< int > | operator!= (T v, Vector< T > &m) |
| Vector< T > | operator+ (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | operator- (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | operator * (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | operator/ (Vector< T > &m1, Vector< T > &m2) |
| Vector< T > | operator+ (Vector< T > &m, T v) |
| Vector< T > | operator+ (T v, Vector< T > &m) |
| Vector< T > | operator- (Vector< T > &m, T v) |
| Vector< T > | operator- (T v, Vector< T > &m) |
| Vector< T > | operator * (Vector< T > &m, T v) |
| Vector< T > | operator * (T v, Vector< T > &m) |
| Vector< T > | operator/ (Vector< T > &m, T v) |
| Vector< T > | operator/ (T v, Vector< T > &m) |
Definition at line 105 of file Vector.h.
|
||||||||||
|
Definition at line 64 of file Vector.inl. |
|
||||||||||
|
Definition at line 74 of file Vector.inl. |
|
||||||||||
|
Definition at line 94 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 177 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 201 of file Vector.inl. |
|
||||||||||
|
Definition at line 219 of file Vector.inl. |
|
||||||||||
|
Definition at line 245 of file Vector.inl. |
|
||||||||||
|
Definition at line 1480 of file Vector.inl. |
|
||||||||||
|
Definition at line 1463 of file Vector.inl. |
|
||||||||||
|
Definition at line 1047 of file Vector.inl. |
|
||||||||||
|
Definition at line 970 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 886 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 802 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 682 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 531 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 474 of file Vector.inl. |
|
|||||||||
|
Definition at line 275 of file Vector.inl. |
|
|||||||||
|
Definition at line 304 of file Vector.inl. |
|
|||||||||
|
Useful for passing data to third party libraries.
Definition at line 296 of file Vector.inl. |
|
|||||||||
|
Useful for passing data to third party libraries a read only.
Definition at line 289 of file Vector.inl. |
|
||||||||||
|
Definition at line 1077 of file Vector.inl. |
|
||||||||||
|
Definition at line 1021 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 948 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 931 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 857 of file Vector.inl. |
|
||||||||||
|
Vector element access. Bounds are checked.
Definition at line 1384 of file Vector.inl. |
|
||||||||||
|
Vector element access. Bounds are not checked.
Definition at line 1396 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 760 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 641 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 747 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 623 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 721 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 587 of file Vector.inl. |
|
||||||||||
|
Definition at line 412 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 509 of file Vector.inl. |
|
|||||||||
|
Definition at line 390 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 734 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 605 of file Vector.inl. |
|
|||||||||
|
Definition at line 398 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 708 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 569 of file Vector.inl. |
|
||||||||||
|
Definition at line 1067 of file Vector.inl. |
|
||||||||||
|
Definition at line 1004 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 920 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 839 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 773 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 659 of file Vector.inl. |
|
|||||||||
|
Definition at line 405 of file Vector.inl. |
|
||||||||||
|
Definition at line 491 of file Vector.inl. |
|
||||||||||
|
Definition at line 1446 of file Vector.inl. |
|
||||||||||
|
Definition at line 1421 of file Vector.inl. |
|
|||||||||
|
Definition at line 1244 of file Vector.inl. |
|
||||||||||
|
Definition at line 1363 of file Vector.inl. |
|
||||||||||
|
Definition at line 1333 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 1313 of file Vector.inl. |
|
||||||||||
|
Definition at line 1265 of file Vector.inl. |
|
|||||||||
|
Definition at line 1225 of file Vector.inl. |
|
||||||||||
|
Definition at line 1434 of file Vector.inl. |
|
||||||||||
|
Definition at line 1409 of file Vector.inl. |
|
|||||||||
|
Definition at line 1232 of file Vector.inl. |
|
||||||||||
|
Definition at line 1440 of file Vector.inl. |
|
||||||||||
|
Definition at line 1415 of file Vector.inl. |
|
||||||||||
|
Definition at line 1452 of file Vector.inl. |
|
||||||||||
|
Definition at line 1427 of file Vector.inl. |
|
||||||||||
|
Definition at line 1214 of file Vector.inl. |
|
||||||||||
|
Definition at line 1150 of file Vector.inl. |
|
||||||||||
|
Definition at line 1181 of file Vector.inl. |
|
||||||||||
|
Definition at line 1098 of file Vector.inl. |
|
||||||||||
|
Definition at line 1277 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 695 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 551 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 438 of file Vector.inl. |
|
||||||||||
|
Definition at line 423 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 455 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 257 of file Vector.inl. |
|
||||||||||
|
Definition at line 364 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 338 of file Vector.inl. |
|
||||||||||
|
Definition at line 1057 of file Vector.inl. |
|
||||||||||
|
Definition at line 987 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 908 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 897 of file Vector.inl. |
|
||||||||||||||||
|
Definition at line 821 of file Vector.inl. |
|
||||||||||
|
Definition at line 498 of file Vector.inl. |
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.9.1