Add a mnemonic comment to help about matrix multiplication order - gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/utils.cpp
diff options
context:
space:
mode:
authorFrancesco Abbate <francesco.bbt@gmail.com>2012年06月20日 15:25:28 +0200
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年06月20日 15:25:28 +0200
commitbe691cfd94c4047fdc2a93aee5e32d310962f3f3 (patch)
treefb16be2f576a9d429a2d0c65b24232fe3588f178 /agg-plot/utils.cpp
parentcb1860a6764286971bbb7ffc54c9ee30ad3d1559 (diff)
downloadgsl-shell-be691cfd94c4047fdc2a93aee5e32d310962f3f3.tar.gz
Add a mnemonic comment to help about matrix multiplication order
Diffstat (limited to 'agg-plot/utils.cpp')
-rw-r--r--agg-plot/utils.cpp 2
1 files changed, 2 insertions, 0 deletions
diff --git a/agg-plot/utils.cpp b/agg-plot/utils.cpp
index de80656d..7f6f8697 100644
--- a/agg-plot/utils.cpp
+++ b/agg-plot/utils.cpp
@@ -2,6 +2,8 @@
agg::trans_affine identity_matrix;
+/* Mnemonic: a.premultiply(b) means a * b in terms of matrix multiplication */
+
void
trans_affine_compose (agg::trans_affine& a, const agg::trans_affine& b)
{
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月29日 00:24:25 +0000

AltStyle によって変換されたページ (->オリジナル) /