WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
fraction_to_the_boundary_rule.hpp File Reference
#include <Eigen/Core>

Go to the source code of this file.

Namespaces

namespace  slp

Functions

template<typename Scalar>
Scalar slp::fraction_to_the_boundary_rule (const Eigen::Vector< Scalar, Eigen::Dynamic > &x, const Eigen::Vector< Scalar, Eigen::Dynamic > &p, Scalar τ)
 Applies fraction-to-the-boundary rule to a variable and its iterate, then returns a fraction of the iterate step size within (0, 1].