#include <UT_Vector.h>
Definition at line 39 of file UT_Vector.h.
| typedef T UT_VectorT< T >::value_type |
Definition at line 43 of file UT_Vector.h.
| UT_VectorT< T >::UT_VectorT | ( | ) | [inline] |
Definition at line 46 of file UT_Vector.h.
| UT_VectorT< T >::UT_VectorT | ( | exint | nl, | |
| exint | nh | |||
| ) | [inline] |
Definition at line 41 of file UT_Vector.C.
| UT_VectorT< T >::UT_VectorT | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 49 of file UT_Vector.C.
| UT_VectorT< T >::~UT_VectorT | ( | ) | [inline] |
Definition at line 61 of file UT_Vector.C.
| void UT_VectorT< T >::assign | ( | const fpreal64 * | data, | |
| exint | nl, | |||
| exint | nh | |||
| ) | [inline] |
Definition at line 107 of file UT_Vector.C.
| void UT_VectorT< T >::assign | ( | const fpreal32 * | data, | |
| exint | nl, | |||
| exint | nh | |||
| ) | [inline] |
Definition at line 99 of file UT_Vector.C.
| void UT_VectorT< T >::changeNL | ( | exint | nl | ) | [inline] |
Definition at line 219 of file UT_Vector.C.
| T UT_VectorT< T >::distance2 | ( | const UT_VectorT< T > & | v | ) | const [inline] |
Definition at line 306 of file UT_Vector.C.
| T UT_VectorT< T >::dot | ( | const UT_VectorT< T > & | v | ) | const [inline] |
Definition at line 549 of file UT_Vector.C.
| T* UT_VectorT< T >::getData | ( | ) | const [inline] |
Definition at line 228 of file UT_Vector.h.
| exint UT_VectorT< T >::getNH | ( | ) | const [inline] |
Definition at line 84 of file UT_Vector.h.
| exint UT_VectorT< T >::getNL | ( | ) | const [inline] |
Definition at line 81 of file UT_Vector.h.
| void UT_VectorT< T >::getPartialRange | ( | exint & | start, | |
| exint & | end, | |||
| const UT_JobInfo & | info | |||
| ) | const [inline] |
Definition at line 145 of file UT_Vector.C.
| void UT_VectorT< T >::getSubvector2 | ( | UT_Vector2 & | v, | |
| exint | idx | |||
| ) | const [inline] |
These methods allow one to read out and write into subvectors of UT_Vector using our other vector classes. Keep in mind that the usual UT_Vector? methods are 0 based, while this class is usually 1 based.
Definition at line 165 of file UT_Vector.C.
| void UT_VectorT< T >::getSubvector3 | ( | UT_Vector3 & | v, | |
| exint | idx | |||
| ) | const [inline] |
Definition at line 181 of file UT_Vector.C.
| void UT_VectorT< T >::getSubvector4 | ( | UT_Vector4 & | v, | |
| exint | idx | |||
| ) | const [inline] |
Definition at line 199 of file UT_Vector.C.
| bool UT_VectorT< T >::hasNan | ( | ) | const [inline] |
Definition at line 607 of file UT_Vector.C.
| void UT_VectorT< T >::init | ( | exint | nl, | |
| exint | nh | |||
| ) | [inline] |
Definition at line 115 of file UT_Vector.C.
| bool UT_VectorT< T >::isEqual | ( | const UT_VectorT< T > & | v, | |
| int64 | ulps | |||
| ) | [inline] |
Definition at line 593 of file UT_Vector.C.
| int UT_VectorT< T >::isInit | ( | ) | const [inline] |
Definition at line 62 of file UT_Vector.h.
| exint UT_VectorT< T >::length | ( | void | ) | const [inline] |
Definition at line 87 of file UT_Vector.h.
| T UT_VectorT< T >::norm | ( | int | type = 2 |
) | const [inline] |
Definition at line 230 of file UT_Vector.C.
| T UT_VectorT< T >::norm2 | ( | ) | const |
| T UT_VectorT< T >::operator() | ( | exint | i | ) | const [inline] |
Definition at line 120 of file UT_Vector.h.
| T& UT_VectorT< T >::operator() | ( | exint | i | ) | [inline] |
Definition at line 115 of file UT_Vector.h.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator*= | ( | fpreal32 | scalar | ) | [inline] |
Definition at line 777 of file UT_Vector.C.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator*= | ( | const UT_VectorT< fpreal32 > & | v | ) | [inline] |
Definition at line 761 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator*= | ( | T | scalar | ) | [inline] |
Definition at line 524 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator*= | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 502 of file UT_Vector.C.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator+= | ( | const UT_VectorT< fpreal32 > & | v | ) | [inline] |
Definition at line 745 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator+= | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 480 of file UT_Vector.C.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator-= | ( | const UT_VectorT< fpreal32 > & | v | ) | [inline] |
Definition at line 753 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator-= | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 491 of file UT_Vector.C.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator/= | ( | fpreal32 | scalar | ) | [inline] |
Definition at line 785 of file UT_Vector.C.
| UT_VectorT< fpreal32 > & UT_VectorT< fpreal32 >::operator/= | ( | const UT_VectorT< fpreal32 > & | v | ) | [inline] |
Definition at line 769 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator/= | ( | T | scalar | ) | [inline] |
Definition at line 536 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator/= | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 513 of file UT_Vector.C.
| UT_VectorT< T > & UT_VectorT< T >::operator= | ( | const UT_VectorT< T > & | v | ) | [inline] |
Definition at line 457 of file UT_Vector.C.
| ostream & UT_VectorT< T >::save | ( | ostream & | os | ) | const [inline] |
Definition at line 581 of file UT_Vector.C.
| void UT_VectorT< T >::setShallowNH | ( | exint | nh | ) | [inline] |
Definition at line 112 of file UT_Vector.h.
| void UT_VectorT< T >::setShallowNL | ( | exint | nl | ) | [inline] |
Definition at line 111 of file UT_Vector.h.
| void UT_VectorT< T >::setSubvector2 | ( | exint | idx, | |
| const UT_Vector2 & | v | |||
| ) | [inline] |
Definition at line 173 of file UT_Vector.C.
| void UT_VectorT< T >::setSubvector3 | ( | exint | idx, | |
| const UT_Vector3 & | v | |||
| ) | [inline] |
Definition at line 190 of file UT_Vector.C.
| void UT_VectorT< T >::setSubvector4 | ( | exint | idx, | |
| const UT_Vector4 & | v | |||
| ) | [inline] |
Definition at line 209 of file UT_Vector.C.
| bool UT_VectorT< T >::shouldMultiThread | ( | ) | const [inline] |
Definition at line 93 of file UT_Vector.h.
| void UT_VectorT< T >::subvector | ( | const UT_VectorT< T > & | v, | |
| exint | nl, | |||
| exint | nh | |||
| ) | [inline] |
Definition at line 69 of file UT_Vector.C.
| void UT_VectorT< T >::testForNan | ( | ) | const [inline] |
Definition at line 619 of file UT_Vector.C.
| UT_VectorT< T >::THREADED_METHOD | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| neg | ||||
| ) | const |
| UT_VectorT< T >::THREADED_METHOD1 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| copyFrom | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) | const |
Multithreaded copy. operator= uses this.
| UT_VectorT< T >::THREADED_METHOD1 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| invertAndSet | , | |||
| const UT_VectorT< T > & | , | |||
| a | ||||
| ) | const |
| UT_VectorT< T >::THREADED_METHOD1 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| negPlus | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) | const |
| UT_VectorT< T >::THREADED_METHOD2 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| divAndSet | , | |||
| const UT_VectorT< T > & | , | |||
| a | , | |||
| const UT_VectorT< T > & | , | |||
| b | ||||
| ) | const |
| UT_VectorT< T >::THREADED_METHOD2 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| multAndSet | , | |||
| const UT_VectorT< T > & | , | |||
| a | , | |||
| const UT_VectorT< T > & | , | |||
| b | ||||
| ) | const |
| UT_VectorT< T >::THREADED_METHOD2 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| scaleAddVec | , | |||
| T | , | |||
| s | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) |
| UT_VectorT< T >::THREADED_METHOD2 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| addScaledVec | , | |||
| T | , | |||
| s | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) |
| UT_VectorT< T >::THREADED_METHOD2_CONST | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| dotInternal | , | |||
| fpreal64 * | , | |||
| result | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) | [protected] |
| UT_VectorT< T >::THREADED_METHOD2_CONST | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| distance2Internal | , | |||
| fpreal64 * | , | |||
| result | , | |||
| const UT_VectorT< T > & | , | |||
| v | ||||
| ) | [protected] |
| UT_VectorT< T >::THREADED_METHOD2_CONST | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| normInternal | , | |||
| fpreal64 * | , | |||
| result | , | |||
| int | , | |||
| type | ||||
| ) | [protected] |
| UT_VectorT< T >::THREADED_METHOD3 | ( | UT_VectorT< T > | , | |
| shouldMultiThread() | , | |||
| addScaledVecNorm2 | , | |||
| T | , | |||
| s | , | |||
| const UT_VectorT< T > & | , | |||
| v | , | |||
| fpreal64 * | , | |||
| norm2 | ||||
| ) |
| void UT_VectorT< T >::zero | ( | ) | [inline] |
Definition at line 66 of file UT_Vector.h.
| void UT_VectorT< T >::zero | ( | exint | nl, | |
| exint | nh | |||
| ) | [inline] |
Definition at line 157 of file UT_Vector.C.
| ostream& operator<< | ( | ostream & | os, | |
| const UT_VectorT< T > & | v | |||
| ) | [friend] |
Definition at line 225 of file UT_Vector.h.
| const UT_VectorT< T > & UT_VectorT< T >::b |
Definition at line 173 of file UT_Vector.h.
const UT_VectorT<T> const UT_JobInfo& info UT_VectorT< T >::const [protected] |
Definition at line 244 of file UT_Vector.h.
const UT_VectorT< T > const UT_JobInfo &info UT_VectorT< T >::const [protected] |
Definition at line 239 of file UT_Vector.h.
| const UT_VectorT<T> fpreal64 const UT_JobInfo& UT_VectorT< T >::info |
Definition at line 156 of file UT_Vector.h.
| const UT_VectorT<T> const UT_JobInfo& UT_VectorT< T >::info |
Definition at line 148 of file UT_Vector.h.
| const UT_JobInfo & UT_VectorT< T >::info |
Definition at line 142 of file UT_Vector.h.
T UT_VectorT< T >::norm2 [inline] |
Definition at line 156 of file UT_Vector.h.
int UT_VectorT< T >::type [protected] |
Definition at line 239 of file UT_Vector.h.
| const UT_VectorT< T > & UT_VectorT< T >::v |
Definition at line 148 of file UT_Vector.h.
1.5.9