What All Should I Add in a Matrix Class ?
I was creating a Matrix Class for the past few days, But still want to know what all can I add in it, so that is gets better. BTW, it is valid for Real and Complex Numbers and Here's what it can do till date: /// Matrix Constructor - Initializes the Matrix and Sets Default elements to 0 /// Reads a Matrix /// Prints a Matrix /// Sets the Number of Rows /// Sets the Number of Columns /// Returns the Number of Rows of a Matrix /// Returns the Number of Columns of a Matrix /// Assigns a value to an element of a Matrix /// Returns an element of a Matrix located at rc and cc /// Sorts a Particular Row of a Matrix /// Sorts a Particular Column of a Matrix /// Returns a SubMatrix from a Matrix /// Flips a Matrix Along Row, Column or Diagonal /// Extracts the Row from a Matrix /// Extracts the Column from a Matrix /// Extracts the Diagonal from a Matrix /// Generates a Skew-Symmetric Matrix from Matrix A /// Generates a Symmetric Matrix from Matrix A /// Swaps two Rows or Columns in a Matrix /// Shifts a Row/Column to a New Position in a Matrix /// Multiplies a Row or Column by a constant /// Performs Elementary Transformations (Gauss-Jordan Method) on a Matrix - User /// Returns the Matrix as a Clockwise Spiral /// Resizes the Matrix, Restoring Old Values... /// Resizes the Matrix, Deleting Old Values... /// Returns the Sum of All Elements of the Matrix /// Fills a Value in the Entire Matrix /// Fills the Diagonal and the rest of the Matrix with different values /// Converts the Matrix to I ( Identity Matrix )