Go to the source code of this file.
- Date
- 2024
- Author
- Simon Rohou
- Copyright
- Copyright 2023 Codac Team
- License: GNU Lesser General Public License (LGPL)
◆ IntervalMatrix
Alias for a dynamic-size matrix of intervals.
Represents a matrix with a dynamic number of rows and columns, where each element is an Interval object.
This type alias is based on Eigen's matrix template and corresponds to Eigen::Matrix<Interval,-1,-1>
.
◆ operator<<()
std::ostream & codac2::operator<< |
( |
std::ostream & | os, |
|
|
const IntervalMatrix & | x ) |
|
inline |
Stream output operator for IntervalMatrix
objects.
- Parameters
-
os | The output stream to write to. |
x | The interval matrix whose contents are to be printed. |
- Returns
- A reference to the modified output stream.
35 {
36 if(x.is_empty())
37 return os << "[ empty " << x.rows() << "x" << x.cols() << " mat ]";
38
39 else
40 {
42 return os;
43 }
44 }
Eigen::IOFormat codac_matrix_fmt()
Provides an Eigen IOFormat for formatting matrices.
Definition codac2_matrices.h:232