Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
lampda::utils::curves::LinearCurve< T, U > Class Template Reference

Given a set of points, will fit multiple linear segments to it. More...

#include <curves.h>

Public Types

using point_t = Point< T, U >
 point in the linear curve
 

Public Member Functions

 LinearCurve (const std::vector< point_t > &points)
 Build a curve from a set of points.
 
sample (const T x) const
 Sample a point Y from a given x.
 

Detailed Description

template<typename T, typename U>
class lampda::utils::curves::LinearCurve< T, U >

Given a set of points, will fit multiple linear segments to it.

Parameters
[in]TType of X coordinates
[in]Utype of Y coordinates

The documentation for this class was generated from the following file: