mymesh.implicit.diff#
- mymesh.implicit.diff(fval1, fval2)[source]#
Boolean difference of two values or sets of values. Negative values are assumed to be “inside”. An R-function
rMax()
maximum is used to obtain a continuously differentiable output. Note that this operation is not symmetric so the order of inputs matters.- Parameters:
fval1 (scalar or np.ndarray) – Value(s) of the first function
fval2 (scalar or np.ndarray) – Value(s) of the second function
- Returns:
diff_val – Difference of the two sets of values
- Return type:
scalar or np.ndarray