GCalc-2 Reference Manual

# GCalc-2

## Description:

## Content:

### Namespaces:

- GCalc

### Interfaces:

- Hashable - Implemented by objects able to produce a hash.
- MathAssign - An assing operator in a math expression
- MathBinaryOperator - An operator for two members in a math expression
- MathConstant - A constant value in a math expression.
- MathConstantComplex - A constant as a complex number with real and imaginary parts
- MathConstantNumber - A constant number value with a double precision number
- MathConstantVector - A constant as a complex number with real and imaginary parts
- MathDivision - A division operator in a math expression
- MathEquation - A math equation with multiple terms
- MathEquationManager - Equation manager, holding a set of equations and variables.
- MathErrorResult - A kind of result returned when there was an error in a solving operation
- MathExpression - A part of a math equation
- MathFunction - A Function as part of a MathExpression
- MathGroup - A grouping math expression like parentesis
- MathMinus - A minus operator in a math expression
- MathMultiply - A multiply operator in a math expression
- MathOperator - An operator in a math expression
- MathParameter - A parameter is a MathVariable holding a value, that is not expected to be resolved as part of an MathExpression evaluation, but by asigning its value.
- MathPlus - A plus operator in a math expression
- MathPolynomial - A multiple expressions in a math expression
- MathPow - A pow operator in a math expression
- MathResult - A result of a calculation when the expression is solved
- MathTerm - A term in a math expression.
- MathVariable - A variable that can be evaluated from an MathExpression

### Classes:

- Assign - An implementation of MathAssign
- Calculator - A constant calculator for different operations.
- Constant - An implementation of MathConstant
- Division - An implementation of MathDivision
- Equation - An implementation of MathEquation
- EquationManager - An implementation of MathEquationManager
- ErrorExpression - Represent an expression in error condition
- ErrorResult - An implementation of MathErrorResult
- Expression - An implementation of MathExpression
- ExpressionContainer - An expression container implementing GLib.ListModel
- ExpressionHashMap - A hash table using Hashable objects
- Function - An implementation of MathFunction
- FunctionAcos - Function to calculate arc cosine of a MathConstant in radians
- FunctionAcosh - Function to calculate arc hyperbolic cosine of a MathConstant in radians
- FunctionAsin - Function to calculate arc sine of a MathConstant in radians
- FunctionAsinh - Function to calculate arc hyperbolic sine of a MathConstant in radians
- FunctionAtan - Function to calculate arc tangent of a MathConstant in radians
- FunctionAtanh - Function to calculate arc hyperbolic tangent of a MathConstant in radians
- FunctionCos - Function to calculate cosine of a MathConstant in radians
- FunctionCosh - Function to calculate hyperbolic cosine of a MathConstant in radians
- FunctionExp - Function to calculate inverse of logarithm of a MathConstant
- FunctionLog - Function to calculate logarithm of a MathConstant
- FunctionSin - Function to calculate sine of a MathConstant in radians
- FunctionSinh - Function to calculate hyperbolic sine of a MathConstant in radians
- FunctionSqrt - Function to calculate square root of a MathConstant
- FunctionTan - Function to calculate tangent of a MathConstant in radians
- FunctionTanh - Function to calculate hyperbolic tangent of a MathConstant in radians
- Group - An implementation of MathGroup
- Minus - An implementation of MathMinus
- Multiply - An implementation of MathMultiply
- Parameter - An implementation of MathParameter
- Parser - Takes a string an create a tree of MathExpression objects representing a math equation.
- Plus - An implementation of MathPlus
- Polynomial - An implementation of MathPolynomial
- Pow - An implementation of MathPow
- Result - An implementation of MathResult
- Solver - Math expression solver.
- Term - An implementation of MathTerm
- UnitConverter
- Variable - An implementation of MathVariable

### Enums:

- AngleUnit

### Error domains:

- AssigError
- FunctionError
- GroupError
- ParserError
- SolverError
- TermError
- VariableError