Expression Templates Library (ETL)
Functions
variadic.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t etl::util::size (size_t first)
 Returns the size of a matrix given its dimensions.
 
template<typename... T>
size_t etl::util::size (size_t first, T... args)
 Returns the size of a matrix given its dimensions.
 
template<size_t... I, typename... T>
size_t etl::util::size (const std::index_sequence< I... > &, const T &... args)
 Returns the size of a matrix given its dimensions.
 

Detailed Description

Contains the safe_cast function overloads.

This function helps generic code in the BLAS/CUBLAS wrappers to be able to convert types from etl::complex to std::complex easily.