Galaxis Codebase  1.0.0
Team Galaxis software stack for the Carolo Cup 2023 - ROS2 based software
polyfit.h File Reference
#include "logging.h"
#include <Eigen/Dense>
#include <set>
#include <vector>
#include <iostream>
#include <boost/random/mersenne_twister.hpp>
#include <boost/random/uniform_int.hpp>
Include dependency graph for polyfit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PolyFit< T >
 
struct  PolyFit< T >::Options
 

Functions

template<typename T >
std::ostream & operator<< (std::ostream &out, PolyFit< T > &f)
 

Function Documentation

◆ operator<<()

template<typename T >
std::ostream& operator<< ( std::ostream &  out,
PolyFit< T > &  f 
)

Definition at line 335 of file polyfit.h.

335  {
336  out << "Polynomial coefficients for " << f.getDegree() << "-nd order:" << std::endl;
337  out << f.getCoefficients() << std::endl;
338  out << "Solver type: " << f.getSolverType();
339  return out;
340 }

References PolyFit< T >::getCoefficients(), PolyFit< T >::getDegree(), and PolyFit< T >::getSolverType().

Here is the call graph for this function:
PolyFit::getDegree
int getDegree() const
Definition: polyfit.h:96
PolyFit::getSolverType
SolverType getSolverType() const
Definition: polyfit.h:100
PolyFit::getCoefficients
const VecType getCoefficients() const
Definition: polyfit.h:104