Esempio n. 1
0
        private static VectorB setVector(int m)
        {
            VectorB vector = new VectorB(m);

            Console.WriteLine();
            for (int i = 0; i < m; i++)
            {
                Console.Write($"Елемент вектора {i + 1}: ");
                vector.elements[i] = Convert.ToDouble(Console.ReadLine());
            }

            return(vector);
        }
Esempio n. 2
0
 public Equation(int m, int n) : base(m, n)
 {
     vectorB = new VectorB(m);
 }