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

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

Added original make3d

File size: 473 bytes
Line 
1function x = ispure_internal(q)
2% Determines whether q is pure. This function has to know the
3% representation of a quaternion, whereas the function ispure
4% does not.
5
6% Copyright © 2005 Stephen J. Sangwine and Nicolas Le Bihan.
7% See the file : Copyright.m for further details.
8
9error(nargchk(1, 1, nargin)), error(nargoutchk(0, 1, nargout))
10
11x = isempty(q.w); % This is a call on the standard Matlab function
12                  % isempty() since q.w is not a quaternion.
Note: See TracBrowser for help on using the repository browser.