Skip to content

Instantly share code, notes, and snippets.

View prakharraj1302's full-sized avatar

Prakhar Raj Pandey prakharraj1302

View GitHub Profile
@0xD9D0
0xD9D0 / README.md
Last active April 22, 2024 15:58
Matrix manipulation in C++

The prgoram defines a class matrix with private data members rows, columns of type int, and **p a double pointer of type float. The class has the public member functions findNorm() which finds the Euclidean norm of a matrix, dem() which finds the determinant of a matrix, inverse() which finds the inverse of a matrix, solve() which solve a system of simultaneous linear equations, and a default parametrized constructor. Overload the operators +, == operators as members of the class, and the operators *, extraction >>, insertion << as non-members of the class.