![]() |
how to solve matrix in c++ ?
A square matrix, that is, one having the same number of rows and columns, A matrix is called a "diagonal" matrix if its only nonzero elements are on the the diagonal. It is called "upper triangular" if all elements below the diagonal are 0, and "lower triangular" if all elements above the diagonal are 0. It is "symmetric" if element i,j is equal to element j,i and "skew symmetric" if element i,j = -element j,i.
Write a function that accepts a matrix of floats and its dimensions, checks to see if it is square and returns an integer with the proper value according to the following chart: Code:
just give me the idea how to do a matrix plz :D |
Re: how to solve matrix in c++ ?
Code:
int matrix[10][10]; |
| All times are GMT +5.5. The time now is 01:45. |