2014-02-06 18:52:13 +00:00
|
|
|
/*
|
|
|
|
* Mat.cpp, part of LatAnalyze 3
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 - 2014 Antonin Portelli
|
|
|
|
*
|
|
|
|
* LatAnalyze 3 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 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* LatAnalyze 3 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 LatAnalyze 3. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2013-05-21 18:02:42 +01:00
|
|
|
#include <latan/Mat.hpp>
|
|
|
|
#include <latan/includes.hpp>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
using namespace Latan;
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* DMat class *
|
|
|
|
******************************************************************************/
|
|
|
|
// constructors ////////////////////////////////////////////////////////////////
|
|
|
|
DMat::DMat(void)
|
2014-02-12 18:37:29 +00:00
|
|
|
: Base()
|
2013-05-21 18:02:42 +01:00
|
|
|
{}
|
|
|
|
|
2014-01-22 15:57:47 +00:00
|
|
|
DMat::DMat(const unsigned int nRow, const unsigned int nCol)
|
2014-02-12 18:37:29 +00:00
|
|
|
: Base(nRow, nCol)
|
2013-05-21 18:02:42 +01:00
|
|
|
{}
|
|
|
|
|
2014-02-06 18:08:46 +00:00
|
|
|
unsigned int DMat::getType(void) const
|
2013-05-21 18:02:42 +01:00
|
|
|
{
|
2014-01-22 15:57:47 +00:00
|
|
|
return IoType::dMat;
|
2013-05-21 18:02:42 +01:00
|
|
|
}
|