Separate matrix row values with commas
Separating row values with commas is supported by MATLAB so no effect there, but this also helps when printing with Python and C++ since the output can be directly copied without modification.release/4.3a0
parent
56ca889913
commit
0a9cc8ae62
|
@ -142,7 +142,7 @@ void print(const Matrix& A, const string &s, ostream& stream) {
|
|||
static const Eigen::IOFormat matlab(
|
||||
Eigen::StreamPrecision, // precision
|
||||
0, // flags
|
||||
" ", // coeffSeparator
|
||||
", ", // coeffSeparator
|
||||
";\n", // rowSeparator
|
||||
" \t", // rowPrefix
|
||||
"", // rowSuffix
|
||||
|
|
Loading…
Reference in New Issue