AngouriMath

Navigation

ILatexiseable


← Back to list of classes

Description

Summary

Any class that supports converting to LaTeX format should implement this interface

Example

using System;
using AngouriMath;
using static AngouriMath.MathS;

Entity expr = "sqrt(a) + integral(sin(x), x)";
Console.WriteLine(expr);
Console.WriteLine(expr.Latexise());
Entity expr2 = "a / b ^ limit(sin(x) - cosh(y), x, +oo)";
Console.WriteLine(expr2);
Console.WriteLine(expr2.Latexise());

Prints
sqrt(a) + integral(sin(x), x)
\sqrt{a}+\int \left[\sin\left(x\right)\right] dx
a / b ^ limit(sin(x) - (e ^ y + e ^ (-y)) / 2, x, +oo)
\frac{a}{{b}^{\lim_{x\to \infty } \left[\sin\left(x\right)-\frac{{e}^{y}+{e}^{-y}}{2}\right]}}

Members

























Angouri © 2019-2022 · Project's repo · Site's repo · Octicons · Transparency · 1533 pages online