Home > freetb4matlab > quaternion > qinv.m

qinv

PURPOSE ^

% Return the inverse of a quaternion.

SYNOPSIS ^

function retval = qinv (q)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} qinv (@var{q})
% Return the inverse of a quaternion.
%
% @example
% q = [w, x, y, z] = w*i + x*j + y*k + z
% qmult (q, qinv (q)) = 1 = [0 0 0 1]
% @end example
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003