![]() |
Header file for the sparse 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/DenseVector.h>
#include <blaze/math/constraints/RequiresEvaluation.h>
#include <blaze/math/constraints/RowMajorMatrix.h>
#include <blaze/math/constraints/RowVector.h>
#include <blaze/math/constraints/SparseMatrix.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/MatReduceExpr.h>
#include <blaze/math/expressions/SparseMatrix.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/traits/ReduceTrait.h>
#include <blaze/math/typetraits/IsExpression.h>
#include <blaze/math/typetraits/RequiresEvaluation.h>
#include <blaze/math/views/Check.h>
#include <blaze/system/Thresholds.h>
#include <blaze/util/Assert.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>
Go to the source code of this file.
Classes | |
struct | blaze::SMatReduceExpr< MT, OP, RF > |
Base template for row-major sparse matrix reduction operations.The SMatReduceExpr class represents the compile time expression for partial reduction operations of row-major sparse matrices. More... | |
struct | blaze::SMatReduceExpr< MT, OP, 0UL > |
Expression object for column-wise row-major sparse matrix reduction operations.This specialization of the SMatReduceExpr class template represents the compile time expression for column-wise reduction operations of row-major sparse matrices. More... | |
struct | blaze::SMatReduceExpr< MT, OP, rowwise > |
Expression object for row-wise row-major sparse matrix reduction operations.This specialization of the SMatReduceExpr class template represents the compile time expression for row-wise reduction operations of row-major sparse matrices. More... | |
class | blaze::SMatReduceExpr< 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 SparseMatrix< MT, SO > &sm, OP op) |
Performs a custom reduction operation on the given sparse matrix. More... | |
template<size_t RF, typename MT , bool SO, typename OP > | |
decltype(auto) | blaze::reduce (const SparseMatrix< MT, SO > &sm, OP op) |
Performs a custom reduction operation on the given sparse matrix. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::sum (const SparseMatrix< MT, SO > &sm) |
Reduces the given sparse matrix by means of addition. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::sum (const SparseMatrix< MT, SO > &sm) |
Reduces the given sparse matrix by means of addition. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::prod (const SparseMatrix< MT, SO > &sm) |
Reduces the given sparse matrix by means of multiplication. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::prod (const SparseMatrix< MT, SO > &sm) |
Reduces the given sparse matrix by means of multiplication. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::min (const SparseMatrix< MT, SO > &sm) |
Returns the smallest element of the sparse matrix. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::min (const SparseMatrix< MT, SO > &sm) |
Returns the smallest element of each row/columns of the sparse matrix. More... | |
template<typename MT , bool SO> | |
decltype(auto) | blaze::max (const SparseMatrix< MT, SO > &sm) |
Returns the largest element of the sparse matrix. More... | |
template<size_t RF, typename MT , bool SO> | |
decltype(auto) | blaze::max (const SparseMatrix< MT, SO > &sm) |
Returns the largest element of each row/columns of the sparse matrix. More... | |
Header file for the sparse matrix reduce expression.
Copyright (C) 2012-2018 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.