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[Any, Float],
- b: Vector[Any, Float],
- 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[Any, Any, Float],
- b: Matrix[Any, Any, Float],
- tolerance: Float,
Kernel
Print an error to stdout if
aandbdiffer by more thantolerance.Compare each matrix element.