FV3 Bundle
|
Vector in observation space. More...
#include <ObsVec1D.h>
Public Member Functions | |
ObsVec1D (const ObsTable &) | |
ObsVec1D (const ObsVec1D &, const bool copy=true) | |
~ObsVec1D () | |
ObsVec1D & | operator= (const ObsVec1D &) |
ObsVec1D & | operator*= (const double &) |
ObsVec1D & | operator+= (const ObsVec1D &) |
ObsVec1D & | operator-= (const ObsVec1D &) |
ObsVec1D & | operator*= (const ObsVec1D &) |
ObsVec1D & | operator/= (const ObsVec1D &) |
void | zero () |
void | axpy (const double &, const ObsVec1D &) |
void | invert () |
void | random () |
double | dot_product_with (const ObsVec1D &) const |
double | rms () const |
unsigned int | size () const |
double & | operator() (const unsigned int ii) |
const double & | operator() (const unsigned int ii) const |
void | read (const std::string &) |
void | save (const std::string &) const |
Static Public Member Functions | |
static const std::string | classname () |
Private Member Functions | |
void | print (std::ostream &) const |
Private Attributes | |
const ObsTable & | obsdb_ |
std::vector< double > | data_ |
Vector in observation space.
ObsVec1D is implemented as an STL vector
Definition at line 32 of file ObsVec1D.h.
|
explicit |
Definition at line 28 of file src/lorenz95/ObsVec1D.cc.
lorenz95::ObsVec1D::ObsVec1D | ( | const ObsVec1D & | other, |
const bool | copy = true |
||
) |
|
inline |
Definition at line 39 of file ObsVec1D.h.
void lorenz95::ObsVec1D::axpy | ( | const double & | zz, |
const ObsVec1D & | rhs | ||
) |
Definition at line 86 of file src/lorenz95/ObsVec1D.cc.
|
inlinestatic |
Definition at line 35 of file ObsVec1D.h.
double lorenz95::ObsVec1D::dot_product_with | ( | const ObsVec1D & | other | ) | const |
Definition at line 97 of file src/lorenz95/ObsVec1D.cc.
void lorenz95::ObsVec1D::invert | ( | ) |
Definition at line 82 of file src/lorenz95/ObsVec1D.cc.
|
inline |
Definition at line 56 of file ObsVec1D.h.
|
inline |
Definition at line 57 of file ObsVec1D.h.
ObsVec1D & lorenz95::ObsVec1D::operator*= | ( | const double & | zz | ) |
Definition at line 49 of file src/lorenz95/ObsVec1D.cc.
Definition at line 66 of file src/lorenz95/ObsVec1D.cc.
Definition at line 54 of file src/lorenz95/ObsVec1D.cc.
Definition at line 60 of file src/lorenz95/ObsVec1D.cc.
Definition at line 72 of file src/lorenz95/ObsVec1D.cc.
Definition at line 43 of file src/lorenz95/ObsVec1D.cc.
|
private |
Definition at line 119 of file src/lorenz95/ObsVec1D.cc.
void lorenz95::ObsVec1D::random | ( | ) |
Definition at line 91 of file src/lorenz95/ObsVec1D.cc.
void lorenz95::ObsVec1D::read | ( | const std::string & | name | ) |
double lorenz95::ObsVec1D::rms | ( | ) | const |
Definition at line 104 of file src/lorenz95/ObsVec1D.cc.
void lorenz95::ObsVec1D::save | ( | const std::string & | name | ) | const |
|
inline |
Definition at line 55 of file ObsVec1D.h.
void lorenz95::ObsVec1D::zero | ( | ) |
Definition at line 78 of file src/lorenz95/ObsVec1D.cc.
|
private |
Definition at line 67 of file ObsVec1D.h.
|
private |
Definition at line 66 of file ObsVec1D.h.