Skip to content

Commit

Permalink
info about function composition
Browse files Browse the repository at this point in the history
  • Loading branch information
egladysh authored and egladysh committed Feb 18, 2018
1 parent 2e33f4c commit dc0b8e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Meta mathematic
metamath is a tiny header-only library. It can be used for symbolic computations on single-variable functions, such as dynamic computations of derivatives. The operator precedence rules are naturally handled by the compiler. The library could be useful for building custom DSL's in C++.

func.h contains definitions for some of the cmath functions: Sin/Cos, Ln, Pow, Abs, Sqrt, Exp, more to come...
Arithmetic with functions are supported:
Arithmetic operations with functions are supported:

auto f1 = 3 * x;
auto f2 = Ln(x);
Expand All @@ -13,7 +13,7 @@ Arithmetic with functions are supported:
auto y1 = f(2);
auto y2 = f(4);

as well as function composition.
as well as function composition:

auto f = Ln(x);
auto g = 3 * x;
Expand Down

0 comments on commit dc0b8e2

Please sign in to comment.