OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
floatmatrix.C File Reference
#include "floatmatrix.h"
#include "floatarray.h"
#include "intarray.h"
#include "mathfem.h"
#include "error.h"
#include "datastream.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ostream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <numeric>

Go to the source code of this file.

Namespaces

 oofem
 the oofem namespace is to define a context or scope in which all oofem names are defined.
 

Macros

#define RESIZE(nr, nc)
 

Functions

std::ostream & oofem::operator<< (std::ostream &out, const FloatMatrix &x)
 

Macro Definition Documentation

#define RESIZE (   nr,
  nc 
)
Value:
{ \
this->nRows = nr; this->nColumns = nc; \
int nsize = this->nRows * this->nColumns; \
if ( nsize < ( int ) this->values.size() ) { \
this->values.resize(nsize); \
} else if ( nsize > ( int ) this->values.size() ) { \
this->values.assign(nsize, 0.); \
} \
}

Definition at line 55 of file floatmatrix.C.

Referenced by oofem::FloatMatrix::beDyadicProductOf(), oofem::FloatMatrix::beInverseOf(), oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::beProductTOf(), oofem::FloatMatrix::beTProductOf(), oofem::FloatMatrix::beTranspositionOf(), oofem::FloatMatrix::FloatMatrix(), and oofem::FloatMatrix::operator=().


This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:32 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011