WPILibC++ 2025.1.1
|
Classes | |
struct | Expression |
An autodiff expression node. More... | |
class | ExpressionGraph |
This class is an adaptor type that performs value updates of an expression's computational graph in a way that skips duplicates. More... | |
Typedefs | |
using | ExpressionPtr = IntrusiveSharedPtr<Expression> |
Typedef for intrusive shared pointer to Expression. | |
Functions | |
void | IntrusiveSharedPtrIncRefCount (Expression *expr) |
Refcount increment for intrusive shared pointer. | |
void | IntrusiveSharedPtrDecRefCount (Expression *expr) |
Refcount decrement for intrusive shared pointer. | |
template<typename... Args> | |
static ExpressionPtr | MakeExpressionPtr (Args &&... args) |
Creates an intrusive shared pointer to an expression from the global pool allocator. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | exp ( const ExpressionPtr &x) |
std::exp() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | sin ( const ExpressionPtr &x) |
std::sin() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | sinh (const ExpressionPtr &x) |
std::sinh() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | sqrt ( const ExpressionPtr &x) |
std::sqrt() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | abs (const ExpressionPtr &x) |
std::abs() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | acos (const ExpressionPtr &x) |
std::acos() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | asin (const ExpressionPtr &x) |
std::asin() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | atan (const ExpressionPtr &x) |
std::atan() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | atan2 (const ExpressionPtr &y, const ExpressionPtr &x) |
std::atan2() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | cos (const ExpressionPtr &x) |
std::cos() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | cosh (const ExpressionPtr &x) |
std::cosh() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | erf (const ExpressionPtr &x) |
std::erf() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | hypot (const ExpressionPtr &x, const ExpressionPtr &y) |
std::hypot() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | log (const ExpressionPtr &x) |
std::log() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | log10 (const ExpressionPtr &x) |
std::log10() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | pow (const ExpressionPtr &base, const ExpressionPtr &power) |
std::pow() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | sign (const ExpressionPtr &x) |
sign() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | tan (const ExpressionPtr &x) |
std::tan() for Expressions. | |
SLEIPNIR_DLLEXPORT ExpressionPtr | tanh (const ExpressionPtr &x) |
std::tanh() for Expressions. | |
Variables | |
constexpr bool | kUsePoolAllocator = true |
struct SLEIPNIR_DLLEXPORT | Expression |
Typedef for intrusive shared pointer to Expression.
|
inline |
std::abs() for Expressions.
x | The argument. |
|
inline |
std::acos() for Expressions.
x | The argument. |
|
inline |
std::asin() for Expressions.
x | The argument. |
|
inline |
std::atan() for Expressions.
x | The argument. |
|
inline |
std::atan2() for Expressions.
y | The y argument. |
x | The x argument. |
|
inline |
std::cos() for Expressions.
x | The argument. |
|
inline |
std::cosh() for Expressions.
x | The argument. |
|
inline |
std::erf() for Expressions.
x | The argument. |
|
inline |
std::exp() for Expressions.
x | The argument. |
|
inline |
std::hypot() for Expressions.
x | The x argument. |
y | The y argument. |
|
inline |
Refcount decrement for intrusive shared pointer.
expr | The shared pointer's managed object. |
|
inline |
Refcount increment for intrusive shared pointer.
expr | The shared pointer's managed object. |
|
inline |
std::log() for Expressions.
x | The argument. |
|
inline |
std::log10() for Expressions.
x | The argument. |
|
static |
Creates an intrusive shared pointer to an expression from the global pool allocator.
args | Constructor arguments for Expression. |
|
inline |
std::pow() for Expressions.
base | The base. |
power | The power. |
|
inline |
sign() for Expressions.
x | The argument. |
|
inline |
std::sin() for Expressions.
x | The argument. |
|
inline |
std::sinh() for Expressions.
x | The argument. |
|
inline |
std::sqrt() for Expressions.
x | The argument. |
|
inline |
std::tan() for Expressions.
x | The argument. |
|
inline |
std::tanh() for Expressions.
x | The argument. |
struct SLEIPNIR_DLLEXPORT sleipnir::detail::Expression |
|
inlineconstexpr |