no it was the worst one
Chat with our AI personalities
Hadamard product for a 3 × 3 matrix A with a 3 × 3 matrix B
there is none you weasel. the only good matrix is revolutions. :)
int matrix[][]; // the matrix to find the max in int max = matrix[0][0]; int r,c; for(r = 0; r < 3; ++r) { for(c = 0; c < 3; ++c) { if(matrix[r][c] > max) { max = matrix[r][c]; } } } // max is now the maximum number in matrix
The order of a matrix is another way of saying the dimensions of of a matrix. For a two dimensional matrix, the order could be 2 by 2, or 3 by 3, or 32 by 64.
write a program to multily 3*3 matrix.