codac 2.0.0
Loading...
Searching...
No Matches
codac2_IntervalRow.h File Reference
#include "codac2_matrices.h"
Include dependency graph for codac2_IntervalRow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using codac2::IntervalRow = Eigen::Matrix<Interval,1,-1>
 Alias for a dynamic-size row vector of intervals.
 

Functions

std::ostream & codac2::operator<< (std::ostream &os, const IntervalRow &x)
 Stream output operator for IntervalRow objects.
 

Detailed Description

Date
2024
Author
Simon Rohou
License: GNU Lesser General Public License (LGPL)

Typedef Documentation

◆ IntervalRow

using codac2::IntervalRow = Eigen::Matrix<Interval,1,-1>

Alias for a dynamic-size row vector of intervals.

Represents a row vector with a dynamic number of 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>.

Function Documentation

◆ operator<<()

std::ostream & codac2::operator<< ( std::ostream & os,
const IntervalRow & x )
inline

Stream output operator for IntervalRow objects.

Parameters
osThe output stream to write to.
xThe interval row whose contents are to be printed.
Returns
A reference to the modified output stream.
34 {
35 if(x.is_empty())
36 return os << "[ empty row ]";
37
38 else
39 {
40 os << x.format(codac_row_fmt());
41 return os;
42 }
43 }
Eigen::IOFormat codac_row_fmt()
Provides an Eigen IOFormat for formatting row vectors.
Definition codac2_matrices.h:205