Vector Class Reference
#include <Vector.h>
Public Member Functions | |
Vector (const std::vector< Value > &x) | |
Vector (const std::vector< Quantity > &x) | |
const Value & | operator[] (int i) const |
Value | sum () const |
Detailed Description
common interface to std::vector<Quantity> and std::vector<Value> used in Phases*
- Note
- pass by const reference, return by value
Constructor & Destructor Documentation
◆ Vector() [1/2]
Vector::Vector | ( | const std::vector< Value > & | x | ) |
◆ Vector() [2/2]
Vector::Vector | ( | const std::vector< Quantity > & | x | ) |
Member Function Documentation
◆ operator[]()
const Value & Vector::operator[] | ( | int | i | ) | const |
◆ sum()
Value Vector::sum | ( | ) | const |
The documentation for this class was generated from the following file: