Go to the documentation of this file.
8 #ifndef TEST_ASSIMILATION_VECTOR3D_H_
9 #define TEST_ASSIMILATION_VECTOR3D_H_
11 #include "oops/util/Printable.h"
30 double x()
const {
return x_;}
31 double y()
const {
return y_;}
32 double z()
const {
return z_;}
35 void print(std::ostream & os)
const;
43 #endif // TEST_ASSIMILATION_VECTOR3D_H_
Vector3D & operator-=(const Vector3D &)
Vector3D & operator+=(const Vector3D &)
Vector3D & operator/=(const Vector3D &)
void axpy(const double, const Vector3D &)
x -> x + mult * rhs
double dot_product_with(const Vector3D &) const
Vector3D(const double &x, const double &y, const double &z)
Vector3D & operator*=(const double)
void print(std::ostream &os) const
Vector3D & operator=(const Vector3D &)