Formula (formula v0.1.2)

Documentation for Formula.

Link to this section Summary

Functions

Evaluate a given map that contains function

Evaluate the formula given the data

Parse a given map into functions and symbols

Link to this section Functions

@spec evaluate(map()) :: map()

Evaluate a given map that contains function

Link to this function

evaluate(data, formula)

@spec evaluate(map(), String.t()) :: term()

Evaluate the formula given the data

@spec parse(map()) :: map() | {:error, term()}

Parse a given map into functions and symbols