Advertisement

Simple Matrix Question

Started by February 21, 2003 07:20 PM
1 comment, last by evil_ash 22 years ago
How does post matrix multiplication differ from regular matrix multiplication?
And just what do you think 'regular' matrix multiplication is? There are 2 forms of matrix multiplication, pre- and post-multiplication. This is because unlike scalars order matters. For example

2*3=3*2=6

BUT
[ 1 2 ] * [ 4 3 ] = [ 8  5  ][ 3 4 ]   [ 2 1 ]   [ 20 13 ][ 4 3 ] * [ 1 2 ] = [ 13 20 ][ 2 1 ]   [ 3 4 ]   [ 5  8  ] 

So A*B!=B*A

If you start with a matrix A, the C*A would be pre-multiplication and A*C would be post-multiplication. At a guess your 'regular' matrix multiplication is multiplying each element, i.e. using Matlab notation
[ 4 3 ] .* [ 1 2 ] = [ 4 6 ][ 2 1 ]    [ 3 4 ]   [ 6 4 ] 

Which isn't a valid matrix operation but does get used sometimes but in data processing (not matrix maths).

[edit]
formatting
[/edit]

[edited by - joanusdmentia on February 22, 2003 5:36:13 PM]
"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.".....V
Advertisement
You should provide some context. In computer graphics, pre-multiplication and post-multiplication are equivalent (with a simple modification --- Google for matrix transpose), and the choice is a matter of convenience.

Cédric

This topic is closed to new replies.

Advertisement