Constructor that initializes a Matrix object of size initRows x initCols, setting matrix elements to initValue
What will be an ideal response?
```
Matrix :: Matrix( int initRows, int initCols, int initValue )
{
rows = initRows;
cols = initCols;
for (int i = 0; i < rows; ++i)
for (int j = 0; j < cols; ++j)
mat[i][j] = initValue;
}
```
Computer Science & Information Technology
You might also like to view...
You would use a ________ SmartArt graphic to show a company's organizational chart
A) Process B) Cycle C) Scatter D) Hierarchy
Computer Science & Information Technology
A(n) ________ is when a field depends on another field in the table, which then depends on a candidate key
Fill in the blank(s) with correct word
Computer Science & Information Technology