TASSELpy.net.maizegenetics.matrixalgebra.decomposition package

Submodules

TASSELpy.net.maizegenetics.matrixalgebra.decomposition.EigenvalueDecomposition module

class TASSELpy.net.maizegenetics.matrixalgebra.decomposition.EigenvalueDecomposition.EigenvalueDecomposition(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getEigenvalue(*args) Gets a single eigenvalue for the decomposition
getEigenvalueMatrix(*args) Gets the eigenvalue matrix
getEigenvalues(*args) Gets the eigenvalues for the decomposition
getEigenvectors(*args) Gets the eigenvectors as a matrix
hashCode(*args) Returns a hash code vlaue for the object
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]
getEigenvalue(*args)[source]

Gets a single eigenvalue for the decomposition

Signature:getEigenvalue (int i)
Parameters:i (int) – index of the eigenvalue you want
Returns:An eigenvalue
Return type:double
getEigenvalueMatrix(*args)[source]

Gets the eigenvalue matrix

Signature:getEigenvalueMatrix ()
Returns:The matrix containing the eigenvalues
Return type:DoubleMatrix
getEigenvalues(*args)[source]

Gets the eigenvalues for the decomposition

Signature:getEigenvalues ()
Returns:Array of eigenvalues
Return type:double[]
getEigenvectors(*args)[source]

Gets the eigenvectors as a matrix

Signature:getEigenvectors ()
Returns:A DoubleMatrix containing the eigenvectors
Return type:DoubleMatrix

TASSELpy.net.maizegenetics.matrixalgebra.decomposition.SingularValueDecomposition module

class TASSELpy.net.maizegenetics.matrixalgebra.decomposition.SingularValueDecomposition.SingularValueDecomposition(*args, **kwargs)[source]

Bases: TASSELpy.java.lang.Object.Object

Methods

castTo(pyType) Casts this object to another java/python type
clone(*args) Creates and returns a copy of this object
equals(*args) Indicates whether some other object is “equal to” this one
getArray(size) Gets an empty wrapped java array that can accept the type of the wrapped
getClass(*args) Returns the runtime class of this Object.
getDblArray(rows[, cols]) Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e.
getRank(*args) Gets the rank of the matrix that was decomposed
getS(*args) Gets S for the decomopsition of A, where A = VSV’
getSingularValues(*args) Gets the singular values for the SVD of A, A = USV’
getU(*args) Gets U for the decomopsition of A, where A = USV’
getV(*args) Gets V for the decomopsition of A, where A = VSV’
hashCode(*args) Returns a hash code vlaue for the object
toString(*args) Returns a string representation of the object
wrap_existing_array(arr_instance) Wraps a java array of this class’s type
__init__(*args, **kwargs)[source]
getRank(*args)[source]

Gets the rank of the matrix that was decomposed

Signature:getRank ()
Returns:The rank of the matrix that was decomposed
Return type:int
getS(*args)[source]

Gets S for the decomopsition of A, where A = VSV’

Signature:getV (boolean transpose)
Returns:S, the diagonal matrix of singular values
Return type:DoubleMatrix
getSingularValues(*args)[source]

Gets the singular values for the SVD of A, A = USV’

Signature:getSingularValues ()
Returns:The singular values equal to the diagonal of S
Return type:double[]
getU(*args)[source]

Gets U for the decomopsition of A, where A = USV’

Signature:getU (boolean transpose)
Parameters:transpose (boolean) – Whether to transpose U
Returns:U (orthogonal)
Return type:DoubleMatrix
getV(*args)[source]

Gets V for the decomopsition of A, where A = VSV’

Signature:getV (boolean transpose)
Parameters:transpose (boolean) – Whether to transpose V
Returns:V (orthogonal)
Return type:DoubleMatrix

Module contents