WPILibC++ 2023.4.3
frc::Spline< Degree >::ControlVector Struct Reference

Represents a control vector for a spline. More...

#include <frc/spline/Spline.h>

Public Attributes

wpi::array< double,(Degree+1)/2 > x
 
wpi::array< double,(Degree+1)/2 > y
 

Detailed Description

template<int Degree>
struct frc::Spline< Degree >::ControlVector

Represents a control vector for a spline.

Each element in each array represents the value of the derivative at the index. For example, the value of x[2] is the second derivative in the x dimension.

Member Data Documentation

◆ x

template<int Degree>
wpi::array<double, (Degree + 1) / 2> frc::Spline< Degree >::ControlVector::x

◆ y

template<int Degree>
wpi::array<double, (Degree + 1) / 2> frc::Spline< Degree >::ControlVector::y

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