internal EigenElement(EigenvalueDecomposition data, int idx) { Value = data.RealEigenvalues[idx]; Vector = data.EigenVectors.GetColumnVector(idx).CopyToArray(); }
static IEnumerable<EigenElement> EigenList(EigenvalueDecomposition data) { int size = data.EigenValues.Count(); for (int i = 0; i < size; i++) { yield return new EigenElement(data, i); } }
public Vector CalcEigenValues(Matrix AdjMatrix) { EigenvalueDecomposition v = null; v = new EigenvalueDecomposition(AdjMatrix); return v.RealEigenvalues; }