SIMLIB/C++
3.07
|
2D vector value More...
#include <simlib2D.h>
Public Member Functions | |
Value2D (double x, double y) | |
double | x () const |
double | y () const |
Value2D | operator+ (Value2D b) |
Value2D | operator- (Value2D b) |
void | Print () |
Private Attributes | |
double | _x |
double | _y |
Friends | |
double | abs (const Value2D &a) |
Value2D | operator+ (const Value2D &a, const Value2D &b) |
Value2D | operator- (const Value2D &a, const Value2D &b) |
Value2D | operator- (const Value2D &a) |
Value2D | operator* (const Value2D &a, const double b) |
Value2D | operator* (const double a, const Value2D &b) |
double | scalar_product (const Value2D &a, const Value2D &b) |
Value2D | operator/ (const Value2D &a, const double b) |
2D vector value
Definition at line 31 of file simlib2D.h.
|
inline |
Definition at line 34 of file simlib2D.h.
Referenced by operator+(), operator-(), and simlib3::Adaptor2D::Value().
Definition at line 40 of file simlib2D.h.
References _x, _y, and Value2D().
Referenced by Print(), and simlib3::Integrator2D::SetInput().
Definition at line 41 of file simlib2D.h.
References _x, _y, and Value2D().
Referenced by Print(), and simlib3::Integrator2D::SetInput().
|
inline |
Definition at line 42 of file simlib2D.h.
References abs, operator*, operator+(), operator-(), operator/, and scalar_product.
Referenced by simlib3::aContiBlock2D::Eval(), simlib3::aContiBlock2D::Print(), and simlib3::Print().
|
inline |
Definition at line 35 of file simlib2D.h.
References _x.
Referenced by simlib3::Variable2D::operator=(), simlib3::Integrator2D::operator=(), simlib3::Parameter2D::Parameter2D(), simlib3::Integrator2D::SetInput(), and simlib3::_XYpart::Value().
|
inline |
Definition at line 36 of file simlib2D.h.
References _y.
Referenced by simlib3::Integrator2D::operator=(), simlib3::Integrator2D::SetInput(), and simlib3::_XYpart::Value().
|
friend |
Definition at line 38 of file simlib2D.cc.
Referenced by Print().
Definition at line 68 of file simlib2D.cc.
Referenced by Print(), and simlib3::Integrator2D::SetInput().
Definition at line 73 of file simlib2D.cc.
Definition at line 43 of file simlib2D.cc.
Definition at line 48 of file simlib2D.cc.
Definition at line 53 of file simlib2D.cc.
Definition at line 83 of file simlib2D.cc.
Referenced by Print(), and simlib3::Integrator2D::SetInput().
Definition at line 78 of file simlib2D.cc.
Referenced by Print().
|
private |
Definition at line 32 of file simlib2D.h.
Referenced by simlib3::abs(), simlib3::operator*(), operator+(), simlib3::operator+(), operator-(), simlib3::operator-(), simlib3::operator/(), simlib3::scalar_product(), and x().
|
private |
Definition at line 32 of file simlib2D.h.
Referenced by simlib3::abs(), simlib3::operator*(), operator+(), simlib3::operator+(), operator-(), simlib3::operator-(), simlib3::operator/(), simlib3::scalar_product(), and y().