Open putianyi889 opened 1 year ago
OK this will take some thought. Essentially it knows its a polynomial. I forget if I implemented the notion of degree
but if we did we would be able to know how many points to take in the plotgrid
. An evenly spaced grid could be fine here.
I would also want it to work for arbitrary quasivectors, considering them as functions with known domain.
Yes that would make sense to have a generic backup with say 1000 points
It could fall back to plotting functions, something like
plot(v::quasivector)=plot(x->v[x])
but I don't know which layer should this be implemented.
If you look at sum
and sum_layout
that auto-expands that gives a possible way of doing this