Blaze 3.9
Classes | Functions
DMatDMatMapExpr.h File Reference

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

#include <iterator>
#include <utility>
#include <blaze/math/Aliases.h>
#include <blaze/math/constraints/DenseMatrix.h>
#include <blaze/math/constraints/RequiresEvaluation.h>
#include <blaze/math/constraints/StorageOrder.h>
#include <blaze/math/Exception.h>
#include <blaze/math/expressions/Computation.h>
#include <blaze/math/expressions/DenseMatrix.h>
#include <blaze/math/expressions/Forward.h>
#include <blaze/math/expressions/MatMatMapExpr.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/IsMatrix.h>
#include <blaze/math/typetraits/IsPadded.h>
#include <blaze/math/typetraits/IsPaddingEnabled.h>
#include <blaze/math/typetraits/IsSIMDEnabled.h>
#include <blaze/math/typetraits/RequiresEvaluation.h>
#include <blaze/system/HostDevice.h>
#include <blaze/system/Inline.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>
#include <blaze/util/typetraits/HasMember.h>

Go to the source code of this file.

Classes

class  blaze::DMatDMatMapExpr< MT1, MT2, OP, SO >
 Expression object for the dense matrix-dense matrix map() function. More...
 
class  blaze::DMatDMatMapExpr< MT1, MT2, OP, SO >::ConstIterator
 Iterator over the elements of the dense matrix map expression. More...
 

Functions

template<typename MT1 , typename MT2 , bool SO, typename OP >
decltype(auto) blaze::map (const DenseMatrix< MT1, SO > &lhs, const DenseMatrix< MT2, SO > &rhs, OP op)
 Elementwise evaluation of the given binary operation on each single element of the dense matrices lhs and rhs. More...
 
template<typename MT1 , typename MT2 , typename MT3 , bool SO, typename OP >
decltype(auto) blaze::map (const DenseMatrix< MT1, SO > &dm1, const DenseMatrix< MT2, SO > &dm2, const DenseMatrix< MT3, SO > &dm3, OP op)
 Elementwise evaluation of the given ternary operation on each single element of the dense matrices dm1, dm2 and dm3. More...
 
template<typename MT1 , typename MT2 , typename MT3 , typename MT4 , bool SO, typename OP >
decltype(auto) blaze::map (const DenseMatrix< MT1, SO > &dm1, const DenseMatrix< MT2, SO > &dm2, const DenseMatrix< MT3, SO > &dm3, const DenseMatrix< MT4, SO > &dm4, OP op)
 Elementwise evaluation of the given 4-ary operation on each single element of the dense matrices dm1, dm2, dm3 and dm4. More...
 
template<typename MT1 , typename MT2 , typename MT3 , typename MT4 , typename MT5 , bool SO, typename OP >
decltype(auto) blaze::map (const DenseMatrix< MT1, SO > &dm1, const DenseMatrix< MT2, SO > &dm2, const DenseMatrix< MT3, SO > &dm3, const DenseMatrix< MT4, SO > &dm4, const DenseMatrix< MT5, SO > &dm5, OP op)
 Elementwise evaluation of the given 5-ary operation on each single element of the dense matrices dm1, dm2, dm3, dm4, and dm5. More...
 
template<typename MT1 , typename MT2 , typename MT3 , typename MT4 , typename MT5 , typename MT6 , bool SO, typename OP >
decltype(auto) blaze::map (const DenseMatrix< MT1, SO > &dm1, const DenseMatrix< MT2, SO > &dm2, const DenseMatrix< MT3, SO > &dm3, const DenseMatrix< MT4, SO > &dm4, const DenseMatrix< MT5, SO > &dm5, const DenseMatrix< MT6, SO > &dm6, OP op)
 Elementwise evaluation of the given 6-ary operation on each single element of the dense matrices dm1, dm2, dm3, dm4, dm5, and dm6. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::min (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Computes the componentwise minimum of the dense matrices lhs and rhs. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::max (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Computes the componentwise maximum of the dense matrices lhs and rhs. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::hypot (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Computes the componentwise hypotenous for the dense matrices lhs and rhs. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::pow (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Computes the componentwise exponential value for the dense matrices lhs and rhs. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::atan2 (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Computes the multi-valued inverse tangent of the dense matrices lhs and rhs. More...
 
template<typename MT1 , typename MT2 , typename MT3 , bool SO>
decltype(auto) blaze::select (const DenseMatrix< MT1, SO > &cond, const DenseMatrix< MT2, SO > &lhs, const DenseMatrix< MT3, SO > &rhs)
 Elementwise conditional selection of values from the dense matrices lhs and rhs. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator<< (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Left-shift operator for the elementwise left-shift of a dense matrix. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator>> (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Right-shift operator for the elementwise right-shift of a dense matrix. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator& (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Bitwise AND operator for two dense matrices. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator| (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Bitwise OR operator for two dense matrices. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator^ (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Bitwise XOR operator for two dense matrices. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator&& (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Logical AND operator for two dense matrices. More...
 
template<typename MT1 , bool SO1, typename MT2 , bool SO2>
decltype(auto) blaze::operator|| (const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
 Logical OR operator for two dense matrices. More...
 

Detailed Description

Header file for the dense matrix/dense matrix 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.