6#ifndef OutputMatlabSpace_hh
7#define OutputMatlabSpace_hh
33 for(
uint i=0; i < T.
n(); ++i) {
38 for(
uint j=0; j < size; ++j) {
57 os << it->first <<
" " <<
targets[i].first <<
" "
93 os <<
"[" << std::endl;
94 for (
int i = 0; i < M; ++i) {
95 for (
int j = 0; j <
N; ++j) {
97 os << ((j ==
N-1) ?
"" :
" ");
99 os << ((i == M-1) ?
"" :
"\n");
uint n() const
Returns the number of columns.
const TMatrix::Control * control(uint i) const
const TMatrix::Data * data(uint i) const
Returns the ith entry of the data array.
Set< F > makeSet(uint n, const F &first,...)
std::ostream & outputMatlab(std::ostream &os, const T &val)
The column header: column index and length of the column data.
The matrix entries: row index and data.
F data
Data at this entry.