JuliaNLSolvers / NLSolvers.jl

No bells and whistles foundation of Optim.jl
https://julianlsolvers.github.io/NLSolvers.jl/dev/
MIT License
27 stars 8 forks source link

Accept systems of equations given as multidimensional arrays? #25

Open amrods opened 2 years ago

amrods commented 2 years ago

This question follows from this discussion: https://discourse.julialang.org/t/modify-custom-solver-to-deal-with-multidimensional-arrays/74845

Would it be possible to allow for this? Apparently the routines in NLSolvers only accept AbstractVectors.

NLsolve already accepts systems given as multidimensional arrays. So it would be kind of a regression to not allow for that.

pkofod commented 2 years ago

Yes, I agree. It requires some care with some vecs here and there.