IT++ Logo Newcom Logo

gf2mat.h File Reference

Definition of a class for algebra on GF(2) (binary) matrices. More...

#include <itpp/base/vec.h>
#include <itpp/base/mat.h>
#include <itpp/base/svec.h>
#include <itpp/base/smat.h>
#include <itpp/base/itfile.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Classes

class  itpp::GF2mat
 Class for dense GF(2) matrices. More...

Defines

#define lImax   4
#define mImax   15

Typedefs

typedef Sparse_Vec< bin > GF2vec_sparse
 Sparse GF(2) vector.
typedef Sparse_Mat< bin > GF2mat_sparse
 Sparse GF(2) matrix.


Detailed Description

Definition of a class for algebra on GF(2) (binary) matrices.

Author:
Erik G. Larsson
Date
2007-04-18 08:58:29 +0200 (Wed, 18 Apr 2007)
Revision
1013

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)

This program 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 2 of the License, or (at your option) any later version.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Two representations are offered: GF2mat_sparse for sparse GF(2) matrices and GF2mat for dense GF(2) matrices. Conversions between dense and sparse GF(2) are also possible.

Binary vectors are represented either via the bvec class (memory typically is not an issue here) or as n*1 (or 1*n) GF(2) matrix.

Note that the bmat class also provides some functionality for matrix algebra over GF(2) but this class is based on Mat<> which has a fundamentally different addressing mechanism and which is much less memory efficient (Mat<> uses one byte memory minimum per element).

Definition in file gf2mat.h.


Typedef Documentation

typedef Sparse_Vec<bin> itpp::GF2vec_sparse
 

Sparse GF(2) vector.

Definition at line 93 of file gf2mat.h.

typedef Sparse_Mat<bin> itpp::GF2mat_sparse
 

Sparse GF(2) matrix.

Definition at line 96 of file gf2mat.h.

SourceForge Logo

Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1