forked from watem/Matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMatrixArrays.java
More file actions
51 lines (40 loc) · 1.02 KB
/
MatrixArrays.java
File metadata and controls
51 lines (40 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
*
*/
public static class MatrixArrays {
public static void main (String[] args) {
// test data supplied by the teacher
int staticArray1 = { 15, 5, 4,7, 9 },
staticArray2 = { 11, 20, 9 ,2,1 },
staticArray3 = { 10, 5, 4 },
staticArray4 = { 12, 11, 20,3,2,1 }
static2dArray = { {1,2,3 }, {4,5,6, 7} {8,9}};
// end test data supplied by the teacher
} // main()
/**
team member a
**/
public static void print1DArray(int array[]) {
} //end print1DArray()
/**
team member a
**/
public static int [][] matrixMult(int [] array1, int [] array2){
} //end matrixMult()
/**
team member b
**/
public static void print2DArray(int array[][]) {
} //end print2DArray()
/**
team member b
**/
public static int [][] scalarMultiply(int [][] array, int mult) {
//Return a new array
} //end scalarMultiply()
/**
both members
**/
public static boolean areEqual2d(int [][] array1, int [][] array2) {
} //end areEqual2d()
} // end class