atomica.function_parser.sdiv¶
- atomica.function_parser.sdiv(numerator, denominator)[source]¶
Safe division by zero (return 0)
This helper function returns division where
0/0=0
rather thannp.nan
.- Parameters
numerator – The numerator of the operation (float, array)
denominator – The denominator of the operation (float, array)
- Returns
Array