Skip to content

Georgy760/Matrix

Repository files navigation

Initial requirements:

  • Implement a class for a matrix (a two-dimensional array of elements), independent of element type; +

  • Introduce necessary functions to work with matrices and overload frequently used binary operations (+, -, *, ==, !=, =); +

  • Implement a class to work with fractions and overload frequently used binary operations (+, -, *, /, ==, !=, =);

  • Overload input/output operators (>>, <<) to allow inputting matrices from both files and console, and outputting matrices to console and files.

List of questions:

  • Organize the input of a matrix for a system of linear algebraic equations from a file or from the console (fraction coefficients)

  • Implement the process of solving a system of equations using the Gaussian elimination method (or any other method), preserving fraction information in the coefficients of the system.

  • Account for situations of no solutions, infinitely many solutions (describe the set)

Исходные данные:

  • Реализовать класс для матрицы (двумерного массива элементов), независимый от типа элементов; +

  • Ввести необходимые функции для работы с матрицами и перегрузить часто используемые бинарные операции (+, -, *, ==, !=, =); +

  • Реализовать класс для работы с дробями и перегрузить часто используемые бинарные операции (+, -, *, /, = =, !=, =);

  • Перегрузить операторы ввода/вывода в поток(>>, <<) так, чтобы можно было вводить матрицы и из файла, и из консоли / выводить матрицы в консоль и в файл

Перечень вопросов:

  • Организовать ввод матрицы системы линейных алгебраических уравнений из файла или из консоли (коэффициенты дроби)

  • Реализовать процесс решения системы уравнений с помощью метода Гаусса (или любым другим способом), сохраняя информацию о дробях в коэффициентах системы

  • Предусмотреть ситуации отсутствия решений, бесконечного множества решений(описать множество)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published