ug4
|
#include <ivector.h>
Public Member Functions | |
virtual double | norm2 () const |
virtual void | print (std::ostream &output) const |
virtual void | set (double d) |
virtual std::string | short_desc () const |
virtual void | vec_add (double a1, double a2, const IVector &iv2) |
virtual void | vec_add (double a1, double a2, const IVector &iv2, double a3, const IVector &iv3) |
virtual void | vec_add (double a1, double a2, const IVector &iv2, double a3, const IVector &iv3, double a4, const IVector &iv4) |
virtual double | vec_prod (const IVector &iv) const |
Public Member Functions inherited from ug::IVector | |
virtual size_t | capacity () const =0 |
virtual void | clear ()=0 |
virtual SmartPtr< IVector > | clone () const =0 |
clones the vector (deep-copy) including values More... | |
virtual SmartPtr< IVector > | clone_without_values (size_t size) const =0 |
clones the vector (deep-copy) excluding values More... | |
template<typename T > | |
T & | downcast () |
template<typename T > | |
const T & | downcast () const |
double | norm () const |
void | operator*= (double alpha) |
void | operator+= (const IVector &v) |
void | operator+= (const TE_VecAdd2< IVector > &t) |
void | operator+= (const TE_VecAdd3< IVector > &t) |
void | operator-= (const IVector &v) |
void | operator-= (const TE_VecAdd2< IVector > &t) |
void | operator-= (const TE_VecAdd3< IVector > &t) |
void | operator= (const IVector &v) |
void | operator= (const TE_VecAdd2< IVector > &t) |
void | operator= (const TE_VecAdd3< IVector > &t) |
void | operator= (const TE_VecScale< IVector > &t) |
virtual void | resize (size_t newSize, bool bCopyValues=true)=0 |
virtual size_t | size () const =0 |
Public Member Functions inherited from ug::TE_Vector< IVector > | |
double | scaling () const |
const IVector & | vec () const |
Public Member Functions inherited from ug::TE_AlphaVec< T > | |
const T & | cast () const |
double | scaling () const |
Private Types | |
typedef IVector_AlgebraDownCastTo< TVec > | this_type |
Private Member Functions | |
TVec & | downcast () |
const TVec & | downcast () const |
Friends | |
std::ostream & | operator<< (std::ostream &output, const this_type &v) |
Additional Inherited Members | |
Public Types inherited from ug::TE_Vector< IVector > | |
typedef IVector | vector_type |
|
private |
|
inlineprivate |
Referenced by ug::IVector_AlgebraDownCastTo< TVec >::norm2(), ug::IVector_AlgebraDownCastTo< TVec >::print(), ug::IVector_AlgebraDownCastTo< TVec >::set(), ug::IVector_AlgebraDownCastTo< TVec >::short_desc(), ug::IVector_AlgebraDownCastTo< TVec >::vec_add(), and ug::IVector_AlgebraDownCastTo< TVec >::vec_prod().
|
inlineprivate |
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and VecNorm2().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and ug::IVector_AlgebraDownCastTo< TVec >::short_desc().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector_AlgebraDownCastTo< TVec >::downcast().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector_AlgebraDownCastTo< TVec >::downcast(), ug::IVector::size(), and ug::TypeName().
Referenced by ug::IVector_AlgebraDownCastTo< TVec >::print().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector::downcast(), ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and ug::VecAdd().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector::downcast(), ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and ug::VecAdd().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector::downcast(), ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and ug::VecAdd().
|
inlinevirtual |
Implements ug::IVector.
References ug::IVector::downcast(), ug::IVector_AlgebraDownCastTo< TVec >::downcast(), and ug::VecProd().
|
friend |