public class Matrix extends java.lang.Object
This code is related to the SurfingSafari program and the code in section 1.6 of our textbook.
Modifier and Type | Field and Description |
---|---|
static int |
DIM |
Constructor and Description |
---|
Matrix() |
Modifier and Type | Method and Description |
---|---|
void |
f0(double[] v) |
void |
f1(double[][] m) |
double[] |
f2(int n) |
double[][] |
f3(int n) |
void |
f4(double[][] matrix) |
void |
f5(double[][] matrix) |
double[] |
f6(double[] vector,
double[][] matrix) |
public static final int DIM
public Matrix()
public final void f0(double[] v)
public final void f1(double[][] m)
public final double[] f2(int n)
public final double[][] f3(int n)
public final void f4(double[][] matrix)
public final void f5(double[][] matrix)
public final double[] f6(double[] vector, double[][] matrix)