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

Index of all elements

[ a ] [ c ] [ d ] [ g ] [ h ] [ i ] [ l ] [ m ] [ n ] [ r ] [ s ] [ t ] [ v ]

a

add
in file VectorOp.php, method Math_VectorOp::add()
    Vector addition v + w = <v1 + w1, v2 + w2, ..., vk + wk>
addElement
in file Tuple.php, method Math_Tuple::addElement()
    Appends an element to the tuple
addElement
in file CompactedTuple.php, method Math_CompactedTuple::addElement()
angleBetween
in file VectorOp.php, method Math_VectorOp::angleBetween()
    Angle between vectors, using the equation: v . w = |v| |w| cos(theta)
top

c

cartesianDistance
in file Vector.php, method Math_Vector::cartesianDistance()
    Returns the cartesian distance to another vector
chessboardDistance
in file Vector.php, method Math_Vector::chessboardDistance()
    Returns the Chessboard distance to another vector Definition: chessboard dist. = max(|x1 - x2|, |y1 - y2|, ...)
conjugate
in file Vector.php, method Math_Vector::conjugate()
    Conjugates the vector. Alias of reverse.
create
in file VectorOp.php, method Math_VectorOp::create()
    Creates a vector of a given size in which all elements have the same value
createBasis
in file VectorOp.php, method Math_VectorOp::createBasis()
    Creates a basis vector of the given size A basis vector of size n, has n - 1 elements equal to 0 and one element equal to 1
createOne
in file VectorOp.php, method Math_VectorOp::createOne()
    Creates a one-filled vector of the given size
createZero
in file VectorOp.php, method Math_VectorOp::createZero()
    Creates a zero-filled vector of the given size
crossProduct
in file VectorOp.php, method Math_VectorOp::crossProduct()
    Vector cross product = v x w
CompactedTuple.php
procedural page CompactedTuple.php
top

d

$data
in file CompactedTuple.php, variable Math_CompactedTuple::$data
delElement
in file Tuple.php, method Math_Tuple::delElement()
    Remove an element from the tuple
delElement
in file CompactedTuple.php, method Math_CompactedTuple::delElement()
distance
in file Vector.php, method Math_Vector::distance()
    Returns the distance to another vector
divide
in file VectorOp.php, method Math_VectorOp::divide()
    Vector division v / w = <v1 / w1, v2 / w2, ..., vk / wk>
dotProduct
in file VectorOp.php, method Math_VectorOp::dotProduct()
    Vector dot product = v . w = |v| |w| cos(theta)
top

g

get
in file Vector.php, method Math_Vector::get()
    Gets the value of a element
getCompactedData
in file CompactedTuple.php, method Math_CompactedTuple::getCompactedData()
getCompactedSize
in file CompactedTuple.php, method Math_CompactedTuple::getCompactedSize()
getData
in file Tuple.php, method Math_Tuple::getData()
    Returns an array with all the elements of the tuple
getData
in file CompactedTuple.php, method Math_CompactedTuple::getData()
getData
in file Vector.php, method Math_Vector::getData()
    Returns an array of numbers
getElement
in file Tuple.php, method Math_Tuple::getElement()
    Returns the value of an element in the tuple
getMax
in file Tuple.php, method Math_Tuple::getMax()
    Returns the maximum value of the tuple
getMaxIndex
in file Tuple.php, method Math_Tuple::getMaxIndex()
    Gets the position of the maximum value in the tuple
getMin
in file Tuple.php, method Math_Tuple::getMin()
    Returns the minimum value of the tuple
getMinIndex
in file Tuple.php, method Math_Tuple::getMinIndex()
    Gets the position of the minimum value in the tuple
getMinMax
in file Tuple.php, method Math_Tuple::getMinMax()
    Returns an array of the minimum and maximum values of the tuple
getMinMaxIndex
in file Tuple.php, method Math_Tuple::getMinMaxIndex()
    Gets an array of the positions of the minimum and maximum values in the tuple
getSize
in file Tuple.php, method Math_Tuple::getSize()
    Returns the size (number of elements) in the tuple
getSize
in file CompactedTuple.php, method Math_CompactedTuple::getSize()
getTuple
in file Vector.php, method Math_Vector::getTuple()
    returns the Math_Tuple object corresponding to the vector
getValueIndex
in file Tuple.php, method Math_Tuple::getValueIndex()
    Gets the position of the given value in the tuple
getX
in file Vector3.php, method Math_Vector3::getX()
    Returns the X component of the vector
getX
in file Vector2.php, method Math_Vector2::getX()
    Returns the X component of the vector
getY
in file Vector3.php, method Math_Vector3::getY()
    Returns the Y component of the vector
getY
in file Vector2.php, method Math_Vector2::getY()
    Returns the Y component of the vector
getZ
in file Vector3.php, method Math_Vector3::getZ()
    Returns the Z component of the vector
top

h

hasElement
in file CompactedTuple.php, method Math_CompactedTuple::hasElement()
top

i

isValid
in file Vector.php, method Math_Vector::isValid()
    Checks if the vector has been correctly initialized
isVector
in file VectorOp.php, method Math_VectorOp::isVector()
    Checks if object is of Math_Vector class (or a subclass of Math_Vector)
isVector2
in file VectorOp.php, method Math_VectorOp::isVector2()
    Checks if object is of Math_Vector2 class (or a subclass of Math_Vector2)
isVector3
in file VectorOp.php, method Math_VectorOp::isVector3()
    Checks if object is of Math_Vector3 class (or a subclass of Math_Vector3)
isZero
in file Tuple.php, method Math_Tuple::isZero()
    Checks if the tuple is a a Zero tuple
top

l

length
in file Vector.php, method Math_Vector::length()
    Returns the length of the vector
lengthSquared
in file Vector.php, method Math_Vector::lengthSquared()
    Returns the square of the vector's length
top

m

magnitude
in file Vector.php, method Math_Vector::magnitude()
    Returns the magnitude of the vector. Alias of length
manhattanDistance
in file Vector.php, method Math_Vector::manhattanDistance()
    Returns the Manhattan (aka City) distance to another vector Definition: manhattan dist. = |x1 - x2| + |y1 - y2| + ...
Math_CompactedTuple
in file CompactedTuple.php, class Math_CompactedTuple
Math_CompactedTuple
in file CompactedTuple.php, method Math_CompactedTuple::Math_CompactedTuple()
Math_Tuple
in file Tuple.php, class Math_Tuple
    General Tuple class A Tuple represents a general unidimensional list of n numeric elements Originally this class was part of NumPHP (Numeric PHP package)
Math_Tuple
in file Tuple.php, method Math_Tuple::Math_Tuple()
    Constructor of Math_Tuple
Math_Vector
in file Vector.php, class Math_Vector
    General Vector class Originally this class was part of NumPHP (Numeric PHP package)
Math_Vector
in file Vector.php, method Math_Vector::Math_Vector()
    Constructor for Math_Vector
Math_Vector2
in file Vector2.php, method Math_Vector2::Math_Vector2()
    Constructor for Math_Vector2
Math_Vector2
in file Vector2.php, class Math_Vector2
    2D Vector class Originally this class was part of NumPHP (Numeric PHP package)
Math_Vector3
in file Vector3.php, class Math_Vector3
    3D vector class Originally this class was part of NumPHP (Numeric PHP package)
Math_Vector3
in file Vector3.php, method Math_Vector3::Math_Vector3()
    Constructor for Math_Vector3
Math_VectorOp
in file VectorOp.php, class Math_VectorOp
    Vector operation class.
multiply
in file VectorOp.php, method Math_VectorOp::multiply()
    Vector multiplication v * w = <v1 * w1, v2 * w2, ..., vk * wk>
top

n

normalize
in file Vector.php, method Math_Vector::normalize()
    Normalizes the vector, converting it to a unit vector
top

r

reverse
in file Vector.php, method Math_Vector::reverse()
    Reverses the direction of the vector negating each element
top

s

scale
in file VectorOp.php, method Math_VectorOp::scale()
    Vector scaling f * w = <f * w1, f * w2, ..., f * wk>
scale
in file Vector.php, method Math_Vector::scale()
    Scales the vector elements by the given factor
set
in file Vector.php, method Math_Vector::set()
    Sets the value of a element
setData
in file Vector.php, method Math_Vector::setData()
    Initializes the vector
setElement
in file Tuple.php, method Math_Tuple::setElement()
    Sets the value of an element
setX
in file Vector3.php, method Math_Vector3::setX()
    Sets the X component of the vector
setX
in file Vector2.php, method Math_Vector2::setX()
    Sets the X component of the vector
setY
in file Vector2.php, method Math_Vector2::setY()
    Sets the Y component of the vector
setY
in file Vector3.php, method Math_Vector3::setY()
    Sets the Y component of the vector
setZ
in file Vector3.php, method Math_Vector3::setZ()
    Sets the Z component of the vector
size
in file Vector.php, method Math_Vector::size()
    Returns the number of elements (dimensions) of the vector
squeezeHoles
in file Tuple.php, method Math_Tuple::squeezeHoles()
    Squeezes out holes in the tuple sequence
substract
in file VectorOp.php, method Math_VectorOp::substract()
    Vector substraction v - w = <v1 - w1, v2 - w2, ..., vk - wk>
top

t

tuple_creation.php
procedural page tuple_creation.php
Tuple.php
procedural page Tuple.php
toHTML
in file Tuple.php, method Math_Tuple::toHTML()
    Returns an HTML representation of the tuple
toString
in file Vector.php, method Math_Vector::toString()
    Returns a simple string representation of the vector
toString
in file Tuple.php, method Math_Tuple::toString()
    Returns an string representation of the tuple
tripleScalarProduct
in file VectorOp.php, method Math_VectorOp::tripleScalarProduct()
    Vector triple scalar product = v1 . (v2 x v3)
top

v

vector_creation.php
procedural page vector_creation.php
vector_operations.php
procedural page vector_operations.php
Vector.php
procedural page Vector.php
Vector2.php
procedural page Vector2.php
Vector3.php
procedural page Vector3.php
VectorOp.php
procedural page VectorOp.php
top

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