IT++ Logo

gf2mat.cpp File Reference


Detailed Description

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

Author:
Erik G. Larsson and Adam Piatyszek
-------------------------------------------------------------------------

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

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

Definition in file gf2mat.cpp.

#include <itpp/base/gf2mat.h>
#include <itpp/base/specmat.h>
#include <itpp/base/matfunc.h>
#include <itpp/base/converters.h>
#include <iostream>

Go to the source code of this file.

Namespaces

namespace  itpp

Functions

GF2mat itpp::gf2dense_eye (int m)
 GF(2) Identity matrix.
GF2mat itpp::operator * (const GF2mat &X, const GF2mat &Y)
 GF(2) matrix multiplication.
bvec itpp::operator * (const GF2mat &X, const bvec &y)
 GF(2) matrix multiplication with "regular" binary vector.
GF2mat itpp::mult_trans (const GF2mat &X, const GF2mat &Y)
 Multiplication X*Y' where X and Y are GF(2) matrices.
GF2mat itpp::operator+ (const GF2mat &X, const GF2mat &Y)
 GF(2) matrix addition.
std::ostream & itpp::operator<< (std::ostream &os, const GF2mat &X)
 Output stream (plain text) operator for dense GF(2) matrices.
it_file & itpp::operator<< (it_file &f, const GF2mat &X)
it_ifile & itpp::operator>> (it_ifile &f, GF2mat &X)

SourceForge Logo

Generated on Sun Dec 9 17:30:28 2007 for IT++ by Doxygen 1.5.4