JuliaSmoothOptimizers / PartitionedStructures.jl

Partitioned derivatives storage and partitioned quasi-Newton updates
Other
10 stars 1 forks source link

Partitioned vector derived from AbstractVector #45

Closed paraynaud closed 1 year ago

paraynaud commented 2 years ago

Try to make the following structure works

mutable struct Partitioned_vector{T} <: AbstractVector{T} 
  partitioned_vector :: Elemental_pv{T}
end 

Partitioned_vector will overload some methods like:

The behavior of the methods must be defined beforehand.

paraynaud commented 1 year ago

Implemented by PartitionedVectors.jl.