◆ VectorNd() [1/4]
TBTK::VectorNd::VectorNd |
( |
| ) |
|
◆ VectorNd() [2/4]
TBTK::VectorNd::VectorNd |
( |
unsigned int |
size | ) |
|
◆ VectorNd() [3/4]
TBTK::VectorNd::VectorNd |
( |
std::initializer_list< double > |
components | ) |
|
◆ VectorNd() [4/4]
TBTK::VectorNd::VectorNd |
( |
const std::vector< double > & |
components | ) |
|
◆ dotProduct()
double TBTK::VectorNd::dotProduct |
( |
const VectorNd & |
lhs, |
|
|
const VectorNd & |
rhs |
|
) |
| |
|
inlinestatic |
◆ getSize()
unsigned int TBTK::VectorNd::getSize |
( |
| ) |
const |
|
inline |
◆ getStdVector()
const std::vector< double > TBTK::VectorNd::getStdVector |
( |
| ) |
const |
|
inline |
Get a std::vector<double> representation of the vector.
◆ norm()
double TBTK::VectorNd::norm |
( |
| ) |
const |
|
inline |
◆ operator*()
const VectorNd TBTK::VectorNd::operator* |
( |
double |
rhs | ) |
const |
|
inline |
Multiplication operator (vector*scalar).
◆ operator+()
◆ operator-() [1/2]
const VectorNd TBTK::VectorNd::operator- |
( |
| ) |
const |
|
inline |
◆ operator-() [2/2]
◆ operator/()
const VectorNd TBTK::VectorNd::operator/ |
( |
double |
rhs | ) |
const |
|
inline |
◆ operator[]() [1/2]
double & TBTK::VectorNd::operator[] |
( |
unsigned int |
n | ) |
|
|
inline |
◆ operator[]() [2/2]
const double & TBTK::VectorNd::operator[] |
( |
unsigned int |
n | ) |
const |
|
inline |
◆ parallel()
Returns a vector that is the component of the vector that is parallel to the argument.
◆ unit()
const VectorNd TBTK::VectorNd::unit |
( |
| ) |
const |
|
inline |
Returns a unit vector pointing in the same direction as the original vector.
◆ operator*
Multiplication operator (scalar*vector).
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const VectorNd & |
v |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: