|
SLEIPNIR_DLLEXPORT Variable | abs (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | acos (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | asin (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | atan (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | atan2 (const Variable &y, const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | cos (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | cosh (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | erf (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | exp (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | hypot (const Variable &x, const Variable &y) |
|
SLEIPNIR_DLLEXPORT Variable | pow (const Variable &base, const Variable &power) |
|
SLEIPNIR_DLLEXPORT Variable | log (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | log10 (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | sign (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | sin (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | sinh (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | sqrt (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | tan (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | tanh (const Variable &x) |
|
SLEIPNIR_DLLEXPORT Variable | 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< Variable > | 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 | 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 | 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 | 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 | 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 | operator>= (LHS &&lhs, RHS &&rhs) |
|
SLEIPNIR_DLLEXPORT VariableMatrix | CwiseReduce (const VariableMatrix &lhs, const VariableMatrix &rhs, function_ref< Variable(const Variable &x, const Variable &y)> binaryOp) |
|
SLEIPNIR_DLLEXPORT VariableMatrix | Block (std::initializer_list< std::initializer_list< VariableMatrix > > list) |
|
SLEIPNIR_DLLEXPORT VariableMatrix | Block (const std::vector< std::vector< VariableMatrix > > &list) |
|
SLEIPNIR_DLLEXPORT VariableMatrix | Solve (const VariableMatrix &A, const VariableMatrix &B) |
|
template<typename F , typename State , typename Input , typename Time > |
State | RK4 (F &&f, State x, Input u, Time t0, Time dt) |
|
template<typename DecisionVariables > |
MultistartResult< DecisionVariables > | Multistart (function_ref< MultistartResult< DecisionVariables >(const DecisionVariables &initialGuess)> solve, std::span< const DecisionVariables > initialGuesses) |
|
SLEIPNIR_DLLEXPORT void | InteriorPoint (std::span< Variable > decisionVariables, std::span< Variable > equalityConstraints, std::span< Variable > inequalityConstraints, Variable &f, function_ref< bool(const SolverIterationInfo &info)> callback, const SolverConfig &config, bool feasibilityRestoration, Eigen::VectorXd &x, Eigen::VectorXd &s, SolverStatus *status) |
|
SLEIPNIR_DLLEXPORT void | Newton (std::span< Variable > decisionVariables, Variable &f, function_ref< bool(const SolverIterationInfo &info)> callback, const SolverConfig &config, Eigen::VectorXd &x, SolverStatus *status) |
|
SLEIPNIR_DLLEXPORT void | SQP (std::span< Variable > decisionVariables, std::span< Variable > equalityConstraints, Variable &f, function_ref< bool(const SolverIterationInfo &info)> callback, const SolverConfig &config, Eigen::VectorXd &x, SolverStatus *status) |
|
SLEIPNIR_DLLEXPORT constexpr std::string_view | ToMessage (const SolverExitCondition &exitCondition) |
|
template<typename R , typename... Args> |
constexpr void | swap (function_ref< R(Args...)> &lhs, function_ref< R(Args...)> &rhs) noexcept |
|
template<typename R , typename... Args> |
| function_ref (R(*)(Args...)) -> function_ref< R(Args...)> |
|
template<typename T , typename... Args> |
IntrusiveSharedPtr< T > | MakeIntrusiveShared (Args &&... args) |
|
template<typename T , typename Alloc , typename... Args> |
IntrusiveSharedPtr< T > | AllocateIntrusiveShared (Alloc alloc, Args &&... args) |
|
SLEIPNIR_DLLEXPORT PoolResource & | GlobalPoolResource () |
|
template<typename T > |
PoolAllocator< T > | GlobalPoolAllocator () |
|
template<typename... T> |
void | print (std::format_string< T... > fmt, T &&... args) |
|
template<typename... T> |
void | print (std::FILE *f, std::format_string< T... > fmt, T &&... args) |
|
template<typename... T> |
void | println (std::format_string< T... > fmt, T &&... args) |
|
template<typename... T> |
void | println (std::FILE *f, std::format_string< T... > fmt, T &&... args) |
|
template<typename PointerLHS , typename DifferenceTypeLHS , typename PointerRHS , typename DifferenceTypeRHS >
requires requires { { lhs.base() == rhs.base() } -> std::convertible_to<bool>; } |
constexpr bool | operator== (const small_vector_iterator< PointerLHS, DifferenceTypeLHS > &lhs, const small_vector_iterator< PointerRHS, DifferenceTypeRHS > &rhs) noexcept(noexcept(lhs.base()==rhs.base())) |
|
template<typename Pointer , typename DifferenceType >
requires requires { { lhs.base() == rhs.base() } -> std::convertible_to<bool>; } |
constexpr bool | operator== (const small_vector_iterator< Pointer, DifferenceType > &lhs, const small_vector_iterator< Pointer, DifferenceType > &rhs) noexcept(noexcept(lhs.base()==rhs.base())) |
|
template<typename PointerLHS , typename DifferenceTypeLHS , typename PointerRHS , typename DifferenceTypeRHS >
requires std::three_way_comparable_with<PointerLHS, PointerRHS> |
constexpr auto | operator<=> (const small_vector_iterator< PointerLHS, DifferenceTypeLHS > &lhs, const small_vector_iterator< PointerRHS, DifferenceTypeRHS > &rhs) noexcept(noexcept(lhs.base()<=> rhs.base())) |
|
template<typename Pointer , typename DifferenceType >
requires std::three_way_comparable<Pointer> |
constexpr auto | operator<=> (const small_vector_iterator< Pointer, DifferenceType > &lhs, const small_vector_iterator< Pointer, DifferenceType > &rhs) noexcept(noexcept(lhs.base()<=> rhs.base())) |
|
template<typename PointerLHS , typename DifferenceTypeLHS , typename PointerRHS , typename DifferenceTypeRHS > |
constexpr auto | operator<=> (const small_vector_iterator< PointerLHS, DifferenceTypeLHS > &lhs, const small_vector_iterator< PointerRHS, DifferenceTypeRHS > &rhs) noexcept(noexcept(lhs.base()< rhs.base()) &&noexcept(rhs.base()< lhs.base())) |
|
template<typename Pointer , typename DifferenceType > |
constexpr auto | operator<=> (const small_vector_iterator< Pointer, DifferenceType > &lhs, const small_vector_iterator< Pointer, DifferenceType > &rhs) noexcept(noexcept(lhs.base()< rhs.base()) &&noexcept(rhs.base()< lhs.base())) |
|
template<typename PointerLHS , typename PointerRHS , typename DifferenceType > |
constexpr DifferenceType | operator- (const small_vector_iterator< PointerLHS, DifferenceType > &lhs, const small_vector_iterator< PointerRHS, DifferenceType > &rhs) noexcept |
|
template<typename Pointer , typename DifferenceType > |
constexpr DifferenceType | operator- (const small_vector_iterator< Pointer, DifferenceType > &lhs, const small_vector_iterator< Pointer, DifferenceType > &rhs) noexcept |
|
template<typename Pointer , typename DifferenceType > |
constexpr small_vector_iterator< Pointer, DifferenceType > | operator+ (DifferenceType n, const small_vector_iterator< Pointer, DifferenceType > &it) noexcept |
|
template<typename T , unsigned InlineCapacityLHS, unsigned InlineCapacityRHS, typename Allocator > |
constexpr bool | operator== (const small_vector< T, InlineCapacityLHS, Allocator > &lhs, const small_vector< T, InlineCapacityRHS, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr bool | operator== (const small_vector< T, InlineCapacity, Allocator > &lhs, const small_vector< T, InlineCapacity, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacityLHS, unsigned InlineCapacityRHS, typename Allocator >
requires std::three_way_comparable<T> |
constexpr auto | operator<=> (const small_vector< T, InlineCapacityLHS, Allocator > &lhs, const small_vector< T, InlineCapacityRHS, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacity, typename Allocator >
requires std::three_way_comparable<T> |
constexpr auto | operator<=> (const small_vector< T, InlineCapacity, Allocator > &lhs, const small_vector< T, InlineCapacity, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacityLHS, unsigned InlineCapacityRHS, typename Allocator > |
constexpr auto | operator<=> (const small_vector< T, InlineCapacityLHS, Allocator > &lhs, const small_vector< T, InlineCapacityRHS, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr auto | operator<=> (const small_vector< T, InlineCapacity, Allocator > &lhs, const small_vector< T, InlineCapacity, Allocator > &rhs) |
|
template<typename T , unsigned InlineCapacity, typename Allocator >
requires concepts::MoveInsertable< T, small_vector<T, InlineCapacity, Allocator>, Allocator> && concepts::Swappable<T> |
constexpr void | swap (small_vector< T, InlineCapacity, Allocator > &lhs, small_vector< T, InlineCapacity, Allocator > &rhs) noexcept(noexcept(lhs.swap(rhs))) |
|
template<typename T , unsigned InlineCapacity, typename Allocator , typename U > |
constexpr small_vector< T, InlineCapacity, Allocator >::size_type | erase (small_vector< T, InlineCapacity, Allocator > &v, const U &value) |
|
template<typename T , unsigned InlineCapacity, typename Allocator , typename Pred > |
constexpr small_vector< T, InlineCapacity, Allocator >::size_type | erase_if (small_vector< T, InlineCapacity, Allocator > &v, Pred pred) |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::iterator | begin (small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_iterator | begin (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_iterator | cbegin (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::iterator | end (small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_iterator | end (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_iterator | cend (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::reverse_iterator | rbegin (small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_reverse_iterator | rbegin (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_reverse_iterator | crbegin (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::reverse_iterator | rend (small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_reverse_iterator | rend (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_reverse_iterator | crend (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::size_type | size (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr std::common_type_t< std::ptrdiff_t, typename std::make_signed_t< typename small_vector< T, InlineCapacity, Allocator >::size_type > > | ssize (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr bool | empty (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::pointer | data (small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename T , unsigned InlineCapacity, typename Allocator > |
constexpr small_vector< T, InlineCapacity, Allocator >::const_pointer | data (const small_vector< T, InlineCapacity, Allocator > &v) noexcept |
|
template<typename InputIt , unsigned InlineCapacity = default_buffer_size_v< std::allocator<typename std::iterator_traits<InputIt>::value_type>>, typename Allocator = std::allocator<typename std::iterator_traits<InputIt>::value_type>> |
| small_vector (InputIt, InputIt, Allocator=Allocator()) -> small_vector< typename std::iterator_traits< InputIt >::value_type, InlineCapacity, Allocator > |
|