1 #ifndef VIENNACL_LINALG_NORM_FROBENIUS_HPP_
2 #define VIENNACL_LINALG_NORM_FROBENIUS_HPP_
41 #ifdef VIENNACL_WITH_UBLAS
45 template<
typename VectorT >
47 typename VectorT::value_type
59 template<
typename NumericT>
60 scalar_expression< const matrix_base<NumericT>,
const matrix_base<NumericT>, op_norm_frobenius>
Simple enable-if variant that uses the SFINAE pattern.
Dispatch facility for distinguishing between ublas, STL and ViennaCL types.
This file provides the forward declarations for the main types used within ViennaCL.
A proxy for scalar expressions (e.g. from inner vector products)
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
viennacl::vector< float > v1
scalar_expression< const matrix_base< NumericT >, const matrix_base< NumericT >, op_norm_frobenius > norm_frobenius(const matrix_base< NumericT > &A)
A tag class representing the Frobenius-norm of a matrix.
Simple enable-if variant that uses the SFINAE pattern.