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

Go to the source code of this file.

Typedefs

using codac2::Row = Eigen::Matrix<double,1,-1>
 Alias for a dynamically-sized row vector of doubles.
 

Functions

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

Detailed Description

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

Typedef Documentation

◆ Row

using codac2::Row = Eigen::Matrix<double,1,-1>

Alias for a dynamically-sized row vector of doubles.

Defines a convenient shorthand for representing row vectors with dynamic size. This type alias is based on Eigen's matrix template and corresponds to Eigen::Matrix<double,1,-1>.

See also
Eigen::Matrix

Function Documentation

◆ operator<<()

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

Stream output operator for Row objects.

Parameters
osThe output stream to write to.
xThe row whose contents are to be printed.
Returns
A reference to the modified output stream.
34 {
35 os << x.format(codac_row_fmt());
36 return os;
37 }
Eigen::IOFormat codac_row_fmt()
Provides an Eigen IOFormat for formatting row vectors.
Definition codac2_matrices.h:205