LaTeX Lambda

Convert latex math notation to lambda functions in Python!

Algorithmia Platform License

Run an Example

{
  "func": "lambda α,β,ε,λ: sum([(λ**(α))/(β**(1-α)) for i in range(int(1),int(ε)+1)])",
  "params": [
    "α",
    "β",
    "ε",
    "λ"
  ]
}

Install & Use

Use

curl -X POST -d '"\\sum_{i=1}^{\\epsilon}\\dfrac{\\lambda^{\\alpha}}{\\beta^{1-\\alpha}}"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/Jeffro/LatexLambda/1.1.2