autopdex.geometry.on_point

autopdex.geometry.on_point(x_q, x_p1)[source]

Check if points are close to a given point (jitted).

Parameters:
  • x_q (jnp.ndarray) – Array of points to be checked.

  • x_p1 (jnp.ndarray) – The reference point.

Returns:

Array of booleans indicating whether each point is close to the reference point.

Return type:

jnp.ndarray