efcurve

fun efcurve(ef: String, constants: Map<String, Double> = emptyMap(), functions: FunctionExtensions = FunctionExtensions.EMPTY): String(source)

Processes and expands a formatted string based on specific expressions and rules such as comments, lists, and repetitions. The method allows for recursive evaluation of expressions within the string.

Return

A processed string with all expressions, lists, and repetitions evaluated and expanded.

Parameters

ef

The input string to be processed, containing expression placeholders, lists, or repetitions.

constants

A map of constants used for substituting and evaluating expressions.

functions

An object containing user-defined functions for expression evaluation.