From 1a3864387fd8cd8a86cdd102d730739a872ed2e9 Mon Sep 17 00:00:00 2001 From: Alexander Fabisch Date: Thu, 28 Sep 2023 11:18:33 +0200 Subject: [PATCH] Correct return type documentation --- pytransform3d/rotations/_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pytransform3d/rotations/_utils.py b/pytransform3d/rotations/_utils.py index 9d37224fd..bfbb02ce4 100644 --- a/pytransform3d/rotations/_utils.py +++ b/pytransform3d/rotations/_utils.py @@ -108,7 +108,7 @@ def norm_axis_angle(a): Returns ------- - a : array-like, shape (4,) + a : array, shape (4,) Axis of rotation and rotation angle: (x, y, z, angle). The length of the axis vector is 1 and the angle is in [0, pi). No rotation is represented by [1, 0, 0, 0]. @@ -141,7 +141,7 @@ def norm_compact_axis_angle(a): Returns ------- - a : array-like, shape (3,) + a : array, shape (3,) Axis of rotation and rotation angle: angle * (x, y, z). The angle is in [0, pi). No rotation is represented by [0, 0, 0]. """ @@ -165,7 +165,7 @@ def perpendicular_to_vectors(a, b): Returns ------- - c : array-like, shape (3,) + c : array, shape (3,) 3d vector that is orthogonal to a and b """ return np.cross(a, b) @@ -185,7 +185,7 @@ def perpendicular_to_vector(a): Returns ------- - b : array-like, shape (3,) + b : array, shape (3,) A 3d vector that is orthogonal to a. It does not necessarily have unit length. """