Ejemplo n.º 1
0
 public static int dsyev(char jobz, char uplo, fastmath.AbstractMatrix A, fastmath.Vector
                         W, fastmath.Vector work, int lwork)
 {
     System.Diagnostics.Debug.Assert(work.getOffset(0) == 0, "work offset must be 0");
     System.Diagnostics.Debug.Assert(A.isColMajor(), "A must be col major");
     System.Diagnostics.Debug.Assert(W.isContiguous(), "W must be contiguous");
     System.Diagnostics.Debug.Assert(W.getOffset(0) == 0, "W offset must be 0");
     System.Diagnostics.Debug.Assert(W.Count == A.numRows, "A.length != A.rows");
     return(dsyev(jobz, uplo, A.getRowCount(), A.getBuffer(), A.getOffset(0, 0), A.getRowCount
                      (), W.getBuffer(), work.getBuffer(), lwork));
 }