concepts.dsl.learning.function_domain_search.canonize_function_parameters#
- canonize_function_parameters(f, ignore_permutation=False)[source]#
Return a new function object with argument reordered: functions, variables, constants.
- Parameters:
f (ConstantExpression | FunctionApplicationExpression | Function) – the function to be canonized. If the function is a function application expression or a constant expression, this function returns the same object.
ignore_permutation (bool)
- Returns:
functions, variables, constants.
- Return type:
A new function object with argument reordered