libqalculate-0.9.8
|
#include <vector>
#include <string>
#include <stack>
#include <list>
#include <errno.h>
#include <stddef.h>
#include <math.h>
#include <float.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <stdint.h>
Classes | |
struct | SortOptions |
Options for ordering the parts of a mathematical expression/result before display. More... | |
struct | PrintOptions |
Options for formatting and display of mathematical structures/results. More... | |
struct | InternalPrintStruct |
struct | ParseOptions |
Options for parsing expressions. More... | |
struct | EvaluationOptions |
Options for calculation. More... | |
Enumerations | |
enum | ExpressionItemType { TYPE_VARIABLE, TYPE_FUNCTION, TYPE_UNIT } |
Type of ExpressionItem. More... | |
enum | ComparisonResult { COMPARISON_RESULT_EQUAL, COMPARISON_RESULT_GREATER, COMPARISON_RESULT_LESS, COMPARISON_RESULT_EQUAL_OR_GREATER, COMPARISON_RESULT_EQUAL_OR_LESS, COMPARISON_RESULT_NOT_EQUAL, COMPARISON_RESULT_UNKNOWN } |
The result of a comparison of two values. | |
enum | PlotLegendPlacement { PLOT_LEGEND_NONE, PLOT_LEGEND_TOP_LEFT, PLOT_LEGEND_TOP_RIGHT, PLOT_LEGEND_BOTTOM_LEFT, PLOT_LEGEND_BOTTOM_RIGHT, PLOT_LEGEND_BELOW, PLOT_LEGEND_OUTSIDE } |
Placement of legend. | |
enum | PlotStyle { PLOT_STYLE_LINES, PLOT_STYLE_POINTS, PLOT_STYLE_POINTS_LINES, PLOT_STYLE_BOXES, PLOT_STYLE_HISTOGRAM, PLOT_STYLE_STEPS, PLOT_STYLE_CANDLESTICKS, PLOT_STYLE_DOTS } |
Plot type/style. | |
enum | PlotSmoothing { PLOT_SMOOTHING_NONE, PLOT_SMOOTHING_UNIQUE, PLOT_SMOOTHING_CSPLINES, PLOT_SMOOTHING_BEZIER, PLOT_SMOOTHING_SBEZIER } |
Smoothing a plotted lines. | |
enum | PlotFileType { PLOT_FILETYPE_AUTO, PLOT_FILETYPE_PNG, PLOT_FILETYPE_PS, PLOT_FILETYPE_EPS, PLOT_FILETYPE_LATEX, PLOT_FILETYPE_SVG, PLOT_FILETYPE_FIG } |
File type for saving plot to image. | |
enum | MathOperation { OPERATION_MULTIPLY, OPERATION_DIVIDE, OPERATION_ADD, OPERATION_SUBTRACT, OPERATION_RAISE, OPERATION_EXP10, OPERATION_LOGICAL_AND, OPERATION_LOGICAL_OR, OPERATION_LOGICAL_XOR, OPERATION_BITWISE_AND, OPERATION_BITWISE_OR, OPERATION_BITWISE_XOR, OPERATION_LESS, OPERATION_GREATER, OPERATION_EQUALS_LESS, OPERATION_EQUALS_GREATER, OPERATION_EQUALS, OPERATION_NOT_EQUALS } |
Mathematical operations. | |
enum | ComparisonType { COMPARISON_LESS, COMPARISON_GREATER, COMPARISON_EQUALS_LESS, COMPARISON_EQUALS_GREATER, COMPARISON_EQUALS, COMPARISON_NOT_EQUALS } |
Comparison signs for comparison structures. | |
enum | SortFlags { SORT_DEFAULT = 1 << 0, SORT_SCIENTIFIC = 1 << 1 } |
enum | NumberFractionFormat { FRACTION_DECIMAL, FRACTION_DECIMAL_EXACT, FRACTION_FRACTIONAL, FRACTION_COMBINED } |
enum | MultiplicationSign { MULTIPLICATION_SIGN_ASTERISK, MULTIPLICATION_SIGN_DOT, MULTIPLICATION_SIGN_X } |
enum | DivisionSign { DIVISION_SIGN_SLASH, DIVISION_SIGN_DIVISION_SLASH, DIVISION_SIGN_DIVISION } |
enum | BaseDisplay { BASE_DISPLAY_NONE, BASE_DISPLAY_NORMAL, BASE_DISPLAY_ALTERNATIVE } |
enum | ApproximationMode { APPROXIMATION_EXACT, APPROXIMATION_TRY_EXACT, APPROXIMATION_APPROXIMATE } |
enum | StructuringMode { STRUCTURING_NONE, STRUCTURING_SIMPLIFY, STRUCTURING_FACTORIZE } |
enum | AutoPostConversion { POST_CONVERSION_NONE, POST_CONVERSION_BEST, POST_CONVERSION_BASE } |
enum | ReadPrecisionMode { DONT_READ_PRECISION, ALWAYS_READ_PRECISION, READ_PRECISION_WHEN_DECIMALS } |
enum | AngleUnit { ANGLE_UNIT_NONE, ANGLE_UNIT_RADIANS, ANGLE_UNIT_DEGREES, ANGLE_UNIT_GRADIANS } |
enum | ParsingMode { PARSING_MODE_ADAPTIVE, PARSING_MODE_IMPLICIT_MULTIPLICATION_FIRST, PARSING_MODE_CONVENTIONAL } |
Variables | |
static string | empty_string |
static const int | PRIMES [] |
static const int | SQUARE_PRIMES [] |
static const struct SortOptions | default_sort_options |
static const struct PrintOptions | default_print_options |
static const struct InternalPrintStruct | top_ips |
static const struct ParseOptions | default_parse_options |
static const struct EvaluationOptions | default_evaluation_options |
MathStructure | m_undefined |
MathStructure | m_empty_vector |
MathStructure | m_empty_matrix |
MathStructure | m_zero |
MathStructure | m_one |
MathStructure | m_minus_one |
Number | nr_zero |
Number | nr_one |
Number | nr_minus_one |
EvaluationOptions | no_evaluation |
ExpressionName | empty_expression_name |
Calculator * | calculator |
enum ApproximationMode |
enum AutoPostConversion |
enum ExpressionItemType |
Type of ExpressionItem.
Enumerator | |
---|---|
TYPE_VARIABLE |
class Variable |
TYPE_FUNCTION |
class MathFunction |
TYPE_UNIT |
class Unit |
enum NumberFractionFormat |
enum ParsingMode |
enum StructuringMode |
|
static |
|
static |