LCOV - code coverage report
Current view: top level - source - MatrixSolver.cpp (source / functions) Hit Total Coverage
Test: LibForBES Unit Tests Lines: 8 8 100.0 %
Date: 2016-04-18 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* 
       2             :  * File:   MatrixSolver.cpp
       3             :  * Author: Pantelis Sopasakis
       4             :  * 
       5             :  * Created on November 11, 2015, 3:44 AM
       6             :  * 
       7             :  * ForBES is free software: you can redistribute it and/or modify
       8             :  * it under the terms of the GNU Lesser General Public License as published by
       9             :  * the Free Software Foundation, either version 3 of the License, or
      10             :  * (at your option) any later version.
      11             :  *  
      12             :  * ForBES is distributed in the hope that it will be useful,
      13             :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      14             :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
      15             :  * GNU Lesser General Public License for more details.
      16             :  * 
      17             :  * You should have received a copy of the GNU Lesser General Public License
      18             :  * along with ForBES. If not, see <http://www.gnu.org/licenses/>.
      19             :  */
      20             : 
      21             : #include "MatrixSolver.h"
      22             : 
      23             : 
      24          54 : MatrixSolver::MatrixSolver(Matrix& matrix) :
      25          54 : LinSysSolver(), m_matrix(&matrix) {
      26          54 :     m_matrix_nrows = matrix.getNrows();
      27          54 :     m_matrix_ncols = matrix.getNcols();
      28          54 :     m_matrix_type = matrix.getType();
      29          54 : }
      30             : 
      31          53 : MatrixSolver::~MatrixSolver() {
      32          53 : }
      33             : 

Generated by: LCOV version 1.10