Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/source/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ The implementation of composition depends on the class:
* for unit-quaternions composition is the Hamilton product of the underlying vector value,
* for twists it is the logarithm of the product of exponentiating the two twists

The ``**`` operator denotes repeated composition, so the exponent must be an integer. If the negative exponent the repeated multiplication
is performed then the inverse is taken.
The ``**`` operator denotes repeated composition, so the exponent must be an integer. If the exponent is negative, repeated multiplication
is performed and then the inverse is taken.

The group inverse is given by the ``inv()`` method:

Expand Down Expand Up @@ -214,6 +214,8 @@ or, in the case of a scalar, broadcast to each element:
.. runblock:: pycon

>>> from spatialmath import *
>>> T = SE3()
>>> T
>>> T - 1
>>> 2 * T

Expand Down Expand Up @@ -609,7 +611,7 @@ column vectors.
.. runblock:: pycon

>>> from spatialmath.base import *
>>> q = quat.qqmul([1,2,3,4], [5,6,7,8])
>>> q = qqmul([1,2,3,4], [5,6,7,8])
>>> q
>>> qprint(q)
>>> qnorm(q)
Expand Down