autopdex.geometry.r_conjunction
- autopdex.geometry.r_conjunction(o1, o2)[source]
Computes the logical AND operation using smooth distance functions.
- Parameters:
o1 (float) – The first operand for the logical “and” operation.
o2 (float) – The second operand for the logical “and” operation.
- Returns:
- The result of the logical “and” operation, calculated using
the formula o1 + o2 - sqrt(o1**2 + o2**2).
- Return type:
float