ug4
|
#include <ivector.h>
Public Member Functions | |
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 |
virtual double | norm2 () const =0 |
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 | print (std::ostream &output) const =0 |
virtual void | resize (size_t newSize, bool bCopyValues=true)=0 |
virtual void | set (double d)=0 |
virtual std::string | short_desc () const =0 |
virtual size_t | size () const =0 |
virtual void | vec_add (double a1, double a2, const IVector &iv2)=0 |
virtual void | vec_add (double a1, double a2, const IVector &iv2, double a3, const IVector &iv3)=0 |
virtual void | vec_add (double a1, double a2, const IVector &iv2, double a3, const IVector &iv3, double a4, const IVector &iv4)=0 |
virtual double | vec_prod (const IVector &v) 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 |
Additional Inherited Members | |
Public Types inherited from ug::TE_Vector< IVector > | |
typedef IVector | vector_type |
|
pure virtual |
|
pure virtual |
clones the vector (deep-copy) including values
clones the vector (deep-copy) excluding values
|
inline |
References ug::TypeName(), and UG_ASSERT.
Referenced by ug::IVector_AlgebraDownCastTo< TVec >::vec_add(), and ug::IVector_AlgebraDownCastTo< TVec >::vec_prod().
|
inline |
References ug::TypeName(), and UG_ASSERT.
|
inline |
References norm2().
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
Referenced by norm().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References ug::TE_VecScale< T >::scaling(), ug::TE_VecScale< T >::vec(), and vec_add().
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
|
pure virtual |
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
|
pure virtual |
Referenced by ug::IVector_AlgebraDownCastTo< TVec >::short_desc().
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
Referenced by operator*=(), operator+=(), operator-=(), and operator=().
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.
|
pure virtual |
Implemented in ug::IVector_AlgebraDownCastTo< TVec >.