Skip to content

Library for counting expressions and functions in std::string type

Notifications You must be signed in to change notification settings

vrodedanya/yesza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yesza library

Description

This library allows you to process function equation or solve problems in c++ standard strings by reversed polish notation

Install

Copy header to your project

Example

auto func = yesza::make_equation("50+60*sin(45+456)*(250-30)");
std::cout << func() << std::endl;
auto func = yesza::make_equation("5 * x^2 + 2*x + 5");
std::cout << func(15) << std::endl;