![]() |
Header file for the implementation of a fixed-size vector. More...
#include <algorithm>
#include <stdexcept>
#include <blaze/math/expressions/DenseVector.h>
#include <blaze/math/Forward.h>
#include <blaze/math/Functions.h>
#include <blaze/math/Intrinsics.h>
#include <blaze/math/shims/IsDefault.h>
#include <blaze/math/shims/IsNaN.h>
#include <blaze/math/shims/Reset.h>
#include <blaze/math/traits/AddTrait.h>
#include <blaze/math/traits/CrossTrait.h>
#include <blaze/math/traits/DivTrait.h>
#include <blaze/math/traits/MathTrait.h>
#include <blaze/math/traits/MultTrait.h>
#include <blaze/math/traits/SubTrait.h>
#include <blaze/math/typetraits/IsSparseVector.h>
#include <blaze/system/TransposeFlag.h>
#include <blaze/util/AlignedStorage.h>
#include <blaze/util/Assert.h>
#include <blaze/util/constraints/Const.h>
#include <blaze/util/constraints/Numeric.h>
#include <blaze/util/constraints/Pointer.h>
#include <blaze/util/constraints/Reference.h>
#include <blaze/util/constraints/Vectorizable.h>
#include <blaze/util/constraints/Volatile.h>
#include <blaze/util/DisableIf.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/mpl/If.h>
#include <blaze/util/StaticAssert.h>
#include <blaze/util/Template.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsFloatingPoint.h>
#include <blaze/util/typetraits/IsNumeric.h>
#include <blaze/util/typetraits/IsSame.h>
#include <blaze/util/typetraits/IsVectorizable.h>
Go to the source code of this file.
Classes | |
class | blaze::StaticVector< typename, size_t, bool > |
Efficient implementation of a fixed-sized vector.The StaticVector class template is the representation of a fixed-size vector with statically allocated elements of arbitrary type. The type of the elements, the number of elements and the transpose flag of the vector can be specified via the three template parameters: More... | |
Namespaces | |
namespace | blaze |
Namespace of the Blaze C++ math library. | |
Functions | |
StaticVector operators | |
template<typename Type , size_t N, bool TF> | |
bool | blaze::isnan (const StaticVector< Type, N, TF > &v) |
Checks the given vector for not-a-number elements. More... | |
template<typename Type , size_t N, bool TF> | |
void | blaze::reset (StaticVector< Type, N, TF > &v) |
Resetting the given static vector. More... | |
template<typename Type , size_t N, bool TF> | |
void | blaze::clear (StaticVector< Type, N, TF > &v) |
Clearing the given static vector. More... | |
template<typename Type , size_t N, bool TF> | |
bool | blaze::isDefault (const StaticVector< Type, N, TF > &v) |
Returns whether the given static vector is in default state. More... | |
template<typename Type , bool TF> | |
const StaticVector< Type, 2UL, TF > | blaze::perp (const StaticVector< Type, 2UL, TF > &v) |
Unary perp dot product operator for the calculation of a perpendicular vector ( ![]() | |
template<typename Type , bool TF> | |
const StaticVector< Type, 3UL, TF > | blaze::perp (const StaticVector< Type, 3UL, TF > &v) |
Creates a perpendicular vector b which satisfies ![]() | |
template<typename Type , size_t N, bool TF> | |
void | blaze::swap (StaticVector< Type, N, TF > &a, StaticVector< Type, N, TF > &b) |
Swapping the contents of two 2D vectors. More... | |
Header file for the implementation of a fixed-size vector.
Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
This file is part of the Blaze library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with a special exception for linking and compiling against the Blaze library, the so-called "runtime exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.