![]() |
Blaze
3.6
|
Header file for the dense matrix reduce expression. More...
#include <iterator>
#include <blaze/math/Aliases.h>
#include <blaze/math/constraints/ColumnMajorMatrix.h>
#include <blaze/math/constraints/ColumnVector.h>
#include <blaze/math/constraints/DenseMatrix.h>
#include <blaze/math/constraints/DenseVector.h>
#include <blaze/math/constraints/RequiresEvaluation.h>
#include <blaze/math/constraints/RowMajorMatrix.h>
#include <blaze/math/constraints/RowVector.h>
#include <blaze/math/Exception.h>
#include <blaze/math/expressions/Computation.h>
#include <blaze/math/expressions/DenseMatrix.h>
#include <blaze/math/expressions/DenseVector.h>
#include <blaze/math/expressions/Forward.h>
#include <blaze/math/expressions/MatReduceExpr.h>
#include <blaze/math/functors/Add.h>
#include <blaze/math/functors/Max.h>
#include <blaze/math/functors/Min.h>
#include <blaze/math/functors/Mult.h>
#include <blaze/math/ReductionFlag.h>
#include <blaze/math/shims/Serial.h>
#include <blaze/math/SIMD.h>
#include <blaze/math/traits/ReduceTrait.h>
#include <blaze/math/typetraits/HasLoad.h>
#include <blaze/math/typetraits/IsExpression.h>
#include <blaze/math/typetraits/IsPadded.h>
#include <blaze/math/typetraits/IsSIMDEnabled.h>
#include <blaze/math/typetraits/IsUniform.h>
#include <blaze/math/typetraits/RequiresEvaluation.h>
#include <blaze/math/views/Check.h>
#include <blaze/system/HostDevice.h>
#include <blaze/system/Thresholds.h>
#include <blaze/util/Assert.h>
#include <blaze/util/DisableIf.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/FunctionTrace.h>
#include <blaze/util/mpl/If.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/HasMember.h>
#include <blaze/util/typetraits/IsSame.h>
#include <blaze/util/typetraits/RemoveReference.h>
Go to the source code of this file.
Classes | |
class | blaze::DMatReduceExpr< MT, OP, RF > |
Base template for row-major dense matrix partial reduction operations.The DMatReduceExpr class represents the compile time expression for partial reduction operations of row-major dense matrices. More... | |
class | blaze::DMatReduceExpr< MT, OP, columnwise > |
Expression object for column-wise row-major dense matrix reduction operations.This specialization of the DMatReduceExpr class template represents the compile time expression for column-wise reduction operations of row-major dense matrices. More... | |
class | blaze::DMatReduceExpr< MT, OP, rowwise > |
Expression object for row-wise row-major dense matrix reduction operations.This specialization of the DMatReduceExpr class template represents the compile time expression for row-wise reduction operations of row-major dense matrices. More... | |
class | blaze::DMatReduceExpr< MT, OP, rowwise >::ConstIterator |
Iterator over the elements of the dense vector. More... | |
Namespaces | |
blaze | |
Namespace of the Blaze C++ math library. | |
Functions | |
template<typename MT , bool SO, typename OP > | |
decltype(auto) | blaze::reduce (const DenseMatrix< MT, SO > &dm, OP op) |
Performs a custom reduction operation on the given dense matrix. More... | |
template<size_t RF, typename MT , bool SO, typename OP > | |
decltype(auto) | blaze::reduce (const DenseMatrix< MT, SO > &dm, OP op) |
Performs a custom reduction operation on the given dense matrix. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::sum (const DenseMatrix< MT, SO > &dm) |
Reduces the given dense matrix by means of addition. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::sum (const DenseMatrix< MT, SO > &dm) |
Reduces the given dense matrix by means of addition. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::prod (const DenseMatrix< MT, SO > &dm) |
Reduces the given dense matrix by means of multiplication. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::prod (const DenseMatrix< MT, SO > &dm) |
Reduces the given dense matrix by means of multiplication. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::min (const DenseMatrix< MT, SO > &dm) |
Returns the smallest element of the dense matrix. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::min (const DenseMatrix< MT, SO > &dm) |
Returns the smallest element of each row/columns of the dense matrix. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::max (const DenseMatrix< MT, SO > &dm) |
Returns the largest element of the dense matrix. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::max (const DenseMatrix< MT, SO > &dm) |
Returns the largest element of each row/columns of the dense matrix. More... | |
Header file for the dense matrix reduce expression.
Copyright (C) 2012-2019 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:
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.