|
| | UT_VectorT () |
| | Input the index range [nl..nh]. More...
|
| |
| | UT_VectorT (exint nl, exint nh) |
| |
| | UT_VectorT (const UT_VectorT< T > &v) |
| |
| | ~UT_VectorT () |
| |
| void | init (exint nl, exint nh) |
| | Initialize nl, nh and allocate space. More...
|
| |
| void | subvector (const UT_VectorT< T > &v, exint nl, exint nh) |
| | Steal from another vector, resulting vector has origin at 1. More...
|
| |
| void | assign (const fpreal32 *data, exint nl, exint nh) |
| |
| void | assign (const fpreal64 *data, exint nl, exint nh) |
| |
| int | isInit () const |
| |
| void | zero () |
| | Initialize to zeros. More...
|
| |
| | THREADED_METHOD2 (UT_VectorT, nh-nl > 4999, zero, exint, nl, exint, nh) |
| |
| void | zeroPartial (exint nl, exint nh, const UT_JobInfo &info) |
| |
| void | constant (T c) |
| | Initialize to the given constant. More...
|
| |
| void | constant (exint nl, exint nh, T c) |
| |
| void | getSubvector2 (UT_Vector2 &v, exint idx) const |
| |
| void | setSubvector2 (exint idx, const UT_Vector2 &v) |
| |
| void | getSubvector3 (UT_Vector3 &v, exint idx) const |
| |
| void | setSubvector3 (exint idx, const UT_Vector3 &v) |
| |
| void | getSubvector4 (UT_Vector4 &v, exint idx) const |
| |
| void | setSubvector4 (exint idx, const UT_Vector4 &v) |
| |
| exint | getNL () const |
| | Get the low index. More...
|
| |
| exint | getNH () const |
| | Get the high index. More...
|
| |
| exint | length () const |
| | Get dimension of this vector. More...
|
| |
| bool | shouldMultiThread () const |
| |
| void | getPartialRange (exint &start, exint &end, const UT_JobInfo &info) const |
| | Determines the [start,end) interval that should be worked on. More...
|
| |
| void | getPartialBlockRange (exint &startblock, exint &endblock, const exint blocksize, const UT_JobInfo &info) const |
| |
| void | changeNL (exint nl) |
| | Change the low index, and the high index will adjust itself. More...
|
| |
| void | setShallowNL (exint nl) |
| |
| void | setShallowNH (exint nh) |
| |
| T & | operator() (exint i) |
| | For retrieving data. More...
|
| |
| T | operator() (exint i) const |
| |
| T | norm (int type=2) const |
| |
| T | norm2 () const |
| | Square of L2-norm. More...
|
| |
| T | distance2 (const UT_VectorT< T > &v) const |
| |
| void | negPartial (const UT_JobInfo &info) |
| | Negate. More...
|
| |
| | THREADED_METHOD1 (UT_VectorT, shouldMultiThread(), negPlus, const UT_VectorT< T > &, v) void negPlusPartial(const UT_VectorT< T > &v |
| |
| | THREADED_METHOD2 (UT_VectorT, shouldMultiThread(), addScaledVec, T, s, const UT_VectorT< T > &, v) void addScaledVecPartial(T s |
| | Add scaled vector. More...
|
| |
| void | addScaledVecNorm2 (T s, const UT_VectorT< T > &v, fpreal64 *norm2) |
| | Add scaled vector and compute the squared L2 norm. More...
|
| |
| void | addScaledVecNorm2UpTo (T s, const UT_VectorT< T > &v, fpreal64 *norm2, exint normlimit) |
| |
| | THREADED_METHOD2 (UT_VectorT< T >, shouldMultiThread(), scaleAddVec, T, s, const UT_VectorT< T > &, v) void scaleAddVecPartial(T s |
| | Scale itself then add vector. More...
|
| |
| | THREADED_METHOD2 (UT_VectorT< T >, shouldMultiThread(), multAndSet, const UT_VectorT< T > &, a, const UT_VectorT< T > &, b) void multAndSetPartial(const UT_VectorT< T > &a |
| |
| void | multSetAndDotUpTo (const UT_VectorT< T > &a, const UT_VectorT< T > &b, fpreal64 *dot_aba, exint dotlimit) |
| |
| | THREADED_METHOD2 (UT_VectorT< T >, shouldMultiThread(), divAndSet, const UT_VectorT< T > &, a, const UT_VectorT< T > &, b) void divAndSetPartial(const UT_VectorT< T > &a |
| |
| | THREADED_METHOD1 (UT_VectorT< T >, shouldMultiThread(), safeInvertAndSet, const UT_VectorT< T > &, a) void safeInvertAndSetPartial(const UT_VectorT< T > &a |
| |
| | THREADED_METHOD1 (UT_VectorT< T >, shouldMultiThread(), invertAndSet, const UT_VectorT< T > &, a) void invertAndSetPartial(const UT_VectorT< T > &a |
| |
| T | dot (const UT_VectorT< T > &v) const |
| |
| | THREADED_METHOD1 (UT_VectorT< T >, shouldMultiThread(), copyFrom, const UT_VectorT< T > &, v) void copyFromPartial(const UT_VectorT< T > &v |
| | Multithreaded copy. operator= uses this. More...
|
| |
| UT_VectorT & | operator= (const UT_VectorT< T > &v) |
| |
| UT_VectorT & | operator+= (const UT_VectorT< T > &v) |
| |
| UT_VectorT & | operator-= (const UT_VectorT< T > &v) |
| |
| UT_VectorT & | operator*= (const UT_VectorT< T > &v) |
| | Componentwise multiplication & division. More...
|
| |
| UT_VectorT & | operator/= (const UT_VectorT< T > &v) |
| |
| UT_VectorT & | operator*= (T scalar) |
| | Scalar multiplication and division. More...
|
| |
| UT_VectorT & | operator/= (T scalar) |
| |
| bool | isEqual (const UT_VectorT< T > &v, int64 ulps) |
| |
| std::ostream & | save (std::ostream &os) const |
| | Output. More...
|
| |
| T * | getData () const |
| |
| bool | hasNan () const |
| |
| UT_API void | testForNan () const |
| |
| template<> |
| void | constant (exint nl, exint nh, fpreal32 c) |
| |
| template<> |
| void | constant (exint nl, exint nh, int32 c) |
| |
| template<> |
| void | constant (exint nl, exint nh, fpreal32 c) |
| |
| template<> |
| void | constant (exint nl, exint nh, int32 c) |
| |
| template<> |
| void | negPartial (const UT_JobInfo &info) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator+= (const UT_VectorT< fpreal32 > &v) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator-= (const UT_VectorT< fpreal32 > &v) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator*= (const UT_VectorT< fpreal32 > &v) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator/= (const UT_VectorT< fpreal32 > &v) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator*= (fpreal32 scalar) |
| |
| template<> |
| UT_VectorT< fpreal32 > & | operator/= (fpreal32 scalar) |
| |
|
| | THREADED_METHOD2_CONST (UT_VectorT, shouldMultiThread(), normInternal, fpreal64 *, result, int, type) void normInternalPartial(fpreal64 *result |
| |
| | THREADED_METHOD2_CONST (UT_VectorT, shouldMultiThread(), distance2Internal, fpreal64 *, result, const UT_VectorT< T > &, v) void distance2InternalPartial(fpreal64 *result |
| |
| | THREADED_METHOD2_CONST (UT_VectorT, shouldMultiThread(), dotInternal, fpreal64 *, result, const UT_VectorT< T > &, v) void dotInternalPartial(fpreal64 *result |
| | A multithreaded dot method. More...
|
| |
| | THREADED_METHOD3 (UT_VectorT, shouldMultiThread(), addScaledVecNorm2Internal, T, s, const UT_VectorT< T > &, v, fpreal64 *, norm2) void addScaledVecNorm2InternalPartial(T s |
| |
| | THREADED_METHOD4 (UT_VectorT, shouldMultiThread(), addScaledVecNorm2UpToInternal, T, s, const UT_VectorT< T > &, v, fpreal64 *, norm2, exint, normlimit) void addScaledVecNorm2UpToInternalPartial(T s |
| |
| | THREADED_METHOD4 (UT_VectorT< T >, shouldMultiThread(), multSetAndDotUpToInternal, const UT_VectorT< T > &, a, const UT_VectorT< T > &, b, fpreal64 *, dot_aba, exint, dotlimit) void multSetAndDotUpToInternalPartial(const UT_VectorT< T > &a |
| |
| | THREADED_METHOD3 (UT_VectorT, nh-nl > 4999, constantInternal, exint, nl, exint, nh, T, c) |
| |
| void | constantInternalPartial (exint nl, exint nh, T c, const UT_JobInfo &info) |
| |
template<typename T>
class UT_VectorT< T >
Definition at line 29 of file GA_NUBBasis.h.