COSMOS core
1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
|
3 element generic row vector More...
#include <vector.h>
Public Member Functions | |
rvector () | |
rvector (double d0, double d1, double d2) | |
json11::Json | to_json () const |
Convert class contents to JSON object. More... | |
void | from_json (const string &s) |
Set class contents from JSON string. More... | |
Public Attributes | |
double | col [3] = {0.} |
3 element generic row vector
3 double precision numbers representing a 3 element row major vector.
|
inline |
|
inline |
|
inline |
Set class contents from JSON string.
Parses the provided JSON-formatted string and sets the class data. String should be formatted like the string returned from to_json()
s | JSON-formatted string to set class contents to |
double rvector::col[3] = {0.} |