CUV  0.9.201304091348
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Functions
Convert matrices and vectors between different formats

Functions

template<class Dst , class Src >
void cuv::convert (Dst &dst, const Src &src)
 Convert matrices and vectors between different formats.

Detailed Description

Function Documentation

template<class Dst , class Src >
void cuv::convert ( Dst &  dst,
const Src &  src 
)

Convert matrices and vectors between different formats.

Parameters
dstDestination
srcSource

This is a special-purpose function for weird cases. In general, you should use operator=.

Converts between:

  • Column major an row major
  • Host and device matrices
  • dense and DIA format
  • ...