Math_Quaternion
[ class tree: Math_Quaternion ] [ index: Math_Quaternion ] [ all elements ]

Element index for package Math_Quaternion

[ a ] [ c ] [ d ] [ g ] [ i ] [ l ] [ m ] [ n ] [ q ] [ s ] [ t ]

a

add
in file QuaternionOp.php, method Math_QuaternionOp::add()
    Adds two quaternions: q1 + q2
areEqual
in file QuaternionOp.php, method Math_QuaternionOp::areEqual()
    Checks if two quaternions represent the same number
top

c

conjugate
in file QuaternionOp.php, method Math_QuaternionOp::conjugate()
    Calculate the conjugate of a quaternion
conjugate
in file Quaternion.php, method Math_Quaternion::conjugate()
    Conjugates the quaternion
top

d

div
in file QuaternionOp.php, method Math_QuaternionOp::div()
    Divides two quaternions: q1 / q2
top

g

getAllIm
in file Quaternion.php, method Math_Quaternion::getAllIm()
    Returns an associative array of I, J, K
getI
in file Quaternion.php, method Math_Quaternion::getI()
    Returns I
getJ
in file Quaternion.php, method Math_Quaternion::getJ()
    Returns J
getK
in file Quaternion.php, method Math_Quaternion::getK()
    Returns K
getReal
in file Quaternion.php, method Math_Quaternion::getReal()
    Returns the real part
top

i

inverse
in file QuaternionOp.php, method Math_QuaternionOp::inverse()
    Inverts the given quaternion
isQuaternion
in file QuaternionOp.php, method Math_QuaternionOp::isQuaternion()
    Whether the object is a Math_Quaternion instance
top

l

length
in file Quaternion.php, method Math_Quaternion::length()
    Returns the length (norm). Alias of Math_Quaternion:norm()
length2
in file Quaternion.php, method Math_Quaternion::length2()
    Returns the square of the norm (length)
top

m

makeClone
in file Quaternion.php, method Math_Quaternion::makeClone()
    Clones the quaternion
Math_Quaternion
in file Quaternion.php, class Math_Quaternion
    Math_Quaternion: class to represent an manipulate quaternions (q = a + b*i + c*j + d*k)
Math_Quaternion
in file Quaternion.php, method Math_Quaternion::Math_Quaternion()
    Constructor for Math_Quaternion
Math_QuaternionOp
in file QuaternionOp.php, class Math_QuaternionOp
    Math_QuaternionOp: class that implements operations on quaternions
mult
in file QuaternionOp.php, method Math_QuaternionOp::mult()
    Multiplies two quaternions: q1 * q2 It uses a fast multiplication algorithm.
multReal
in file QuaternionOp.php, method Math_QuaternionOp::multReal()
    Multiplies a quaternion by a real number: q1 * realnum
top

n

negate
in file Quaternion.php, method Math_Quaternion::negate()
    Negates the quaternion
negate
in file QuaternionOp.php, method Math_QuaternionOp::negate()
    Negates the given quaternion
norm
in file Quaternion.php, method Math_Quaternion::norm()
    Returns the norm of the quaternion
normalize
in file Quaternion.php, method Math_Quaternion::normalize()
    Normalizes the quaternion
top

q

Quaternion.php
procedural page Quaternion.php
QuaternionOp.php
procedural page QuaternionOp.php
top

s

setAllIm
in file Quaternion.php, method Math_Quaternion::setAllIm()
    Sets I, J, K
setI
in file Quaternion.php, method Math_Quaternion::setI()
    Sets I
setJ
in file Quaternion.php, method Math_Quaternion::setJ()
    Sets J
setK
in file Quaternion.php, method Math_Quaternion::setK()
    Sets K
setReal
in file Quaternion.php, method Math_Quaternion::setReal()
    Sets the real part
sub
in file QuaternionOp.php, method Math_QuaternionOp::sub()
    Substracts two quaternions: q1 - q2
top

t

toString
in file Quaternion.php, method Math_Quaternion::toString()
    Simple string representation of the quaternion
top

Documentation generated on Mon, 11 Mar 2019 15:39:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.