create_replacement_rules

create_replacement_rules(symbols, *symbol_values)[source]

Create a list of dictionaries. Each dictionary maps symbols to values.

Parameters:
  • symbols – A sequence of length (s, ) containing sympy symbols

  • symbol_values – array of shape (n, s) containing values that should replace sympy symbols.

Returns:

List of length n containing dictionaries that map s symbols to values.