|
| | BasicLinearFunction (const MatrixConstRef &A, VariablePtr x) |
| |
| | BasicLinearFunction (const std::vector< MatrixConstRef > &A, const std::vector< VariablePtr > &x) |
| |
| | BasicLinearFunction (const MatrixConstRef &A, VariablePtr x, const VectorConstRef &b) |
| |
| | BasicLinearFunction (const std::vector< MatrixConstRef > &A, const std::vector< VariablePtr > &x, const VectorConstRef &b) |
| |
| | BasicLinearFunction (int m, VariablePtr x) |
| |
| | BasicLinearFunction (int m, const std::vector< VariablePtr > &x) |
| |
| template<typename Derived > |
| | BasicLinearFunction (const utils::LinearExpr< Derived > &lin) |
| |
| template<typename CstDerived , typename... Derived> |
| | BasicLinearFunction (const utils::AffineExpr< CstDerived, Derived... > &aff) |
| |
| virtual void | A (const MatrixConstRef &A, const Variable &x, const tvm::internal::MatrixProperties &p={}) |
| |
| virtual void | A (const MatrixConstRef &A, const tvm::internal::MatrixProperties &p={}) |
| |
| virtual void | b (const VectorConstRef &b, const tvm::internal::MatrixProperties &p={}) |
| |
| void | updateValue () |
| |
| void | updateVelocity () |
| |
| void | resizeCache () override |
| |
| const tvm::internal::VectorWithProperties & | b () const |
| |
| virtual const Eigen::VectorXd & | velocity () const |
| |
| virtual const Eigen::VectorXd & | normalAcceleration () const |
| |
| virtual MatrixConstRef | JDot (const Variable &x) const |
| |
| virtual const Eigen::VectorXd & | value () const |
| |
| virtual MatrixConstRefWithProperties | jacobian (const Variable &x) const |
| |
| bool | linearIn (const Variable &x) const |
| |
| const Space & | imageSpace () const |
| |
| int | size () const |
| |
| int | rSize () const |
| |
| int | tSize () const |
| |
| const VariableVector & | variables () const |
| |
| template<typename EnumT > |
| bool | isUpdateEnabled (EnumT e) const |
| |
| virtual bool | isUpdateStaticallyEnabled (int) const |
| |
| virtual bool | isUpdateCustomEnabled (int) const |
| |
| virtual | ~AbstractNode ()=default |
| |
| void | update (int i) |
| |
| virtual | ~Inputs ()=default |
| |
| template<typename T , typename EnumI , typename... Args> |
| void | addInput (std::shared_ptr< T > source, EnumI i, Args... args) |
| |
| template<typename T , typename EnumI , typename... Args, typename std::enable_if< std::is_base_of< abstract::Outputs, T >::value, int >::type = 0> |
| void | addInput (T &source, EnumI i, Args... args) |
| |
| template<typename T > |
| void | removeInput (T *source) |
| |
| template<typename T , typename... Args> |
| void | removeInput (T *source, Args... args) |
| |
| template<typename T > |
| Iterator | getInput (T *source) |
| |
| template<typename T > |
| Iterator | getInput (const std::shared_ptr< T > &source) |
| |
| virtual | ~Outputs ()=default |
| |
| template<typename EnumT > |
| bool | isOutputEnabled (EnumT e) const |
| |
| bool | isOutputEnabled (int i) const |
| |
| virtual bool | isOutputStaticallyEnabled (int) const |
| |
| virtual bool | isOutputCustomEnabled (int) const |
| |
|
| enum class | Update_ |
| |
| using | UpdateParent = AbstractNode |
| |
| using | UpdateBase = AbstractNode |
| |
| using | inputs_t = std::unordered_map< abstract::Outputs *, std::set< int > > |
| |
| using | store_t = std::unordered_set< std::shared_ptr< abstract::Outputs > > |
| |
| enum class | Output_ |
| |
| using | OutputParent = Outputs |
| |
| using | OutputBase = Outputs |
| |
| static constexpr const char * | UpdateName (Update_) |
| |
| template<typename EnumT > |
| static constexpr bool | UpdateStaticallyEnabled (EnumT) |
| |
| static constexpr const char * | OutputName (Output_) |
| |
| template<typename EnumT > |
| static constexpr bool | OutputStaticallyEnabled (EnumT) |
| |
| static constexpr unsigned int | UpdateSize = 0 |
| |
| static constexpr auto | UpdateBaseName = "AbstractNode" |
| |
| static constexpr unsigned int | OutputSize = 0 |
| |
| static constexpr auto | OutputBaseName = "Outputs" |
| |
| using | input_dependency_t = std::map< Outputs *, std::set< int > > |
| |
| | LinearFunction (int m) |
| |
| virtual void | updateValue_ () |
| |
| virtual void | updateVelocity_ () |
| |
| void | setDerivativesToZero () |
| |
| | Function (int m=0) |
| |
| | Function (Space image) |
| |
| void | resizeVelocityCache () |
| |
| void | resizeNormalAccelerationCache () |
| |
| void | resizeJDotCache () |
| |
| void | addVariable_ (VariablePtr v) override |
| |
| void | removeVariable_ (VariablePtr v) override |
| |
| | FirstOrderProvider (int m) |
| |
| | FirstOrderProvider (Space image) |
| |
| void | resizeValueCache () |
| |
| void | resizeJacobianCache () |
| |
| void | addVariable (VariablePtr v, bool linear) |
| |
| void | removeVariable (VariablePtr v) |
| |
| void | addVariable (const VariableVector &v, bool linear) |
| |
| void | splitJacobian (const MatrixConstRef &J, const std::vector< VariablePtr > &vars, bool keepProperties=false) |
| |
| void | splitJacobian (const MatrixConstRef &J, const VariableVector &vars, bool keepProperties=false) |
| |
| void | resize (int m) |
| |
| void | registerUpdates (EnumT u, void(U::*fn)(), Args... args) |
| |
| void | registerUpdates (EnumT u, void(U::*fn)()) |
| |
| void | addOutputDependency (EnumO o, EnumU u) |
| |
| void | addOutputDependency (std::initializer_list< EnumO > os, EnumU u) |
| |
| void | addInternalDependency (EnumU1 uDependent, EnumU2 u) |
| |
| void | addInputDependency (EnumU u, std::shared_ptr< S > source, EnumO i, Args... args) |
| |
| void | addInputDependency (EnumU u, S &source, EnumO i, Args... args) |
| |
| void | addDirectDependency (EnumO o, std::shared_ptr< S > source, EnumI i) |
| |
| void | addDirectDependency (EnumO o, S &source, EnumI i) |
| |
| tvm::internal::VectorWithProperties | b_ |
| |
| Eigen::VectorXd | velocity_ |
| |
| Eigen::VectorXd | normalAcceleration_ |
| |
| utils::internal::MapWithVariableAsKey< Eigen::MatrixXd, slice_jdot > | JDot_ |
| |
| Eigen::VectorXd | value_ |
| |
| utils::internal::MapWithVariableAsKey< MatrixWithProperties, slice_matrix, true > | jacobian_ |
| |
| Space | imageSpace_ |
| |
| VariableVector | variables_ |
| |
| utils::internal::MapWithVariableAsKey< bool, slice_linear > | linear_ |
| |
| std::map< int, std::function< void(AbstractNode &)> > | updates_ |
| |
| std::map< int, std::vector< int > > | outputDependencies_ |
| |
| std::map< int, std::vector< int > > | internalDependencies_ |
| |
| std::map< int, input_dependency_t > | inputDependencies_ |
| |
| std::map< int, std::pair< Outputs *, int > > | directDependencies_ |
| |
| bool | is_node_ = false |
| |
The most basic linear function f(x_1, ..., x_k) = sum A_i x_i + b where the matrices are constant.