Public Member Functions | Public Attributes

IOFormat Class Reference

Stores a set of parameters controlling the way matrices are printed. More...

#include <IO.h>

List of all members.

Public Member Functions

 IOFormat (int _precision=StreamPrecision, int _flags=0, const std::string &_coeffSeparator=" ", const std::string &_rowSeparator="\n", const std::string &_rowPrefix="", const std::string &_rowSuffix="", const std::string &_matPrefix="", const std::string &_matSuffix="")

Public Attributes

std::string matPrefix
std::string matSuffix
std::string rowPrefix
std::string rowSuffix
std::string rowSeparator
std::string rowSpacer
std::string coeffSeparator
int precision
int flags

Detailed Description

Stores a set of parameters controlling the way matrices are printed.

List of available parameters:

Example:

Output:

See also:
DenseBase::format(), class WithFormat

Constructor & Destructor Documentation

IOFormat::IOFormat ( int  _precision = StreamPrecision,
int  _flags = 0,
const std::string _coeffSeparator = " ",
const std::string _rowSeparator = "\n",
const std::string _rowPrefix = "",
const std::string _rowSuffix = "",
const std::string _matPrefix = "",
const std::string _matSuffix = "" 
) [inline]

Default contructor, see class IOFormat for the meaning of the parameters


Member Data Documentation


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