Sleipnir C++ API
Loading...
Searching...
No Matches
Variable.hpp File Reference
#include <algorithm>
#include <concepts>
#include <initializer_list>
#include <type_traits>
#include <utility>
#include <vector>
#include <Eigen/Core>
#include "sleipnir/autodiff/Expression.hpp"
#include "sleipnir/util/Assert.hpp"
#include "sleipnir/util/Concepts.hpp"
#include "sleipnir/util/Print.hpp"
#include "sleipnir/util/SymbolExports.hpp"
#include "sleipnir/util/small_vector.hpp"

Go to the source code of this file.

Classes

class  sleipnir::Variable
 
struct  sleipnir::EqualityConstraints
 
struct  sleipnir::InequalityConstraints
 
struct  Eigen::NumTraits< sleipnir::Variable >
 

Namespaces

namespace  sleipnir
 
namespace  sleipnir::detail
 
namespace  Eigen
 

Functions

SLEIPNIR_DLLEXPORT Variable sleipnir::abs (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::acos (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::asin (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::atan (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::atan2 (const Variable &y, const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::cos (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::cosh (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::erf (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::exp (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::hypot (const Variable &x, const Variable &y)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::pow (const Variable &base, const Variable &power)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::log (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::log10 (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::sign (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::sin (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::sinh (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::sqrt (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::tan (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::tanh (const Variable &x)
 
SLEIPNIR_DLLEXPORT Variable sleipnir::hypot (const Variable &x, const Variable &y, const Variable &z)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
small_vector< Variablesleipnir::MakeConstraints (LHS &&lhs, RHS &&rhs)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
EqualityConstraints sleipnir::operator== (LHS &&lhs, RHS &&rhs)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
InequalityConstraints sleipnir::operator< (LHS &&lhs, RHS &&rhs)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
InequalityConstraints sleipnir::operator<= (LHS &&lhs, RHS &&rhs)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
InequalityConstraints sleipnir::operator> (LHS &&lhs, RHS &&rhs)
 
template<typename LHS , typename RHS >
requires (ScalarLike<std::decay_t<LHS>> || MatrixLike<std::decay_t<LHS>>) && (ScalarLike<std::decay_t<RHS>> || MatrixLike<std::decay_t<RHS>>) && (!std::same_as<std::decay_t<LHS>, double> || !std::same_as<std::decay_t<RHS>, double>)
InequalityConstraints sleipnir::operator>= (LHS &&lhs, RHS &&rhs)
 

Variables

class SLEIPNIR_DLLEXPORT sleipnir::Hessian
 
class SLEIPNIR_DLLEXPORT sleipnir::Jacobian