summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-09-07 18:27:55 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-09-08 07:24:43 -0400
commitd6f3dc5a398040847d53bdeeb9d7ef5f5eab0dfc (patch)
tree139610a3d1383d6465a541f914c09b6c591fc1de /doc
parent35fe2265e5a2732796bfe905ca7fcaf480adcb27 (diff)
math: matrix: Add matrix3-inverse! and matrix3-inverse.
Diffstat (limited to 'doc')
-rw-r--r--doc/api.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api.texi b/doc/api.texi
index f6333d6..0a15586 100644
--- a/doc/api.texi
+++ b/doc/api.texi
@@ -1093,6 +1093,10 @@ Return a new 2D vector that is @var{v} as transformed by the 3x3
matrix @var{matrix}.
@end deffn
+@deffn {Procedure} matrix3-inverse matrix
+Return the inverse of @var{matrix}.
+@end deffn
+
The following procedures perform in-place, destructive updates to 3x3
matrix objects:
@@ -1125,6 +1129,11 @@ Modify the 2D vector @var{v} in-place to contain @var{v} as
transformed by the 3x3 matrix @var{matrix}.
@end deffn
+@deffn {Procedure} matrix3-inverse! matrix target
+Compute the inverse of @var{matrix} and store the results in
+@var{target}.
+@end deffn
+
@subsubsection 4x4 Matrices
@deffn {Procedure} make-matrix4 aa ab ac ad @