Skip to content

Instantly share code, notes, and snippets.

@niklasschmitz
niklasschmitz / nlsolve_rrule_gmres.jl
Last active February 9, 2022 07:32
NLsolve ChainRules implicit differentiation
using NLsolve
using Zygote
using ChainRulesCore
using IterativeSolvers
using LinearMaps
using SparseArrays
using LinearAlgebra
using BenchmarkTools
using Random
Random.seed!(1234)