Skip to content

gen_degopt_poly(degopt) -> graph_degopt(degopt) #44

@jarlebring

Description

@jarlebring

The degree optimal polynomial seems so central with the data structures in this package that we can turn it into a constructor for Compgraph instead.

The code:

  (graph,crefs)=gen_degopt_poly(d::Degopt;input=:A)

can be replaced with

g=Compgraph(degopt)
cref=get_degopt_crefs(g);

There are variants of gen_degopt_poly which are very rarely used. I suggest we remove those and replace wherever it is used:

  • (graph,crefs)=gen_degopt_poly(x,z;input=:A) => Replace code using this version with create a Degopt
  • (graph,crefs)=gen_degopt_poly(k;T=ComplexF64,input=:A) => Introduce a function Degopt(k,T=ComplexF64)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions