aboyadzhiev / Php Math Parser
Licence: mit
Simple mathematical expression parser and calculator.
Stars: ✭ 24
Labels
Projects that are alternatives of or similar to Php Math Parser
Atosym
algebraic expressions parsing and evaluation through a property system based algorithm
Stars: ✭ 15 (-37.5%)
Mutual labels: calculator, math
rclc
Mathematical expression calculator with big integers, floats, common fractions, and complex numbers support
Stars: ✭ 24 (+0%)
Mutual labels: calculator, math
Mather
A powerful expression-based calculator, unit converter, and general computation engine for Android
Stars: ✭ 49 (+104.17%)
Mutual labels: calculator, math
Computator.net
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Stars: ✭ 174 (+625%)
Mutual labels: math, calculator
keisan
A Ruby-based expression parser, evaluator, and programming language
Stars: ✭ 48 (+100%)
Mutual labels: calculator, math
cpc
Text calculator with support for units and conversion
Stars: ✭ 89 (+270.83%)
Mutual labels: calculator, math
string-math
Evaluates a math expression from a string. Supports variables and custom operators.
Stars: ✭ 14 (-41.67%)
Mutual labels: calculator, math
String Calc
PHP calculator library for mathematical terms (expressions) passed as strings
Stars: ✭ 60 (+150%)
Mutual labels: math, calculator
desktop
Extendable calculator for the 21st Century ⚡
Stars: ✭ 85 (+254.17%)
Mutual labels: calculator, math
Kalk
A calculator/expression evaluator written in rust that supports variables and functions.
Stars: ✭ 134 (+458.33%)
Mutual labels: math, calculator
Algebraicengine Fraction
a calculating engine~
Stars: ✭ 311 (+1195.83%)
Mutual labels: math, calculator
kalker
Kalker/kalk is a calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
Stars: ✭ 1,237 (+5054.17%)
Mutual labels: calculator, math
fcal
Extensive math expression evaluator library for JavaScript and Node.js
Stars: ✭ 86 (+258.33%)
Mutual labels: calculator, math
Notecalc3
NoteCalc is a handy calculator trying to bring the advantages of Soulver to the web.
Stars: ✭ 879 (+3562.5%)
Mutual labels: math, calculator
node calculator
Create Maya node-network by entering a math-formula.
Stars: ✭ 56 (+133.33%)
Mutual labels: calculator, math
Calculatex
in progress pretty printing calculator language
Stars: ✭ 302 (+1158.33%)
Mutual labels: math, calculator
Math
Simple mathematical expression parser and calculator.
Install
The recommended way to install Math is through composer.
{
"require": {
"aboyadzhiev/php-math-parser": "dev-master"
}
}
Usage
Here is an simple example of evaluation of mathematical expression
<?php
$parser = new \Math\Parser();
$expression = '1 + 2 * 3 * ( 7 * 8 ) - ( 45 - 10 )';
$result = $parser->evaluate($expression);
echo $result; //302
TODO
- Add unit tests.
- Add additional strategy for translation from infix to reverse polish notation
License
MIT, see LICENSE.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].