1 #ifndef VIENNACL_LINALG_MAXMIN_HPP_
2 #define VIENNACL_LINALG_MAXMIN_HPP_
46 template<
typename NumericT >
63 template<
typename ScalarType>
76 template<
typename LHS,
typename RHS,
typename OP>
90 template<
typename NumericT >
107 template<
typename ScalarType>
119 template<
typename ScalarType>
132 template<
typename LHS,
typename RHS,
typename OP>
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)
An expression template class that represents a binary operation that yields a vector.
A tag class representing the maximum of a vector.
viennacl::vector< float > v1
Common base class for dense vectors, vector ranges, and vector slices.
A tag class representing the minimum of a vector.
NumericT max(std::vector< NumericT > const &v1)
A collection of compile time type deductions.
Simple enable-if variant that uses the SFINAE pattern.
NumericT min(std::vector< NumericT > const &v1)