Functions |
template<class __value_type , class __memory_space_type > |
bool | cuv::has_inf (const tensor< __value_type, __memory_space_type > &v) |
| Check whether a float vector contains "Inf" or "-Inf".
|
template<class __value_type , class __memory_space_type > |
bool | cuv::has_inf (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
bool | cuv::has_nan (const tensor< __value_type, __memory_space_type > &v) |
| Check whether a float vector contains "NaN".
|
template<class __value_type , class __memory_space_type > |
bool | cuv::has_nan (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
unsigned int | cuv::count (const tensor< __value_type, __memory_space_type > &v, const __value_type &s) |
| Count the elements with a certain scalar value in a vector.
|
template<class __value_type , class __memory_space_type > |
unsigned int | cuv::count (const tensor< __value_type, __memory_space_type, column_major > &v, const __value_type &s) |
template<class __value_type , class __memory_space_type > |
float | cuv::sum (const tensor< __value_type, __memory_space_type > &v) |
| Return the sum of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::sum (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::norm2 (const tensor< __value_type, __memory_space_type > &v) |
| Return the two-norm or Euclidean norm of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::norm2 (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::diff_norm2 (const tensor< __value_type, __memory_space_type > &v, const tensor< __value_type, __memory_space_type > &w) |
| Return the two-norm or of the difference of two vectors.
|
template<class __value_type , class __memory_space_type > |
float | cuv::diff_norm2 (const tensor< __value_type, __memory_space_type, column_major > &v, const tensor< __value_type, __memory_space_type, column_major > &w) |
template<class __value_type , class __memory_space_type > |
float | cuv::norm1 (const tensor< __value_type, __memory_space_type > &v) |
| Return the one-norm or sum-norm of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::norm1 (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::minimum (const tensor< __value_type, __memory_space_type > &v) |
| Return the minimum entry of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::minimum (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::maximum (const tensor< __value_type, __memory_space_type > &v) |
| Return the maximum entry of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::maximum (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::mean (const tensor< __value_type, __memory_space_type > &v) |
| Return the mean of the entries of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::mean (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
float | cuv::var (const tensor< __value_type, __memory_space_type > &v) |
| Return the variation of the entries of a vector.
|
template<class __value_type , class __memory_space_type > |
float | cuv::var (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
tensor< __value_type,
__memory_space_type >
::index_type | cuv::arg_max (const tensor< __value_type, __memory_space_type > &v) |
| Return the index of the maximum element.
|
template<class __value_type , class __memory_space_type > |
tensor< __value_type,
__memory_space_type,
column_major >::index_type | cuv::arg_max (const tensor< __value_type, __memory_space_type, column_major > &v) |
template<class __value_type , class __memory_space_type > |
tensor< __value_type,
__memory_space_type >
::index_type | cuv::arg_min (const tensor< __value_type, __memory_space_type > &v) |
| Return the index of the minimum element.
|
template<class __value_type , class __memory_space_type > |
tensor< __value_type,
__memory_space_type,
column_major >::index_type | cuv::arg_min (const tensor< __value_type, __memory_space_type, column_major > &v) |