@@ -22,17 +22,6 @@ error into the derivative estimates.
2222"""
2323AutoFiniteDiff
2424
25- """
26- AutoSparseFiniteDiff()
27-
28- Sparse Version of [`AutoFiniteDiff`](@ref) that uses
29- [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl) and the column color vector of
30- the Jacobian Matrix to efficiently compute the Sparse Jacobian.
31-
32- - Supports both inplace and out-of-place functions
33- """
34- AutoSparseFiniteDiff
35-
3625"""
3726 AutoForwardDiff(; chunksize = nothing, tag = nothing)
3827 AutoForwardDiff{chunksize, tagType}(tag::tagType)
@@ -56,27 +45,6 @@ For type-stability of internal operations, a positive `chunksize` must be provid
5645"""
5746AutoForwardDiff
5847
59- """
60- AutoSparseForwardDiff(; chunksize = nothing, tag = nothing)
61- AutoSparseForwardDiff{chunksize, tagType}(tag::tagType)
62-
63- Sparse Version of [`AutoForwardDiff`](@ref) that uses
64- [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) and the column color vector of
65- the Jacobian Matrix to efficiently compute the Sparse Jacobian.
66-
67- - Supports both inplace and out-of-place functions
68-
69- For type-stability of internal operations, a positive `chunksize` must be provided.
70-
71- ### Keyword Arguments
72-
73- - `chunksize`: Count of dual numbers that can be propagated simultaneously. Setting this
74- number to a high value will lead to slowdowns. Use
75- [`NonlinearSolve.pickchunksize`](@ref) to get a proper value.
76- - `tag`: Used to avoid perturbation confusion. If set to `nothing`, we use a custom tag.
77- """
78- AutoSparseForwardDiff
79-
8048"""
8149 AutoPolyesterForwardDiff(; chunksize = nothing)
8250
@@ -108,20 +76,6 @@ jacobians.
10876"""
10977AutoZygote
11078
111- """
112- AutoSparseZygote()
113-
114- Sparse version of [`AutoZygote`](@ref) that uses
115- [`Zygote.jl`](https://github.com/FluxML/Zygote.jl) and the row color vector of
116- the Jacobian Matrix to efficiently compute the Sparse Jacobian.
117-
118- - Supports only out-of-place functions
119-
120- This is efficient only for long jacobians or if the maximum value of the row color vector is
121- significantly lower than the maximum value of the column color vector.
122- """
123- AutoSparseZygote
124-
12579"""
12680 AutoEnzyme()
12781
@@ -134,15 +88,53 @@ and VJP support is currently not implemented.
13488AutoEnzyme
13589
13690"""
137- AutoSparseEnzyme( )
91+ AutoSparse(AutoEnzyme() )
13892
13993Sparse version of [`AutoEnzyme`](@ref) that uses
14094[Enzyme.jl](https://github.com/EnzymeAD/Enzyme.jl) and the row color vector of
14195the Jacobian Matrix to efficiently compute the Sparse Jacobian.
14296
14397 - Supports both inplace and out-of-place functions
14498
99+ This is efficient only for long jacobians or if the maximum value of the row color vector is
100+ significantly lower than the maximum value of the column color vector.
101+
102+ AutoSparse(AutoFiniteDiff())
103+
104+ Sparse Version of [`AutoFiniteDiff`](@ref) that uses
105+ [FiniteDiff.jl](https://github.com/JuliaDiff/FiniteDiff.jl) and the column color vector of
106+ the Jacobian Matrix to efficiently compute the Sparse Jacobian.
107+
108+ - Supports both inplace and out-of-place functions
109+
110+ AutoSparse(AutoForwardDiff(; chunksize = nothing, tag = nothing))
111+ AutoSparse(AutoForwardDiff{chunksize, tagType}(tag::tagType))
112+
113+ Sparse Version of [`AutoForwardDiff`](@ref) that uses
114+ [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl) and the column color vector of
115+ the Jacobian Matrix to efficiently compute the Sparse Jacobian.
116+
117+ - Supports both inplace and out-of-place functions
118+
119+ For type-stability of internal operations, a positive `chunksize` must be provided.
120+
121+ ### Keyword Arguments
122+
123+ - `chunksize`: Count of dual numbers that can be propagated simultaneously. Setting this
124+ number to a high value will lead to slowdowns. Use
125+ [`NonlinearSolve.pickchunksize`](@ref) to get a proper value.
126+
127+ - `tag`: Used to avoid perturbation confusion. If set to `nothing`, we use a custom tag.
128+
129+ AutoSparse(AutoZygote())
130+
131+ Sparse version of [`AutoZygote`](@ref) that uses
132+ [`Zygote.jl`](https://github.com/FluxML/Zygote.jl) and the row color vector of
133+ the Jacobian Matrix to efficiently compute the Sparse Jacobian.
134+
135+ - Supports only out-of-place functions
136+
145137This is efficient only for long jacobians or if the maximum value of the row color vector is
146138significantly lower than the maximum value of the column color vector.
147139"""
148- AutoSparseEnzyme
140+ AutoSparse
0 commit comments