Skip to content

Add quadrant analysis for entire range of equations  #23

@marcnoon

Description

@marcnoon

Is your feature request related to a problem? Please describe.
When graphing certain function that use trig function it would be nice to know whcih quadrant a plot is being drawn as a way to reduce the computation for a range of plots where only certain quadrants are being drawn. May also speed up the plot.

Describe the solution you'd like
The solution would run through all the iterations roughly and determine which quadrant the iteration will lie so as to include or exclude it from a graph in radians Should run very fast...
Or perhaps break up the equation and divide by 2Pi .. and find the remainder... and then use the remainder to find the quadrant very quickly.

Describe alternatives you've considered
Slower will be to calc Math.Cos of the radians which if positive will the to the right else to the left.
... and Math.Sin of the radians which if positive will be above x axis else below.

Additional context
When plotting... it may be interesting to to a quadrant range plot...so that when graphing.. quadrants can easily be included or excluded from the plot and speed up the plot and also the computations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions