@Override public void decrement( final int row, final int column, final double value) { this.increment(row, column, -value); }
@Override public void decrement( final int row, final int column, final double value) { this.increment(row, column, -value); }
@Override public void decrement( final int row, final int column, final double value) { this.increment(row, column, -value); }
@Override public void increment( final int row, final int column, final double value) { this.setElement(row, column, this.getElement(row, column) + value); }
@Override public void increment( final int row, final int column, final double value) { this.setElement(row, column, this.getElement(row, column) + value); }
@Override public void increment( final int row, final int column, final double value) { this.setElement(row, column, this.getElement(row, column) + value); }
@Override public void plusEquals( final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), entry.getValue()); } }
@Override public void plusEquals( final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), entry.getValue()); } }
@Override public void plusEquals( final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), entry.getValue()); } }
@Override public void scaledPlusEquals( final double scaleFactor, final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), scaleFactor * entry.getValue()); } }
@Override public void scaledPlusEquals( final double scaleFactor, final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), scaleFactor * entry.getValue()); } }
@Override public void scaledPlusEquals( final double scaleFactor, final Matrix other) { // This is a generic implementation to support interoperability. // Sub-classes should make custom ones for performance. this.assertSameDimensions(other); for (final MatrixEntry entry : other) { this.increment(entry.getRowIndex(), entry.getColumnIndex(), scaleFactor * entry.getValue()); } }