Blaze 3.9
Classes | Functions
DVecDVecMapExpr.h File Reference

Header file for the dense vector/dense vector map expression. More...

#include <iterator>
#include <utility>
#include <blaze/math/Aliases.h>
#include <blaze/math/constraints/DenseVector.h>
#include <blaze/math/constraints/RequiresEvaluation.h>
#include <blaze/math/constraints/TransposeFlag.h>
#include <blaze/math/Exception.h>
#include <blaze/math/expressions/Computation.h>
#include <blaze/math/expressions/DenseVector.h>
#include <blaze/math/expressions/Forward.h>
#include <blaze/math/expressions/VecVecMapExpr.h>
#include <blaze/math/functors/And.h>
#include <blaze/math/functors/Atan2.h>
#include <blaze/math/functors/Bitand.h>
#include <blaze/math/functors/Bitor.h>
#include <blaze/math/functors/Bitxor.h>
#include <blaze/math/functors/Hypot.h>
#include <blaze/math/functors/Join.h>
#include <blaze/math/functors/MakePair.h>
#include <blaze/math/functors/Max.h>
#include <blaze/math/functors/Min.h>
#include <blaze/math/functors/Or.h>
#include <blaze/math/functors/Pow.h>
#include <blaze/math/functors/ShiftLV.h>
#include <blaze/math/functors/ShiftRV.h>
#include <blaze/math/shims/Serial.h>
#include <blaze/math/SIMD.h>
#include <blaze/math/traits/MapTrait.h>
#include <blaze/math/typetraits/HasLoad.h>
#include <blaze/math/typetraits/IsAligned.h>
#include <blaze/math/typetraits/IsExpression.h>
#include <blaze/math/typetraits/IsPadded.h>
#include <blaze/math/typetraits/IsPaddingEnabled.h>
#include <blaze/math/typetraits/IsSIMDEnabled.h>
#include <blaze/math/typetraits/IsVector.h>
#include <blaze/math/typetraits/RequiresEvaluation.h>
#include <blaze/system/HostDevice.h>
#include <blaze/system/Inline.h>
#include <blaze/system/MacroDisable.h>
#include <blaze/util/Assert.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/FunctionTrace.h>
#include <blaze/util/IntegralConstant.h>
#include <blaze/util/mpl/If.h>
#include <blaze/util/Types.h>

Go to the source code of this file.

Classes

class  blaze::DVecDVecMapExpr< VT1, VT2, OP, TF >
 Expression object for the dense vector-dense vector map() function. More...
 
class  blaze::DVecDVecMapExpr< VT1, VT2, OP, TF >::ConstIterator
 Iterator over the elements of the dense vector map expression. More...
 

Functions

template<typename VT1 , typename VT2 , bool TF, typename OP >
decltype(auto) blaze::map (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs, OP op)
 Elementwise evaluation of the given binary operation on each single element of the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , typename VT3 , bool TF, typename OP >
decltype(auto) blaze::map (const DenseVector< VT1, TF > &dv1, const DenseVector< VT2, TF > &dv2, const DenseVector< VT3, TF > &dv3, OP op)
 Elementwise evaluation of the given ternary operation on each single element of the dense vectors dv1, dv2, and dv3. More...
 
template<typename VT1 , typename VT2 , typename VT3 , typename VT4 , bool TF, typename OP >
decltype(auto) blaze::map (const DenseVector< VT1, TF > &dv1, const DenseVector< VT2, TF > &dv2, const DenseVector< VT3, TF > &dv3, const DenseVector< VT4, TF > &dv4, OP op)
 Elementwise evaluation of the given 4-ary operation on each single element of the dense vectors dv1, dv2, dv3, and dv4. More...
 
template<typename VT1 , typename VT2 , typename VT3 , typename VT4 , typename VT5 , bool TF, typename OP >
decltype(auto) blaze::map (const DenseVector< VT1, TF > &dv1, const DenseVector< VT2, TF > &dv2, const DenseVector< VT3, TF > &dv3, const DenseVector< VT4, TF > &dv4, const DenseVector< VT5, TF > &dv5, OP op)
 Elementwise evaluation of the given 5-ary operation on each single element of the dense vectors dv1, dv2, dv3, dv4, and dv5. More...
 
template<typename VT1 , typename VT2 , typename VT3 , typename VT4 , typename VT5 , typename VT6 , bool TF, typename OP >
decltype(auto) blaze::map (const DenseVector< VT1, TF > &dv1, const DenseVector< VT2, TF > &dv2, const DenseVector< VT3, TF > &dv3, const DenseVector< VT4, TF > &dv4, const DenseVector< VT5, TF > &dv5, const DenseVector< VT6, TF > &dv6, OP op)
 Elementwise evaluation of the given 6-ary operation on each single element of the dense vectors dv1, dv2, dv3, dv4, dv5, and dv6. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::min (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Computes the componentwise minimum of the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::max (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Computes the componentwise maximum of the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::hypot (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Computes the componentwise hypotenous for the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::pow (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Computes the componentwise exponential value for the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::atan2 (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Computes the multi-valued inverse tangent of the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , typename VT3 , bool TF>
decltype(auto) blaze::select (const DenseVector< VT1, TF > &cond, const DenseVector< VT2, TF > &lhs, const DenseVector< VT3, TF > &rhs)
 Elementwise conditional selection of values from the dense vectors lhs and rhs. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator<< (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Left-shift operator for the elementwise left-shift of a dense vector. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator>> (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Right-shift operator for the elementwise right-shift of a dense vector. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator& (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Bitwise AND operator for two dense vectors. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator| (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Bitwise OR operator for two dense vectors. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator^ (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Bitwise XOR operator for two dense vectors. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator&& (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Logical AND operator for two dense vectors. More...
 
template<typename VT1 , typename VT2 , bool TF>
decltype(auto) blaze::operator|| (const DenseVector< VT1, TF > &lhs, const DenseVector< VT2, TF > &rhs)
 Logical OR operator for two dense vectors. More...
 

Detailed Description

Header file for the dense vector/dense vector map expression.

Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved

This file is part of the Blaze library. You can redistribute it and/or modify it under the terms of the New (Revised) BSD License. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the names of the Blaze development group nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.