CoCoALib-0.9905 date: 23 May 2007


DiagMatrix.H

Go to the documentation of this file.
00001 #ifndef CoCoA_DiagMatrix_H
00002 #define CoCoA_DiagMatrix_H
00003 
00004 //   Copyright (c)  2005  John Abbott
00005 
00006 //   This file is part of the source of CoCoALib, the CoCoA Library.
00007 
00008 //   CoCoALib is free software; you can redistribute it and/or modify
00009 //   it under the terms of the GNU General Public License (version 2)
00010 //   as published by the Free Software Foundation.  A copy of the full
00011 //   licence may be found in the file COPYING in this directory.
00012 
00013 //   CoCoALib is distributed in the hope that it will be useful,
00014 //   but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 //   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 //   GNU General Public License for more details.
00017 
00018 //   You should have received a copy of the GNU General Public License
00019 //   along with CoCoA; if not, write to the Free Software
00020 //   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021 
00022 
00023 #include <cstddef>
00024 //using std::size_t;
00025 #include <vector>
00026 //using std::vector;
00027 
00028 
00029 namespace CoCoA
00030 {
00031 
00032   class ConstMatrix; // forward declaration -- defined in matrix.H
00033   class RingElem;    // forward declaration -- defined in ring.H
00034   class matrix;      // forward declaration -- defined in matrix.H
00035   class ring;        // forward declaration -- defined in ring.H
00036 
00037   /*-----------------------------------------------------------------*/
00038   /** \include DiagMatrix.txt  */
00039   /*-----------------------------------------------------------------*/
00040   matrix NewDiagMatrix(const ring& R, std::size_t NumRows, std::size_t NumCols);
00041   matrix NewDiagMatrix(const ring& R, std::size_t NumRows, std::size_t NumCols, std::vector<RingElem> DiagEntries);
00042 //???  matrix NewDiagMatrix(ConstMatrix M);
00043 
00044 } // end of namespace CoCoA
00045 
00046 #endif

Generated on Wed May 23 13:43:34 2007 for CoCoALib by  doxygen 1.4.6