|
Steppable 0.0.1
A CAS project written from scratch in C++
|
Graphing utilities for showing graphs in the console. More...
Namespaces | |
| namespace | __internals |
| Graphing utilities for showing graphs in the console. | |
| namespace | anonymous_namespace{conPlot.cpp} |
| namespace | GraphDot |
| Contains string values of dots to be graphed on the screen. | |
Classes | |
| struct | BarGraphOptions |
| struct | BarOptions |
| struct | GraphOptions |
| Stores the opotions for each graph shown on screen. More... | |
| struct | GraphOptionsBase |
| struct | LineOptions |
| Stores options for each line graphed on screen. More... | |
| struct | LineOptionsBase |
Concepts | |
| concept | LineOptionsDerivation |
Typedefs | |
| using | GraphFn = std::function<Number(Number)> |
| using | NumberPair = std::pair<Number, Number> |
Enumerations | |
| enum class | ShadeOptions : std::uint8_t { NO_SHADE = 0 , SHADE_ABOVE_FIRST = 1 , SHADE_BELOW_SECOND = 2 , SHADE_BETWEEN_BOTH = 3 , SHADE_OUTSIDE_BOTH = 4 , SHADE_ABOVE_SECOND = 5 , SHADE_BELOW_FIRST = 6 } |
Functions | |
| void | conPlotBar (const std::vector< std::vector< Number > > &numbers, const BarGraphOptions &graphOptions, const std::vector< BarOptions > &barsOptions) |
| void | conPlot (const std::vector< GraphFn > &f, const GraphOptions &graphOptions, const std::vector< LineOptions > &linesOptions) |
| void | pieChart () |
| void | linearInterpolateFill (std::map< long long, long long > *data, long long xMin, long long xMax) |
| Fill in integral values with linear interpolation. | |
| void | cubicInterpolateFill (std::map< long long, long long > *data, long long xMin, long long xMax) |
| Fill in integral values with cubic interpolation. | |
Graphing utilities for showing graphs in the console.
| using steppable::graphing::GraphFn = std::function<Number(Number)> |
| using steppable::graphing::NumberPair = std::pair<Number, Number> |
|
strong |
| void steppable::graphing::conPlot | ( | const std::vector< GraphFn > & | f, |
| const GraphOptions & | graphOptions, | ||
| const std::vector< LineOptions > & | linesOptions ) |
| void steppable::graphing::conPlotBar | ( | const std::vector< std::vector< Number > > & | numbers, |
| const BarGraphOptions & | graphOptions, | ||
| const std::vector< BarOptions > & | barsOptions ) |
| void steppable::graphing::cubicInterpolateFill | ( | std::map< long long, long long > * | data, |
| long long | xMin, | ||
| long long | xMax ) |
Fill in integral values with cubic interpolation.
| data | An x-y corresponding table of values. Must have at least 4 items. |
| xMin | Minimum x value. |
| xMax | Maximum x value. |
| void steppable::graphing::linearInterpolateFill | ( | std::map< long long, long long > * | data, |
| long long | xMin, | ||
| long long | xMax ) |
Fill in integral values with linear interpolation.
| data | An x-y corresponding table of values. Must have at least 2 items. |
| xMin | Minimum x value. |
| xMax | Maximum x value. |
| void steppable::graphing::pieChart | ( | ) |