LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
loos::PreciseMatrixFormatter< T > Class Template Reference

Generic matrix element formatter allowing setting of width and precision. More...

#include <MatrixWrite.hpp>

Public Member Functions

 PreciseMatrixFormatter (const int width, const int precision)
 
std::string operator() (const T &t)
 

Detailed Description

template<typename T>
class loos::PreciseMatrixFormatter< T >

Generic matrix element formatter allowing setting of width and precision.

 Example use:
WriteAsciiMatrix(filename, M, meta, false, PreciseMatrixFormatter<double>(16,10));
Simple matrix template class using policy classes to determine behavior.
Definition MatrixImpl.hpp:148

This writes the matrix M to filename using a width of 16 and a precision of 10.


The documentation for this class was generated from the following file: