Closed
Description
using NonlinearSolve
function f!(F, x, _)
F[1] = (x[1] + 3) * (x[2]^3 - 7) + 18
F[2] = sin(x[2] * exp(x[1]) - 1)
nothing
end
x0 = [0.1; 1.2]
prob! = NonlinearProblem{true}(f!, x0)
sol! = solve(prob!, NewtonRaphson())
that last line yield this warning:
Warning: `vendor()` is deprecated, use `BLAS.get_config()` and inspect the output instead
│ caller = (::NonlinearSolve.DefaultLinSolve)(x::Vector{Float64}, A::Matrix{Float64}, b::Vector{Float64}, update_matrix::Bool; tol::Nothing, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) at utils.jl:125
└ @ NonlinearSolve ~/.julia/packages/NonlinearSolve/9GzK0/src/utils.jl:125
u: 2-element Vector{Float64}:
-3.645318273517821e-8
1.0000000239478837
Metadata
Metadata
Assignees
Labels
No labels