@Test public void testRemove() { LongObjectMap<LongFloatMap> byRow = new LongObjectMap<LongFloatMap>(); LongObjectMap<LongFloatMap> byCol = new LongObjectMap<LongFloatMap>(); MatrixUtils.addTo(0L, 0L, -1.0f, byRow, byCol); MatrixUtils.addTo(4L, 1L, 2.0f, byRow, byCol); MatrixUtils.remove(0L, 0L, byRow, byCol); assertNull(byRow.get(0L)); assertEquals(2.0f, byRow.get(4L).get(1L)); assertEquals(2.0f, byCol.get(1L).get(4L)); }
public static void remove(long row, long column, LongObjectMap<LongFloatMap> RbyRow, LongObjectMap<LongFloatMap> RbyColumn) { removeByRow(row, column, RbyRow); removeByRow(column, row, RbyColumn); }
MatrixUtils { public static void remove(long row, long column, LongObjectMap<LongFloatMap> RbyRow, LongObjectMap<LongFloatMap> RbyColumn) { removeByRow(row, column, RbyRow); removeByRow(column, row, RbyColumn); } }
MatrixUtils { public static void remove(long row, long column, LongObjectMap<LongFloatMap> RbyRow, LongObjectMap<LongFloatMap> RbyColumn) { removeByRow(row, column, RbyRow); removeByRow(column, row, RbyColumn); } private  MatrixUtils(); }
MatrixUtils { public static void remove(long row, long column, LongObjectMap<LongFloatMap> RbyRow, LongObjectMap<LongFloatMap> RbyColumn) { removeByRow(row, column, RbyRow); removeByRow(column, row, RbyColumn); } private  MatrixUtils(); static void addTo(long row,
                           long column,
                           float value,
                           LongObjectMap<LongFloatMap> RbyRow,
                           LongObjectMap<LongFloatMap> RbyColumn); static void remove(long row,
                            long column,
                            LongObjectMap<LongFloatMap> RbyRow,
                            LongObjectMap<LongFloatMap> RbyColumn); static boolean isNonSingular(RealMatrix M); static Solver getSolver(RealMatrix M); static double[][] accessMatrixDataDirectly(RealMatrix matrix); static RealMatrix transposeTimesSelf(LongObjectMap<float[]> M); }
MatrixUtils { public static void remove(long row, long column, LongObjectMap<LongFloatMap> RbyRow, LongObjectMap<LongFloatMap> RbyColumn) { removeByRow(row, column, RbyRow); removeByRow(column, row, RbyColumn); } private  MatrixUtils(); static void addTo(long row,
                           long column,
                           float value,
                           LongObjectMap<LongFloatMap> RbyRow,
                           LongObjectMap<LongFloatMap> RbyColumn); static void remove(long row,
                            long column,
                            LongObjectMap<LongFloatMap> RbyRow,
                            LongObjectMap<LongFloatMap> RbyColumn); static boolean isNonSingular(RealMatrix M); static Solver getSolver(RealMatrix M); static double[][] accessMatrixDataDirectly(RealMatrix matrix); static RealMatrix transposeTimesSelf(LongObjectMap<float[]> M);  }