Michele De Stefano's C++ Utilities
mds_utils::ublas::is_compressed_matrix< T, typename std::enable_if< boost::mpl::and_< std::is_base_of< boost::numeric::ublas::matrix_container< T >, T >, has_storage_category< T >, has_index_array_type< T >, has_value_array_type< T >, std::is_same< typename T::storage_category, boost::numeric::ublas::sparse_tag > >::value >::type > Struct Template Reference

Detects if a data type is a boost::numeric::ublas::compressed_matrix. More...

#include <mds_utils/ublas/traits.hpp>

Inheritance diagram for mds_utils::ublas::is_compressed_matrix< T, typename std::enable_if< boost::mpl::and_< std::is_base_of< boost::numeric::ublas::matrix_container< T >, T >, has_storage_category< T >, has_index_array_type< T >, has_value_array_type< T >, std::is_same< typename T::storage_category, boost::numeric::ublas::sparse_tag > >::value >::type >:

Detailed Description

template<class T>
struct mds_utils::ublas::is_compressed_matrix< T, typename std::enable_if< boost::mpl::and_< std::is_base_of< boost::numeric::ublas::matrix_container< T >, T >, has_storage_category< T >, has_index_array_type< T >, has_value_array_type< T >, std::is_same< typename T::storage_category, boost::numeric::ublas::sparse_tag > >::value >::type >

Detects if a data type is a boost::numeric::ublas::compressed_matrix.

Template Parameters
TThe data type to be tested. If T is a boost::numeric::ublas::compressed_matrix then mds_utils::is_compressed_matrix<T> inherits from std::true_type; otherwise it inherits from std::false_type.
See also
test_traits.cpp (usage example)
Author
Michele De Stefano
Date
25/05/2014

Definition at line 182 of file traits.hpp.


The documentation for this struct was generated from the following file: