CUV  0.9.201304091348
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Functions
Kernels
special purpose functions
Collaboration diagram for Kernels:

Functions

template<class __value_type , class __memory_space_type , class __memory_layout_type >
void cuv::libs::kernels::pairwise_distance_l2 (tensor< __value_type, __memory_space_type, __memory_layout_type > &result, const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B, const bool &squared=false)
 determine pairwise distances between rows in argument matrices.
template<class __value_type , class __memory_space_type , class __memory_layout_type >
void cuv::libs::kernels::pairwise_distance_custom (tensor< __value_type, __memory_space_type, __memory_layout_type > &result, const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B)
 more flexible implementation of
template<class __value_type , class __memory_space_type , class __memory_layout_type >
tensor< __value_type,
__memory_space_type,
__memory_layout_type > 
cuv::libs::kernels::pairwise_distance_l2 (const tensor< __value_type, __memory_space_type, __memory_layout_type > &A, const tensor< __value_type, __memory_space_type, __memory_layout_type > &B, const bool &squared=false)
 determine pairwise distances between rows in argument matrices.

Detailed Description

Function Documentation

template<class __value_type , class __memory_space_type , class __memory_layout_type >
void cuv::libs::kernels::pairwise_distance_custom ( tensor< __value_type, __memory_space_type, __memory_layout_type > &  result,
const tensor< __value_type, __memory_space_type, __memory_layout_type > &  A,
const tensor< __value_type, __memory_space_type, __memory_layout_type > &  B 
)

more flexible implementation of

See Also
pairwise_distance_l2.
Parameters
resultdistance matrix (n_rows_A times n_rows_B)
Afirst matrix (n_rows_A times K)
Bsecond matrix (n_rows_B times K)
template<class __value_type , class __memory_space_type , class __memory_layout_type >
void cuv::libs::kernels::pairwise_distance_l2 ( tensor< __value_type, __memory_space_type, __memory_layout_type > &  result,
const tensor< __value_type, __memory_space_type, __memory_layout_type > &  A,
const tensor< __value_type, __memory_space_type, __memory_layout_type > &  B,
const bool &  squared = false 
)

determine pairwise distances between rows in argument matrices.

Parameters
resultdistance matrix (n_rows_A times n_rows_B)
Afirst matrix (n_rows_A times K)
Bsecond matrix (n_rows_B times K)
squaredif true, do not determine square root of the distance
template<class __value_type , class __memory_space_type , class __memory_layout_type >
tensor<__value_type,__memory_space_type,__memory_layout_type> cuv::libs::kernels::pairwise_distance_l2 ( const tensor< __value_type, __memory_space_type, __memory_layout_type > &  A,
const tensor< __value_type, __memory_space_type, __memory_layout_type > &  B,
const bool &  squared = false 
)

determine pairwise distances between rows in argument matrices.

Parameters
Afirst matrix (n_rows_A times K)
Bsecond matrix (n_rows_B times K)
squaredif true, do not determine square root of the distance
Returns
distance matrix (n_rows_A times n_rows_B)

Definition at line 47 of file kernels.hpp.