You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A DerSPMF is a shift-tuned representation of NEP defined by a Sum of Products of Matrices and Functions [`SPMF_NEP`](@ref). This format makes more efficient the execution of [`compute_Mlincomb`](@ref) for the selected shift σ.
1338
+
A DerSPMF is a representation of a NEP defined by a Sum of Products of Matrices and Functions [`SPMF_NEP`](@ref). This format makes the execution of [`compute_Mlincomb`](@ref) for the specified `σ` more efficient.
@@ -1358,23 +1358,23 @@ Returns true/false if the NEP is sparse (if compute_Mder() returns sparse)
1358
1358
end
1359
1359
1360
1360
"""
1361
-
DerSPMF(spmf,σ,m)
1361
+
newspmf=DerSPMF(spmf,σ,m)
1362
1362
1363
-
Creates a `DerSPMF` representing the NEP `spmf` where the first `m` derivatives of the functions `f_i` in the number `σ` are precomputed. This format makes more efficient the execution of [`compute_Mlincomb`](@ref) for the selected shift σ.
1363
+
Creates a `DerSPMF` representing the NEP `spmf` where the first `m` derivatives of the functions `f_i` in the number `σ` are precomputed. This will in general speed up the execution of [`compute_Mlincomb`](@ref) for the selected shift σ.
1364
1364
1365
1365
# Parameters
1366
1366
1367
-
* `spmf` is an `AbstractSPMF`.
1367
+
* `spmf` is the original `AbstractSPMF`.
1368
1368
1369
-
* `σ` is a `Number` represeing the shift where the derivatives will be precomputed.
1369
+
* `σ::Number` specifies where the derivatives will be precomputed.
1370
1370
1371
1371
# Example
1372
1372
```julia-repl
1373
1373
julia> A0=[1 3; 4 5]; A1=[3 4; 5 6];
1374
1374
julia> id_op=S -> one(S) # Note: We use one(S) to be valid both for matrices and scalars
0 commit comments