#include <irtkVector.h>


Definition at line 28 of file irtkVector.h.
Public Member Functions | |
| irtkVector () | |
| Default constructor. | |
| irtkVector (int) | |
| Constructor for given row dimensions. | |
| irtkVector (const irtkVector &) | |
| Copy constructor. | |
| ~irtkVector () | |
| Destructor. | |
| void | Initialize (int) |
| Intialize matrix with number of rows. | |
| int | Rows () const |
| Returns number of rows. | |
| void | Put (int, double) |
| Puts vector value. | |
| double | Get (int) const |
| Gets vector value. | |
| double & | operator() (int) |
| Puts vector value. | |
| double | operator() (int) const |
| Gets vector value. | |
| irtkVector & | operator-= (double) |
| Subtraction of a double. | |
| irtkVector & | operator+= (double) |
| Addition of a double. | |
| irtkVector & | operator *= (double) |
| Multiplication with a double. | |
| irtkVector & | operator/= (double) |
| Division by a double. | |
| irtkVector | operator- (double) |
| Return result of subtraction of a double. | |
| irtkVector | operator+ (double) |
| Return result of addition of a double. | |
| irtkVector | operator * (double) |
| Return result of multiplication with a double. | |
| irtkVector | operator/ (double) |
| Return result of division by a double. | |
| irtkVector & | operator= (const irtkVector &) |
| Vector copy operator. | |
| irtkVector & | operator-= (const irtkVector &) |
| Vector subtraction operator. | |
| irtkVector & | operator+= (const irtkVector &) |
| Vector addition operator. | |
| irtkVector & | operator *= (const irtkVector &) |
| Vector componentwise multiplication operator (no scalar nor cross product). | |
| irtkVector & | operator/= (const irtkVector &) |
| Vector componentwise division operator. | |
| irtkVector | operator- (const irtkVector &) |
| Return result for vector subtraction. | |
| irtkVector | operator+ (const irtkVector &) |
| Return result for vector addition. | |
| irtkVector | operator * (const irtkVector &) |
| Return result for componentwise vector multiplication (no scalar nor cross product). | |
| irtkVector | operator/ (const irtkVector &) |
| Return result for componentwise vector division. | |
| Bool | operator== (const irtkVector &) |
| Comparison operator ==. | |
| Bool | operator!= (const irtkVector &) |
| Comparison operator != (if USE_STL is defined, negate == operator). | |
| Bool | operator< (const irtkVector &) |
| Comparison operator <. | |
| double | ScalarProduct (const irtkVector &) |
| Scalar/dot product. | |
| irtkVector | CrossProduct (const irtkVector &) |
| Vector/cross product. | |
| double | Norm (void) const |
| Returns norm of a vector. | |
| void | Normalize (void) |
| Vector normalization. | |
| void | Print () |
| Print vector. | |
| void | Read (char *) |
| Read vector from file. | |
| void | Write (char *) |
| Write vector to file. | |
| void | Vector2NR (float *) const |
| Conversion to numerical recipes vector (memory must be allocated). | |
| void | Vector2NR (double *) const |
| void | NR2Vector (float *) |
| Conversion from numerical recipes vector. | |
| void | NR2Vector (double *) |
Protected Attributes | |
| int | _rows |
| Number of rows. | |
| double * | _vector |
| Data. | |
Friends | |
| ostream & | operator<< (ostream &, const irtkVector &) |
| Interface to output stream. | |
| istream & | operator>> (istream &, irtkVector &) |
| Interface to input stream. | |