Skip navigation links
A C D E G H I K L M N O P Q R S T U W Z 

A

assertCountable(SimpleMatrix) - Static method in class org.ejml.simple.SimpleUnitTests
Checks to see if every element in A is countable.
assertEquals(SimpleMatrix, SimpleMatrix, double) - Static method in class org.ejml.simple.SimpleUnitTests
Checks to see if each element in the matrices are within tolerance of each other and countable:
assertEqualsUncountable(SimpleMatrix, SimpleMatrix, double) - Static method in class org.ejml.simple.SimpleUnitTests
Checks to see if each element in the matrix is within tolerance of each other:
assertShape(SimpleMatrix, SimpleMatrix) - Static method in class org.ejml.simple.SimpleUnitTests
Checks to see if A and B have the same shape.

C

combine(int, int, T) - Method in class org.ejml.simple.SimpleBase
Creates a new matrix that is a combination of this matrix and matrix B.
conditionP2() - Method in class org.ejml.simple.SimpleBase
The condition p = 2 number of a matrix is used to measure the sensitivity of the linear system Ax=b.
convertSimple(BlockMatrix64F) - Static method in class org.ejml.simple.UtilSimpleMatrix
Converts the block matrix into a SimpleMatrix.
copy() - Method in class org.ejml.simple.SimpleBase
Creates and returns a matrix which is idential to this one.
createMatrix(int, int) - Method in class org.ejml.simple.SimpleBase
Used internally for creating new instances of SimpleMatrix.
createMatrix(int, int) - Method in class org.ejml.simple.SimpleMatrix
 

D

determinant() - Method in class org.ejml.simple.SimpleBase
Computes the determinant of the matrix.
diag(double...) - Static method in class org.ejml.simple.SimpleMatrix
Creates a matrix where all but the diagonal elements are zero.
divide(double) - Method in class org.ejml.simple.SimpleBase
Returns the result of dividing each element by 'val': bi,j = ai,j/val
dot(T) - Method in class org.ejml.simple.SimpleBase
Computes the dot product (a.k.a.

E

eig() - Method in class org.ejml.simple.SimpleBase
Returns the Eigen Value Decomposition (EVD) of this matrix.
elementDiv(T) - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element division of 'this' and 'b': ci,j = ai,j/bi,j
elementExp() - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element exp of 'this' ci,j = Math.exp(ai,j)
elementLog() - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element exp of 'this' ci,j = Math.log(ai,j)
elementMaxAbs() - Method in class org.ejml.simple.SimpleBase
Returns the maximum absolute value of all the elements in this matrix.
elementMult(T) - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element multiplication of 'this' and 'b': ci,j = ai,j*bi,j
elementPower(T) - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element power of 'this' and 'b': ci,j = ai,j ^ bi,j
elementPower(double) - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of an element by element power of 'this' and 'b': ci,j = ai,j ^ b
elementSum() - Method in class org.ejml.simple.SimpleBase
Computes the sum of all the elements in the matrix.
END - Static variable in class org.ejml.simple.SimpleMatrix
A simplified way to reference the last row or column in the matrix for some functions.
extractDiag() - Method in class org.ejml.simple.SimpleBase
Extracts the diagonal from this matrix and returns them inside a column vector.
extractMatrix(int, int, int, int) - Method in class org.ejml.simple.SimpleBase
Creates a new SimpleMatrix which is a submatrix of this matrix.
extractVector(boolean, int) - Method in class org.ejml.simple.SimpleBase
Extracts a row or column from this matrix.

G

get(int, int) - Method in class org.ejml.simple.SimpleBase
Returns the value of the specified matrix element.
get(int) - Method in class org.ejml.simple.SimpleBase
Returns the value of the matrix at the specified index of the 1D row major array.
getEigenvalue(int) - Method in class org.ejml.simple.SimpleEVD
Returns an eigenvalue as a complex number.
getEigenVector(int) - Method in class org.ejml.simple.SimpleEVD
Used to retrieve real valued eigenvectors.
getEVD() - Method in class org.ejml.simple.SimpleEVD
Returns the underlying decomposition that this is a wrapper around.
getIndex(int, int) - Method in class org.ejml.simple.SimpleBase
Returns the index in the matrix's array.
getIndexMax() - Method in class org.ejml.simple.SimpleEVD
Returns the index of the eigenvalue which has the largest magnitude.
getIndexMin() - Method in class org.ejml.simple.SimpleEVD
Returns the index of the eigenvalue which has the smallest magnitude.
getMatrix() - Method in class org.ejml.simple.SimpleBase
Returns a reference to the matrix that it uses internally.
getNumberOfEigenvalues() - Method in class org.ejml.simple.SimpleEVD
Returns the number of eigenvalues/eigenvectors.
getNumElements() - Method in class org.ejml.simple.SimpleBase
Returns the number of elements in this matrix, which is equal to the number of rows times the number of columns.
getSingleValue(int) - Method in class org.ejml.simple.SimpleSVD
Returns the specified singular value.
getSVD() - Method in class org.ejml.simple.SimpleSVD
Returns the underlying decomposition that this is a wrapper around.
getU() - Method in class org.ejml.simple.SimpleSVD
Returns the orthogonal 'U' matrix.
getV() - Method in class org.ejml.simple.SimpleSVD
Returns the orthogonal 'V' matrix.
getW() - Method in class org.ejml.simple.SimpleSVD
Returns a diagonal matrix with the singular values.

H

hasUncountable() - Method in class org.ejml.simple.SimpleBase
Checks to see if any of the elements in this matrix are either NaN or infinite.

I

identity(int) - Static method in class org.ejml.simple.SimpleMatrix
Creates a new identity matrix with the specified size.
insertIntoThis(int, int, T) - Method in class org.ejml.simple.SimpleBase
Copy matrix B into this matrix at location (insertRow, insertCol).
invert() - Method in class org.ejml.simple.SimpleBase
Returns the inverse of this matrix.

b = a-1
isIdentical(T, double) - Method in class org.ejml.simple.SimpleBase
Checks to see if matrix 'a' is the same as this matrix within the specified tolerance.
isInBounds(int, int) - Method in class org.ejml.simple.SimpleBase
Returns true of the specified matrix element is valid element inside this matrix.
isVector() - Method in class org.ejml.simple.SimpleBase
Returns true if this matrix is a vector.
iterator(boolean, int, int, int, int) - Method in class org.ejml.simple.SimpleBase
Creates a new iterator for traversing through a submatrix inside this matrix.

K

kron(T) - Method in class org.ejml.simple.SimpleBase
Computes the Kronecker product between this matrix and the provided B matrix:

C = kron(A,B)

L

loadBinary(String) - Static method in class org.ejml.simple.SimpleBase
Loads a new matrix from a serialized binary file.
loadCSV(String) - Method in class org.ejml.simple.SimpleBase
Loads a new matrix from a CSV file.

M

mat - Variable in class org.ejml.simple.SimpleBase
Internal matrix which this is a wrapper around.
minus(T) - Method in class org.ejml.simple.SimpleBase
Returns the result of matrix subtraction:

c = a - b

where c is the returned matrix, a is this matrix, and b is the passed in matrix.
minus(double) - Method in class org.ejml.simple.SimpleBase
Returns the result of matrix-double subtraction:

c = a - b

where c is the returned matrix, a is this matrix, and b is the passed in double.
mult(T) - Method in class org.ejml.simple.SimpleBase
Returns a matrix which is the result of matrix multiplication:

c = a * b

where c is the returned matrix, a is this matrix, and b is the passed in matrix.

N

negative() - Method in class org.ejml.simple.SimpleBase
Returns a new matrix whose elements are the negative of 'this' matrix's elements.

bij = -aij
normF() - Method in class org.ejml.simple.SimpleBase
Computes the Frobenius normal of the matrix:

normF = Sqrt{ ∑i=1:mj=1:n { aij2} }
nullity() - Method in class org.ejml.simple.SimpleSVD
The nullity of the decomposed matrix.
nullSpace() - Method in class org.ejml.simple.SimpleSVD
Computes the null space from an SVD.
numCols() - Method in class org.ejml.simple.SimpleBase
Returns the number of columns in this matrix.
numRows() - Method in class org.ejml.simple.SimpleBase
Returns the number of rows in this matrix.

O

org.ejml.simple - package org.ejml.simple
 

P

plus(T) - Method in class org.ejml.simple.SimpleBase
Returns the result of matrix addition:

c = a + b

where c is the returned matrix, a is this matrix, and b is the passed in matrix.
plus(double) - Method in class org.ejml.simple.SimpleBase
Performs a element-wise scale operation.

c = β*a

where c is the returned matrix, a is this matrix.
plus(double, T) - Method in class org.ejml.simple.SimpleBase
Performs a matrix addition and scale operation.

c = a + β*b

where c is the returned matrix, a is this matrix, and b is the passed in matrix.
print() - Method in class org.ejml.simple.SimpleBase
Prints the matrix to standard out.
print(int, int) - Method in class org.ejml.simple.SimpleBase
Prints the matrix to standard out with the specified precision.
print(String) - Method in class org.ejml.simple.SimpleBase
Prints the matrix to standard out given a {@link java.io.PrintStream#printf) style floating point format, e.g.
printDimensions() - Method in class org.ejml.simple.SimpleBase
Prints the number of rows and column in this matrix.
pseudoInverse() - Method in class org.ejml.simple.SimpleBase
Computes the Moore-Penrose pseudo-inverse

Q

quality() - Method in class org.ejml.simple.SimpleEVD
Computes the quality of the computed decomposition.
quality() - Method in class org.ejml.simple.SimpleSVD
Computes the quality of the computed decomposition.

R

random(int, int, double, double, Random) - Static method in class org.ejml.simple.SimpleMatrix
Creates a new SimpleMatrix with random elements drawn from a uniform distribution from minValue to maxValue.
randomNormal(SimpleMatrix, Random) - Static method in class org.ejml.simple.SimpleMatrix
Creates a new vector which is drawn from a multivariate normal distribution with zero mean and the provided covariance.
rank() - Method in class org.ejml.simple.SimpleSVD
Returns the rank of the decomposed matrix.
reshape(int, int) - Method in class org.ejml.simple.SimpleBase
Reshapes the matrix to the specified number of rows and columns.

S

saveToFileBinary(String) - Method in class org.ejml.simple.SimpleBase
Saves this matrix to a file as a serialized binary object.
saveToFileCSV(String) - Method in class org.ejml.simple.SimpleBase
Saves this matrix to a file in a CSV format.
scale(double) - Method in class org.ejml.simple.SimpleBase
Returns the result of scaling each element by 'val':
bi,j = val*ai,j
set(T) - Method in class org.ejml.simple.SimpleBase
Sets the elements in this matrix to be equal to the elements in the passed in matrix.
set(double) - Method in class org.ejml.simple.SimpleBase
Sets all the elements in this matrix equal to the specified value.

aij = val
set(int, int, double) - Method in class org.ejml.simple.SimpleBase
Assigns the element in the Matrix to the specified value.
set(int, double) - Method in class org.ejml.simple.SimpleBase
Assigns an element a value based on its index in the internal array..
setColumn(int, int, double...) - Method in class org.ejml.simple.SimpleBase
Assigns consecutive elements inside a column to the provided array.

A(offset:(offset + values.length),column) = values
setRow(int, int, double...) - Method in class org.ejml.simple.SimpleBase
Assigns consecutive elements inside a row to the provided array.

A(row,offset:(offset + values.length)) = values
SimpleBase<T extends SimpleBase> - Class in org.ejml.simple
Parent of SimpleMatrix implements all the standard matrix operations and uses generics to allow the returned matrix type to be changed.
SimpleBase(int, int) - Constructor for class org.ejml.simple.SimpleBase
 
SimpleBase() - Constructor for class org.ejml.simple.SimpleBase
 
SimpleEVD<T extends SimpleMatrix> - Class in org.ejml.simple
Wrapper around EigenDecomposition for SimpleMatrix
SimpleEVD(DenseMatrix64F) - Constructor for class org.ejml.simple.SimpleEVD
 
SimpleMatrix - Class in org.ejml.simple
SimpleMatrix is a wrapper around DenseMatrix64F that provides an easy to use object oriented interface for performing matrix operations.
SimpleMatrix(int, int, boolean, double...) - Constructor for class org.ejml.simple.SimpleMatrix
Creates a new matrix which has the same value as the matrix encoded in the provided array.
SimpleMatrix(double[][]) - Constructor for class org.ejml.simple.SimpleMatrix
Creates a matrix with the values and shape defined by the 2D array 'data'.
SimpleMatrix(int, int) - Constructor for class org.ejml.simple.SimpleMatrix
Creates a new matrix that is initially set to zero with the specified dimensions.
SimpleMatrix(SimpleMatrix) - Constructor for class org.ejml.simple.SimpleMatrix
Creats a new SimpleMatrix which is identical to the original.
SimpleMatrix(DenseMatrix64F) - Constructor for class org.ejml.simple.SimpleMatrix
Creates a new SimpleMatrix which is a copy of the DenseMatrix64F.
SimpleMatrix(RealMatrix64F) - Constructor for class org.ejml.simple.SimpleMatrix
Creates a new SimpleMatrix which is a copy of the Matrix64F.
SimpleMatrix() - Constructor for class org.ejml.simple.SimpleMatrix
Constructor for internal library use only.
SimpleSVD<T extends SimpleMatrix> - Class in org.ejml.simple
Wrapper around SVD for simple matrix.
SimpleSVD(DenseMatrix64F, boolean) - Constructor for class org.ejml.simple.SimpleSVD
 
SimpleUnitTests - Class in org.ejml.simple
Unit testing functions for SimpleMatrix
SimpleUnitTests() - Constructor for class org.ejml.simple.SimpleUnitTests
 
solve(T) - Method in class org.ejml.simple.SimpleBase
Solves for X in the following equation:

x = a-1b

where 'a' is this matrix and 'b' is an n by p matrix.
svd() - Method in class org.ejml.simple.SimpleBase
Computes a full Singular Value Decomposition (SVD) of this matrix with the eigenvalues ordered from largest to smallest.
svd(boolean) - Method in class org.ejml.simple.SimpleBase
Computes the SVD in either compact format or full format.

T

toString() - Method in class org.ejml.simple.SimpleBase
Converts the array into a string format for display purposes.
trace() - Method in class org.ejml.simple.SimpleBase
Computes the trace of the matrix.
transpose() - Method in class org.ejml.simple.SimpleBase
Returns the transpose of this matrix.
aT

U

UtilSimpleMatrix - Class in org.ejml.simple
 
UtilSimpleMatrix() - Constructor for class org.ejml.simple.UtilSimpleMatrix
 

W

wrap(DenseMatrix64F) - Static method in class org.ejml.simple.SimpleMatrix
Creates a new SimpleMatrix with the specified DenseMatrix64F used as its internal matrix.

Z

zero() - Method in class org.ejml.simple.SimpleBase
Sets all the elements in the matrix equal to zero.
A C D E G H I K L M N O P Q R S T U W Z 
Skip navigation links