public static void IndirectAdjustment() { Console.Clear(); Console.WriteLine("Input Coefficient Matrix Called 'B' "); Matrix <double> B = ModifyMatrix.Input(); Console.WriteLine("Input Weight Matrix Called 'P'"); Matrix <double> P = ModifyMatrix.Input(); Console.WriteLine("Input Constant Matrix Called 'l'"); Matrix <double> l = ModifyMatrix.Input(); Adjustment adjustment = new Adjustment(); var result = adjustment.IndirectAdjustment(B, P, l); Console.Clear(); Console.WriteLine("The Indirect Adjustment result is :"); Console.WriteLine(result); }
public static void ConditionMenu() { Console.Clear(); Console.WriteLine("Input Coefficient Matrix Called 'A' "); Matrix <double> A = ModifyMatrix.Input(); Console.WriteLine("Input Co-factor Matrix Called 'Q'"); Matrix <double> Q = ModifyMatrix.Input(); Console.WriteLine("Input Constant Matrix Called 'W'"); Matrix <double> W = ModifyMatrix.Input(); Adjustment adjustment = new Adjustment(); var result = adjustment.ConditionAdjustment(A, Q, W); Console.Clear(); Console.WriteLine("The Condition Adjustment result is :"); Console.WriteLine(result); }