Drake
Drake C++ Documentation
Loading...
Searching...
No Matches
wrap_to.h File Reference
#include <cmath>
#include "drake/common/double_overloads.h"
#include "drake/common/drake_assert.h"
Include dependency graph for wrap_to.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  drake
namespace  drake::math

Functions

template<class T1, class T2>
T1 wrap_to (const T1 &value, const T2 &low, const T2 &high)
 For variables that are meant to be periodic, (e.g.