![]() |
Header file for the implementation of the Submatrix view. More...
#include <blaze/math/Aliases.h>
#include <blaze/math/AlignmentFlag.h>
#include <blaze/math/constraints/MutableDataAccess.h>
#include <blaze/math/constraints/RequiresEvaluation.h>
#include <blaze/math/expressions/Matrix.h>
#include <blaze/math/Functions.h>
#include <blaze/math/InversionFlag.h>
#include <blaze/math/shims/Serial.h>
#include <blaze/math/traits/AddTrait.h>
#include <blaze/math/traits/ColumnTrait.h>
#include <blaze/math/traits/DerestrictTrait.h>
#include <blaze/math/traits/DivTrait.h>
#include <blaze/math/traits/MultTrait.h>
#include <blaze/math/traits/RowTrait.h>
#include <blaze/math/traits/SubmatrixExprTrait.h>
#include <blaze/math/traits/SubmatrixTrait.h>
#include <blaze/math/traits/SubvectorExprTrait.h>
#include <blaze/math/traits/SubTrait.h>
#include <blaze/math/typetraits/HasConstDataAccess.h>
#include <blaze/math/typetraits/HasMutableDataAccess.h>
#include <blaze/math/typetraits/IsAligned.h>
#include <blaze/math/typetraits/IsComputation.h>
#include <blaze/math/typetraits/IsLower.h>
#include <blaze/math/typetraits/IsMatEvalExpr.h>
#include <blaze/math/typetraits/IsMatForEachExpr.h>
#include <blaze/math/typetraits/IsMatMatAddExpr.h>
#include <blaze/math/typetraits/IsMatMatMultExpr.h>
#include <blaze/math/typetraits/IsMatMatSubExpr.h>
#include <blaze/math/typetraits/IsMatScalarDivExpr.h>
#include <blaze/math/typetraits/IsMatScalarMultExpr.h>
#include <blaze/math/typetraits/IsMatSerialExpr.h>
#include <blaze/math/typetraits/IsMatTransExpr.h>
#include <blaze/math/typetraits/IsMatVecMultExpr.h>
#include <blaze/math/typetraits/IsRestricted.h>
#include <blaze/math/typetraits/IsStrictlyLower.h>
#include <blaze/math/typetraits/IsStrictlyUpper.h>
#include <blaze/math/typetraits/IsTransExpr.h>
#include <blaze/math/typetraits/IsTVecMatMultExpr.h>
#include <blaze/math/typetraits/IsUpper.h>
#include <blaze/math/typetraits/IsVecTVecMultExpr.h>
#include <blaze/math/views/submatrix/BaseTemplate.h>
#include <blaze/math/views/submatrix/Dense.h>
#include <blaze/math/views/submatrix/Sparse.h>
#include <blaze/math/views/Subvector.h>
#include <blaze/util/DisableIf.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/IntegralConstant.h>
#include <blaze/util/logging/FunctionTrace.h>
#include <blaze/util/mpl/Or.h>
#include <blaze/util/TrueType.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/RemoveReference.h>
Go to the source code of this file.
Namespaces | |
blaze | |
Namespace of the Blaze C++ math library. | |
Functions | |
template<typename MT , bool SO> | |
SubmatrixExprTrait_< MT, unaligned > | blaze::submatrix (Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given matrix. More... | |
template<typename MT , bool SO> | |
const SubmatrixExprTrait_< const MT, unaligned > | blaze::submatrix (const Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given constant matrix. More... | |
template<typename MT , bool SO> | |
SubmatrixExprTrait_< MT, unaligned > | blaze::submatrix (Matrix< MT, SO > &&matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given temporary matrix. More... | |
template<bool AF, typename MT , bool SO> | |
DisableIf_< Or< IsComputation< MT >, IsTransExpr< MT > >, SubmatrixExprTrait_< MT, AF > > | blaze::submatrix (Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given matrix. More... | |
template<bool AF, typename MT , bool SO> | |
const DisableIf_< Or< IsComputation< MT >, IsTransExpr< MT > >, SubmatrixExprTrait_< const MT, AF > > | blaze::submatrix (const Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given constant matrix. More... | |
template<bool AF, typename MT , bool SO> | |
DisableIf_< Or< IsComputation< MT >, IsTransExpr< MT > >, SubmatrixExprTrait_< MT, AF > > | blaze::submatrix (Matrix< MT, SO > &&matrix, size_t row, size_t column, size_t m, size_t n) |
Creating a view on a specific submatrix of the given temporary matrix. More... | |
Submatrix operators | |
template<typename MT , bool AF, bool SO, bool DF> | |
void | blaze::reset (Submatrix< MT, AF, SO, DF > &sm) |
Resetting the given submatrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
void | blaze::reset (Submatrix< MT, AF, SO, DF > &sm, size_t i) |
Reset the specified row/column of the given submatrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
void | blaze::clear (Submatrix< MT, AF, SO, DF > &sm) |
Clearing the given matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isDefault (const Submatrix< MT, AF, SO, DF > &sm) |
Returns whether the given submatrix is in default state. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isIntact (const Submatrix< MT, AF, SO, DF > &sm) noexcept |
Returns whether the invariants of the given submatrix are intact. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isSymmetric (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is symmetric. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isHermitian (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is Hermitian. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isLower (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is a lower triangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isUniLower (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is a lower unitriangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isStrictlyLower (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is a strictly lower triangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isUpper (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is an upper triangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isUniUpper (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is an upper unitriangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isStrictlyUpper (const Submatrix< MT, AF, SO, DF > &sm) |
Checks if the given submatrix is a strictly upper triangular matrix. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isSame (const Submatrix< MT, AF, SO, DF > &a, const Matrix< MT, SO > &b) noexcept |
Returns whether the given matrix and submatrix represent the same observable state. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isSame (const Matrix< MT, SO > &a, const Submatrix< MT, AF, SO, DF > &b) noexcept |
Returns whether the given matrix and submatrix represent the same observable state. More... | |
template<typename MT , bool AF, bool SO, bool DF> | |
bool | blaze::isSame (const Submatrix< MT, AF, SO, DF > &a, const Submatrix< MT, AF, SO, DF > &b) noexcept |
Returns whether the two given submatrices represent the same observable state. More... | |
Header file for the implementation of the Submatrix view.
Copyright (C) 2013 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.