I am making a function that finds the inverse of a matrix, so I am using arrays to represent the matrix. I will also be putting my inverse code in a header file for portability and in case someone uses an array name that is not called matrix[3][3], i want the data in that array to be put into my array because my entire function is written using that array name. In my inverse function, when I try to put a matrix with a random name into my array called matrix[3][3], there is an error that says error: expected an expression. It says that under the { , at matrix[3][3] = {.[#include <iostream>
using namespace std;
int row, column;
float det; // determinant
double matrix[3][3];
int key[3][3];
double cofact[3][3];
double flip[3][3];