GiNaCRA
0.6.4
|
#include <RealAlgebraicPoint.h>
Public Member Functions | |
RealAlgebraicPoint () | |
Creates an empty Point of dimension 0. | |
RealAlgebraicPoint (const RealAlgebraicPoint &r) | |
Copy constructor. | |
RealAlgebraicPoint (size_t size) | |
Constructor reserving a given dimension. | |
RealAlgebraicPoint (const vector< RealAlgebraicNumberPtr > &v) | |
Creates a real algebraic point with the specified components. | |
RealAlgebraicPoint (const list< RealAlgebraicNumberPtr > &v) | |
Creates a real algebraic point with the specified components from a list. | |
const unsigned | dim () const |
Gives the number of components of this point. | |
RealAlgebraicPoint | conjoin (const RealAlgebraicNumberPtr &r) |
Conjoins a point with a real algebraic number and returns the conjoined point as new object. |
Notation is following http://www.possibility.com/Cpp/CppCodingStandard.html.
Definition at line 46 of file RealAlgebraicPoint.h.
GiNaCRA::RealAlgebraicPoint::RealAlgebraicPoint | ( | ) | [inline] |
Creates an empty Point of dimension 0.
Definition at line 58 of file RealAlgebraicPoint.h.
Referenced by conjoin().
GiNaCRA::RealAlgebraicPoint::RealAlgebraicPoint | ( | const RealAlgebraicPoint & | r | ) | [inline] |
GiNaCRA::RealAlgebraicPoint::RealAlgebraicPoint | ( | size_t | size | ) | [inline] |
Constructor reserving a given dimension.
size |
Definition at line 74 of file RealAlgebraicPoint.h.
GiNaCRA::RealAlgebraicPoint::RealAlgebraicPoint | ( | const vector< RealAlgebraicNumberPtr > & | v | ) | [inline] |
Creates a real algebraic point with the specified components.
v | pointers to real algebraic numbers |
Definition at line 82 of file RealAlgebraicPoint.h.
GiNaCRA::RealAlgebraicPoint::RealAlgebraicPoint | ( | const list< RealAlgebraicNumberPtr > & | v | ) | [inline] |
Creates a real algebraic point with the specified components from a list.
v | pointers to real algebraic numbers |
Definition at line 90 of file RealAlgebraicPoint.h.
Conjoins a point with a real algebraic number and returns the conjoined point as new object.
e.g.: a point of dimension n conjoined with a real algebraic number is a point of dimension n+1.
r | additional dimension given as real algebraic number |
Definition at line 45 of file RealAlgebraicPoint.cpp.
References RealAlgebraicPoint().
const unsigned GiNaCRA::RealAlgebraicPoint::dim | ( | ) | const |
Gives the number of components of this point.
Definition at line 40 of file RealAlgebraicPoint.cpp.
Referenced by GiNaCRA::CAD::samples(), and GiNaCRA::Constraint::satisfiedBy().