-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
While doing the simulations, I realize the degopt coefficients are created inside functions which also just return the graph. Sometimes I want to get the degopt coefficients (of say PS), modify them and then create a graph (e.g. to implement squaring in degopt coeffs).
Proposed solution: a function which extracts the degopt coefficients from a graph which was created with gen_degopt_poly
.
(x,z)=get_degopt_coeffs(graph,k)
Returns x::Vector{Vector{Tuple{T,T}}}
where C=eltype(graph)
and y::Vector{T}
.
I don't see any other simple solution than hardcoding the coefficient names.
Metadata
Metadata
Assignees
Labels
No labels