if (other == this) return this; // nothing to do checkShape(other); int nthreads = ConcurrencyUtils.getNumberOfThreads(); if (this.isNoView && other.isNoView) { // quickest
if (other == this) return this; // nothing to do checkShape(other); int nthreads = ConcurrencyUtils.getNumberOfThreads(); if (this.isNoView && other.isNoView) { // quickest
checkShape(y); final double[] otherElements = other.elements; final int zeroOther = (int) other.index(0, 0);
public DoubleMatrix2D assign(final DoubleMatrix2D y, final DoubleDoubleFunction function, IntArrayList rowList, IntArrayList columnList) { checkShape(y); if (!(y instanceof DenseColumnDoubleMatrix2D)) { super.assign(y, function);
public DoubleMatrix2D assign(final DoubleMatrix2D y, final DoubleDoubleFunction function, IntArrayList rowList, IntArrayList columnList) { checkShape(y); if (!(y instanceof DenseColumnDoubleMatrix2D)) { super.assign(y, function);
return super.aggregate(other, aggr, f); checkShape(other); if (size() == 0) return Double.NaN;
checkShape(y); final double[] otherElements = other.elements; final int zeroOther = (int) other.index(0, 0);
return super.aggregate(other, aggr, f); checkShape(other); if (size() == 0) return Double.NaN;