warp.expect_near#
- warp.expect_near(
- a: Float,
- b: Float,
- tolerance: Float,
Kernel
Print an error to stdout if
aandbdiffer by more thantolerance.Compare scalar values.
- warp.expect_near(
- a: Vector[Float, Any],
- b: Vector[Float, Any],
- tolerance: Float,
Kernel
Print an error to stdout if
aandbdiffer by more thantolerance.Compare each vector element.
- warp.expect_near(
- a: Quaternion[Float],
- b: Quaternion[Float],
- tolerance: Float,
Kernel
Print an error to stdout if
aandbdiffer by more thantolerance.Compare each quaternion component.
- warp.expect_near(
- a: Matrix[Float, Any, Any],
- b: Matrix[Float, Any, Any],
- tolerance: Float,
Kernel
Print an error to stdout if
aandbdiffer by more thantolerance.Compare each matrix element.