Skip to content

Commit 9a578e5

Browse files
committed
prefix most quaternion functions in base with 'q', make them a bit more unique in the namespace when using import *
doco update
1 parent c73f20a commit 9a578e5

File tree

6 files changed

+164
-216
lines changed

6 files changed

+164
-216
lines changed

spatialmath/base/__init__.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -185,27 +185,27 @@
185185
"isvectorlist",
186186

187187
# spatialmath.base.quaternions
188-
"pure",
188+
"qpure",
189189
"qnorm",
190-
"unit",
191-
"isunit",
192-
"isequal",
190+
"qunit",
191+
"qisunit",
192+
"qisequal",
193193
"q2v",
194194
"v2q",
195195
"qqmul",
196-
"inner",
196+
"qinner",
197197
"qvmul",
198198
"vvmul",
199199
"qpow",
200-
"conj",
200+
"qconj",
201201
"q2r",
202202
"r2q",
203-
"slerp",
204-
"rand",
205-
"matrix",
206-
"dot",
207-
"dotb",
208-
"angle",
203+
"qslerp",
204+
"qrand",
205+
"qmatrix",
206+
"qdot",
207+
"qdotb",
208+
"qangle",
209209
"qprint",
210210

211211
# spatialmath.base.transforms2d

0 commit comments

Comments
 (0)