![]() |
Header file for the implementation of the Subvector view. More...
#include <blaze/math/Aliases.h>
#include <blaze/math/AlignmentFlag.h>
#include <blaze/math/Exception.h>
#include <blaze/math/expressions/Vector.h>
#include <blaze/math/shims/IsDefault.h>
#include <blaze/math/shims/Serial.h>
#include <blaze/math/traits/AddTrait.h>
#include <blaze/math/traits/CrossTrait.h>
#include <blaze/math/traits/DivTrait.h>
#include <blaze/math/traits/MultTrait.h>
#include <blaze/math/traits/SubTrait.h>
#include <blaze/math/traits/SubvectorExprTrait.h>
#include <blaze/math/traits/SubvectorTrait.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/IsCrossExpr.h>
#include <blaze/math/typetraits/IsTransExpr.h>
#include <blaze/math/typetraits/IsVecEvalExpr.h>
#include <blaze/math/typetraits/IsVecForEachExpr.h>
#include <blaze/math/typetraits/IsVecScalarDivExpr.h>
#include <blaze/math/typetraits/IsVecScalarMultExpr.h>
#include <blaze/math/typetraits/IsVecSerialExpr.h>
#include <blaze/math/typetraits/IsVecTransExpr.h>
#include <blaze/math/typetraits/IsVecVecAddExpr.h>
#include <blaze/math/typetraits/IsVecVecDivExpr.h>
#include <blaze/math/typetraits/IsVecVecMultExpr.h>
#include <blaze/math/typetraits/IsVecVecSubExpr.h>
#include <blaze/math/views/subvector/BaseTemplate.h>
#include <blaze/math/views/subvector/Dense.h>
#include <blaze/math/views/subvector/Sparse.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 VT , bool TF> | |
SubvectorExprTrait_< VT, unaligned > | blaze::subvector (Vector< VT, TF > &vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given vector. More... | |
template<typename VT , bool TF> | |
const SubvectorExprTrait_< const VT, unaligned > | blaze::subvector (const Vector< VT, TF > &vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given constant vector. More... | |
template<typename VT , bool TF> | |
SubvectorExprTrait_< VT, unaligned > | blaze::subvector (Vector< VT, TF > &&vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given temporary vector. More... | |
template<bool AF, typename VT , bool TF> | |
DisableIf_< Or< IsComputation< VT >, IsTransExpr< VT > >, SubvectorExprTrait_< VT, AF > > | blaze::subvector (Vector< VT, TF > &vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given vector. More... | |
template<bool AF, typename VT , bool TF> | |
const DisableIf_< Or< IsComputation< VT >, IsTransExpr< VT > >, SubvectorExprTrait_< const VT, AF > > | blaze::subvector (const Vector< VT, TF > &vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given constant vector. More... | |
template<bool AF, typename VT , bool TF> | |
DisableIf_< Or< IsComputation< VT >, IsTransExpr< VT > >, SubvectorExprTrait_< VT, AF > > | blaze::subvector (Vector< VT, TF > &&vector, size_t index, size_t size) |
Creating a view on a specific subvector of the given temporary vector. More... | |
Subvector operators | |
template<typename VT , bool AF, bool TF, bool DF> | |
void | blaze::reset (Subvector< VT, AF, TF, DF > &sv) |
Resetting the given subvector. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
void | blaze::clear (Subvector< VT, AF, TF, DF > &sv) |
Clearing the given subvector. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
bool | blaze::isDefault (const Subvector< VT, AF, TF, DF > &sv) |
Returns whether the given subvector is in default state. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
bool | blaze::isIntact (const Subvector< VT, AF, TF, DF > &sv) noexcept |
Returns whether the invariants of the given subvector vector are intact. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
bool | blaze::isSame (const Subvector< VT, AF, TF, DF > &a, const Vector< VT, TF > &b) noexcept |
Returns whether the given vector and subvector represent the same observable state. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
bool | blaze::isSame (const Vector< VT, TF > &a, const Subvector< VT, AF, TF, DF > &b) noexcept |
Returns whether the given vector and subvector represent the same observable state. More... | |
template<typename VT , bool AF, bool TF, bool DF> | |
bool | blaze::isSame (const Subvector< VT, AF, TF, DF > &a, const Subvector< VT, AF, TF, DF > &b) noexcept |
Returns whether the two given subvectors represent the same observable state. More... | |
Header file for the implementation of the Subvector 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.