source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/qtfm/@quaternion/ldivide.m @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 741 bytes
Line 
1function r = ldivide(a, b)
2% Quaternion left elementwise division is not implemented.
3% This is because Matlab defines A ./ B to be the matrix with
4% elements A(i, j)/B(i, j) and A .\ B to be the matrix with elements
5% B(i, j)/A(i, j). This is not consistent with the ideas of left
6% and right division in a non-commutative algebra, therefore it is
7% not supported for quaternion arrays. The operator ./ implements
8% elementwise division on the right, as expected, but to obtain
9% elementwise division on the left use: inv(B) .* A
10
11% Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan.
12% See the file : Copyright.m for further details.
13
14help quaternion/ldivide;
15error('Elementwise left division is not implemented for quaternions.');
Note: See TracBrowser for help on using the repository browser.