1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

自前で行列同士の積を実装した時の、検算方法

Last updated at Posted at 2021-09-19

概要

Excelの行列関数でチェックするだけなんですが。。。
結構、忘れてしまうので。

手順

空のExcel起動 → 適当に4x4の行列をA1:D4に入力。 → 適当に4x4の行列をA6:D9に入力。 → A11:D14を選択 → ”=MMULT(A1:D4,A6:D9)”を入力(Enter押さない) → shift+ctrl+enterを押下。
これで、答えが表示される。

手順1 空のExcel起動

image.png

手順2 適当に4x4の行列をA1:D4に入力。

image.png

手順3 適当に4x4の行列をA6:D9に入力。

image.png

手順4 A11:D14を選択。

image.png

手順5 ”=MMULT(A1:D4,A6:D9)”を入力(Enter押さない)

image.png

手順6 Shift+Ctrl+Enterを押下

image.png

できた。!!
今回は、4x4行列同士の積をやったけど、この方法で、3x3も4x4@4x1もできるはず。


gluPerspective()の実装でいい記事見つけたので共有
gluPerspectiveを自前実装する

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?