All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces
CompressedMatrix.h File Reference

Implementation of a compressed MxN matrix. More...

#include <algorithm>
#include <functional>
#include <stdexcept>
#include <vector>
#include <blaze/math/expressions/SparseMatrix.h>
#include <blaze/math/Functions.h>
#include <blaze/math/shims/Equal.h>
#include <blaze/math/shims/IsDefault.h>
#include <blaze/math/shims/IsNaN.h>
#include <blaze/math/sparse/MatrixAccessProxy.h>
#include <blaze/math/sparse/SparseElement.h>
#include <blaze/math/traits/AddTrait.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/Types.h>
#include <blaze/math/typetraits/CanAlias.h>
#include <blaze/math/typetraits/IsResizable.h>
#include <blaze/math/typetraits/IsSparseMatrix.h>
#include <blaze/system/Precision.h>
#include <blaze/system/StorageOrder.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/SameSize.h>
#include <blaze/util/constraints/Volatile.h>
#include <blaze/util/EnableIf.h>
#include <blaze/util/mpl/If.h>
#include <blaze/util/Null.h>
#include <blaze/util/Types.h>
#include <blaze/util/typetraits/IsFloatingPoint.h>
#include <blaze/util/typetraits/IsNumeric.h>

Go to the source code of this file.

Classes

class  blaze::CompressedMatrix< Type, SO >
 Efficient implementation of a $ M \times N $ compressed matrix.The CompressedMatrix class template is the representation of an arbitrary sized sparse matrix with $ M \cdot N $ dynamically allocated elements of arbitrary type. The type of the elements and the storage order of the matrix can be specified via the two template parameters: More...
 

Namespaces

namespace  blaze
 Namespace of the Blaze C++ math library.
 

Functions

CompressedMatrix operators
template<typename Type , bool SO>
bool blaze::isnan (const CompressedMatrix< Type, SO > &m)
 Checks the given sparse matrix for not-a-number elements.
 
template<typename Type , bool SO>
void blaze::reset (CompressedMatrix< Type, SO > &m)
 Resetting the given sparse matrix.
 
template<typename Type , bool SO>
void blaze::clear (CompressedMatrix< Type, SO > &m)
 Clearing the given sparse matrix.
 
template<typename Type , bool SO>
bool blaze::isDefault (const CompressedMatrix< Type, SO > &m)
 Returns whether the given sparse matrix is in default state.
 
template<typename Type , bool SO>
const CompressedMatrix< Type, SO > blaze::inv (const CompressedMatrix< Type, SO > &m)
 Inverting the given sparse matrix.
 
template<typename Type , bool SO>
void blaze::swap (CompressedMatrix< Type, SO > &a, CompressedMatrix< Type, SO > &b)
 Swapping the contents of two sparse matrices.
 

Detailed Description

Implementation of a compressed MxN matrix.

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/.