Actions
An action is a callable structure, usually with the signature (problem, state, iterate), that performs something. Consider them elementary building blocks, for example a single debug output action, that can be combined into larger “things acting”. They share a common supertype in Manopt.jl.
Access functions
Manopt.get_storage — Method
get_storage(a::AbstractStateAction, key::Symbol)Return the internal value of the AbstractStateAction a at the Symbol key. Returns nothing if the key does not exist
Manopt.get_storage — Method
get_storage(a::AbstractStateAction, ::PointStorageKey{key}) where {key}Return the internal value of the AbstractStateAction a at the Symbol key that represents a point.
Manopt.get_storage — Method
get_storage(a::AbstractStateAction, ::VectorStorageKey{key}) where {key}Return the internal value of the AbstractStateAction a at the Symbol key that represents a vector.
Manopt.has_storage — Method
has_storage(a::AbstractStateAction, key::Symbol)Return whether the AbstractStateAction a has a value stored at the Symbol key.
Manopt.has_storage — Method
has_storage(a::AbstractStateAction, ::PointStorageKey{key}) where {key}Return whether the AbstractStateAction a has a point value stored at the Symbol key.
Manopt.has_storage — Method
has_storage(a::AbstractStateAction, ::VectorStorageKey{key}) where {key}Return whether the AbstractStateAction a has a point value stored at the Symbol key.
Manopt.update_storage! — Method
update_storage!(a::AbstractStateAction, amp::AbstractManoptProblem, s::AbstractManoptSolverState)Update the AbstractStateAction a internal values to the ones given on the AbstractManoptSolverState s. Optimized using the information from amp
Manopt.update_storage! — Method
update_storage!(a::AbstractStateAction, d::Dict{Symbol,<:Any})Update the AbstractStateAction a internal values to the ones given in the dictionary d. The values are merged, where the values from d are preferred.
Internal functions
Manopt._storage_copy_point — Method
_storage_copy_point(M::AbstractManifold, p)Make a copy of point p from manifold M for storage in StoreStateAction.
Manopt._storage_copy_vector — Method
_storage_copy_vector(M::AbstractManifold, X)Make a copy of tangent vector X from manifold M for storage in StoreStateAction.