eig

@JvmName(name = "eigF")
fun LinAlg.eig(mat: MultiArray<Float, D2>): Pair<D1Array<ComplexFloat>, D2Array<ComplexFloat>>

Calculates the eigenvalues and eigenvectors of a float matrix

Return

a pair of a vector of eigenvalues and a matrix of eigenvectors


@JvmName(name = "eig")
fun <T : Number> LinAlg.eig(mat: MultiArray<T, D2>): Pair<D1Array<ComplexDouble>, D2Array<ComplexDouble>>

Calculates the eigenvalues and eigenvectors of a numeric matrix

Return

a pair of a vector of eigenvalues and a matrix of eigenvectors


@JvmName(name = "eigC")
fun <T : Complex> LinAlg.eig(mat: MultiArray<T, D2>): Pair<D1Array<T>, D2Array<T>>

Calculates the eigenvalues and eigenvectors of a complex matrix

Return

a pair of a vector of eigenvalues and a matrix of eigenvectors