MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
mh.h File Reference
#include <cmath>
#include <iostream>
#include "ac/f2c.h"
#include "myassert.h"
#include "mynewmem.h"
#include "except.h"
#include "vh.h"
Include dependency graph for mh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MatrixHandler
 
class  MatrixHandler::ErrGeneric
 
class  MatrixHandler::ErrRebuildMatrix
 
class  MatrixHandler::ErrMatrixIsSingular
 

Functions

std::ostream & operator<< (std::ostream &out, const MatrixHandler &MH)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const MatrixHandler MH 
)

Definition at line 524 of file mh.cc.

References MatrixHandler::iGetNumCols(), and MatrixHandler::iGetNumRows().

525 {
526  integer nr = MH.iGetNumRows();
527  integer nc = MH.iGetNumCols();
528 
529  for (integer i = 1; i <= nr; i++) {
530  for (integer j = 1; j <= nc; j++) {
531  out << std::setw(16) << MH(i, j) << ' ';
532  }
533  out << std::endl;
534  }
535 
536  return out;
537 }
virtual integer iGetNumCols(void) const =0
long int integer
Definition: colamd.c:51
virtual integer iGetNumRows(void) const =0

Here is the call graph for this function: