public void Calcular() { DataManip.Normalizar(ref AQ, ref MQ); Eys.EscribirIteracion(AQ, MQ, qm1); for (int it = 0; it < MQ.Length; it++) { Iteracion(ref AQ, MQ, ref qm1); Eys.EscribirIteracion(AQ, MQ, qm1); } }
public Control() { string a = ""; string m = ""; Eys.Recibir(ref a, ref m); if (a.Length >= m.Length) { AQ = new int[a.Length]; MQ = new int[m.Length]; DataManip.ToIntArray(ref AQ, a); DataManip.ToIntArray(ref MQ, m); } else { AQ = new int[m.Length]; MQ = new int[a.Length]; DataManip.ToIntArray(ref AQ, m); DataManip.ToIntArray(ref MQ, a); } qm1 = 0; }