Index of all elements
[ a ]
[ c ]
[ d ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ r ]
[ s ]
[ t ]
[ v ]
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
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
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
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
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
top
top
Documentation generated on Mon, 11 Mar 2019 15:39:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|