### Question:
OuterProductSymFloatMatrix extends AbstractMatrix implements OuterProductSymMatrix { public OuterProductSymFloatMatrix(float [] data) { this.data = data; this.size = data.length; } OuterProductSymFloatMatrix(float [] data);  OuterProductSymFloatMatrix(int size); int numRows(); int numCols(); double get(int row, int col); void set(int pos, double val); void set(int row, int col, double val); void scale(double a); void setAll(double a); MatrixCursor cursor(); void add(Matrix B); void add(double a, Matrix B); double elementSum(); double elementMultiplySum(Matrix m); double elementMultiplySum(OuterProductSymFloatMatrix m); void CG(Vector x, Vector y); void QR(Vector x, Vector y); Vector rowSums(); Vector columnSums(); void rowSums(double[] result); void columnSums(double[] result); void setToMaxTranspose(); void multAdd(double alpha, Vector x, Vector y); void mult(Vector x, Vector y); Matrix subMatrix(int[] rows, int[] cols); void add(int i, int j, double alpha); void transMult(double[] x, double[] y); void compact(); void multAdd(double alpha, double[] x, double[] y); void mult(double[] x, double[] y); void multAdd(double[] x, double[] y); SymMatrix subMatrix(int[] rowcols); void setDiag(double alpha); void dotDivOuterProd(Vector x); void addOuterProd(double[] x); double sumDotMultOuterProd(double[] x);  }### Answer:
@Test public void testOuterProductSymFloatMatrix() { int size = 10; SymMatrix m = new OuterProductSymFloatMatrix(size); assertEquals(size, m.numRows()); assertEquals(size, m.numCols()); assertEquals(0.0d, m.get(0, 0), 0d); }