A D E F G H I K L M N R S T V Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractVector - Class in ai.libs.jaicore.math.linearalgebra
-
An abstract vector class, implementing several common methods for different vector implementations.
- AbstractVector() - Constructor for class ai.libs.jaicore.math.linearalgebra.AbstractVector
- addConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- addConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- addConstant(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given constant to this vector.
- addConstantToCopy(double) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- addConstantToCopy(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given constant to a copy of this vector and returns the result of this operation.
- addVector(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- addVector(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- addVector(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given double array interpreted as a vector to this vector.
- addVector(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- addVector(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- addVector(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given vector to this vector.
- addVectorToCopy(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- addVectorToCopy(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given double array interpreted as a vector to a copy of this vector and returns the result of the operation.
- addVectorToCopy(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- addVectorToCopy(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Adds the given vector to a copy of this vector and returns the result of the operation.
- ai.libs.jaicore.math.linearalgebra - package ai.libs.jaicore.math.linearalgebra
- ai.libs.jaicore.math.numopt - package ai.libs.jaicore.math.numopt
- ai.libs.jaicore.math.random - package ai.libs.jaicore.math.random
- asArray() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- asArray() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- asArray() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns this vector as a double array.
- average() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- average() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the average of all values contained in this vector.
D
- DEFAULT_SEED - Static variable in class ai.libs.jaicore.math.random.RandomGenerator
-
The default value for the random value seed.
- DenseDoubleVector - Class in ai.libs.jaicore.math.linearalgebra
-
Dense vector implementation wrapping the MTJ implementation of a dense vector.
- DenseDoubleVector(double[]) - Constructor for class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
-
Creates a dense vector from the given data.
- DenseDoubleVector(int) - Constructor for class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
-
Creates a dense vector with the given amount of dimensions, initialized with zeros.
- DenseDoubleVector(int, double) - Constructor for class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
-
Creates a new dense vector with the given size and paste for each entry the given value.
- DenseDoubleVector(Vector) - Constructor for class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
-
Creates a dense vector from an MTJ vector.
- divideByConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- divideByConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- divideByConstant(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides this vector by the given constant.
- divideByConstantToCopy(double) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- divideByConstantToCopy(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides a copy of this vector by the given constant and returns the result of this operation.
- divideByVectorPairwise(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- divideByVectorPairwise(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- divideByVectorPairwise(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides this vector by the given double array interpreted as a pairwise vector and stores the result in this vector.
- divideByVectorPairwise(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- divideByVectorPairwise(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- divideByVectorPairwise(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides this vector by the given pairwise vector and stores the result in this vector.
- divideByVectorPairwiseToCopy(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- divideByVectorPairwiseToCopy(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides a copy of this vector by the given double array interpreted as a pairwise vector and returns the result of this operation.
- divideByVectorPairwiseToCopy(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- divideByVectorPairwiseToCopy(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Divides a copy of this vector by the given pairwise vector and returns the result of this operation.
- dotProduct(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- dotProduct(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- dotProduct(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Computes the dot product of the given vector and this vector.
- dotProduct(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- dotProduct(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- dotProduct(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Computes the dot product of the given vector and this vector.
- duplicate() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- duplicate() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- duplicate() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Creates a deep copy of this vector.
E
- equals(Object) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- equals(Object) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- euclideanNorm() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- euclideanNorm() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the Euclidean norm (length) of this vector.
- eval(double[]) - Method in interface ai.libs.jaicore.math.numopt.IRealFunction
F
- fillRandomly() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- fillRandomly() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- fillRandomly() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Fills this vector with random values from the unit interval.
G
- getMinimum() - Method in interface ai.libs.jaicore.math.numopt.ISingleMinimumComputer
- getNonZeroIndices() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
-
Returns an array containing the non-zero indices of this sparse vector.
- getRNG() - Static method in class ai.libs.jaicore.math.random.RandomGenerator
-
Returns the random variable of this class.
- getSeed() - Static method in class ai.libs.jaicore.math.random.RandomGenerator
-
Returns the seed of the random variable singleton.
- getValue(int) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- getValue(int) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- getValue(int) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the value at the given index of this vector.
H
- hashCode() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- hashCode() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
I
- incrementValueAt(int, double) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- incrementValueAt(int, double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Increments the value at the given index by the given amount.
- initializeRNG(long) - Static method in class ai.libs.jaicore.math.random.RandomGenerator
-
Initializes the random generator with the given seed.
- internalVector - Variable in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- IRealFunction - Interface in ai.libs.jaicore.math.numopt
- ISingleMinimumComputer - Interface in ai.libs.jaicore.math.numopt
-
Interface to compute the place of a function f where f is locally minimal
- isSparse() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- isSparse() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- isSparse() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Checks if this vector is sparse.
K
- kroneckerProduct(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- kroneckerProduct(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- kroneckerProduct(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Computes the kronecker product of this vector (v) with the given vector (w).
- kroneckerProductInternal(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
L
- length() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- length() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- length() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the number of dimensions of this vector.
M
- mean() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- mean() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Computes the mean of this vector.
- merge(Vector, Vector) - Static method in interface ai.libs.jaicore.math.linearalgebra.Vector
- multiplyByConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- multiplyByConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- multiplyByConstant(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies this vector with the given constant.
- multiplyByConstantToCopy(double) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- multiplyByConstantToCopy(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies a copy of this vector with the given constant and returns the result of this operation.
- multiplyByVectorPairwise(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- multiplyByVectorPairwise(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- multiplyByVectorPairwise(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies this vector with the given double array interpreted as a pairwise vector and stores the result in this vector.
- multiplyByVectorPairwise(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- multiplyByVectorPairwise(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- multiplyByVectorPairwise(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies this vector with the given vector pairwisely and stores the result in this vector.
- multiplyByVectorPairwiseToCopy(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- multiplyByVectorPairwiseToCopy(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies a copy of this vector with the given double array interpreted as a pairwise vector and returns the result of the operation.
- multiplyByVectorPairwiseToCopy(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- multiplyByVectorPairwiseToCopy(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Multiplies a copy of this vector with the given vector pairwisely and returns the result of this operation.
N
- normalize() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- normalize() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- normalize() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Normalizes this vector to the unit interval.
R
- RandomGenerator - Class in ai.libs.jaicore.math.random
-
This class serves as a way to obtain a globally synchronized random variable.
S
- setValue(int, double) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- setValue(int, double) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- setValue(int, double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Sets the value at the given index of this vector to the given value.
- SparseDoubleVector - Class in ai.libs.jaicore.math.linearalgebra
-
Sparse vector implementation wrapping the MTJ implementation of a sparse vector.
- SparseDoubleVector(double[]) - Constructor for class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
-
Creates a new SparseDoubleVector which contains the given values.
- SparseDoubleVector(int) - Constructor for class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
-
Creates a new SparseDoubleVector which contains only zero values.
- SparseDoubleVector(int[], double[], int) - Constructor for class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
-
Creates a new SparseDoubleVector which contains the given values.
- SparseDoubleVector(SparseVector) - Constructor for class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
-
Creates a new SparseDoubleVector from an MTJ
SparseVector
. - squareRoot() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- squareRoot() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Replaces the current values of the vectors with the square roots of the elements.
- squareRootToCopy() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- squareRootToCopy() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Takes the square root of each element of the vector and creates a new vector with these elements.
- standardDeviation() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- standardDeviation() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the standard deviation over the values in the vector.
- stream() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns a Stream of the values contained in this vector.
- subtractConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- subtractConstant(double) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- subtractConstant(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given constant from this vector.
- subtractConstantFromCopy(double) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- subtractConstantFromCopy(double) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given constant from a copy of this vector and returns the result of the operation.
- subtractVector(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- subtractVector(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- subtractVector(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given double array interpreted as a vector from this vector.
- subtractVector(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- subtractVector(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- subtractVector(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given vector from this vector.
- subtractVectorFromCopy(double[]) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- subtractVectorFromCopy(double[]) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given double array interpreted as a vector from a copy of this vector and returns the result of this operation.
- subtractVectorFromCopy(Vector) - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- subtractVectorFromCopy(Vector) - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Subtracts the given vector from a copy of this vector and returns the result of this operation.
- sum() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- sum() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns the sum over the values of the dimensions of this vector.
T
- toDenseVector() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- toDenseVector() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- toDenseVector() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns this vector as
DenseDoubleVector
. - toSparseVector() - Method in class ai.libs.jaicore.math.linearalgebra.DenseDoubleVector
- toSparseVector() - Method in class ai.libs.jaicore.math.linearalgebra.SparseDoubleVector
- toSparseVector() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Returns this vector as
SparseDoubleVector
. - toString() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
V
- Vector - Interface in ai.libs.jaicore.math.linearalgebra
-
This interface defines all methods, which are required by all vector implementations.
Z
- zeroAllDimensions() - Method in class ai.libs.jaicore.math.linearalgebra.AbstractVector
- zeroAllDimensions() - Method in interface ai.libs.jaicore.math.linearalgebra.Vector
-
Sets all dimensions of this vector to
0
.
All Classes All Packages