Standard C++ Library Reference ISO/IEC (VERSION3)
operator<
template<class Ty>
valarray<bool> operator<(const valarray<Ty>& left,
const valarray<Ty>& right);
template<class Ty>
valarray<bool> operator<(const valarray<Ty> left, const Ty& right);
template<class Ty>
valarray<bool> operator<(const Ty& left, const valarray<Ty>& right);
The first template operator returns an object of class valarray<bool>, each of whose elements I is
left[I] < right[I]. The second template operator stores in element I left[I] < right. The
third template operator stores in element I left < right[I].
operator<<
template<class Ty>
valarray<Ty> operator<<(const valarray<Ty>& left,
const valarray<Ty>& right);
template<class Ty>
valarray<Ty> operator<<(const valarray<Ty> left,
const Ty& right);
template<class Ty>
valarray<Ty> operator<<(const Ty& left,
const valarray<Ty>& right);
The first template operator returns an object of class valarray<Ty>, each of whose elements I is
left[I] << right[I]. The second template operator stores in element I left[I] << right. The
third template operator stores in element I left << right[I].
operator<=
template<class Ty>
valarray<bool> operator<=(const valarray<Ty>& left,
const valarray<Ty>& right);
template<class Ty>
valarray<bool> operator<=(const valarray<Ty> left, const Ty& right);
template<class Ty>
valarray<bool> operator<=(const Ty& left, const valarray<Ty>& right);
The first template operator retrrns an object of class valarray<bool>, each of whose elements I is
left[I] <= right[I]. The second template operator stores in element I left[I] <= right. The
third template operator stores in element I left <= right[I].
operator*
template<class Ty>
valarray<Ty> operator*(const valarray<Ty>& left,
const valarray<Ty>& right);