Logo Search packages:      
Sourcecode: jblas version File versions  Download package

FloatMatrix org::jblas::la::FloatMatrix::divi ( FloatMatrix  other,
FloatMatrix  result 
) [inline]

Elementwise division (in-place).

Definition at line 1467 of file FloatMatrix.java.

References assertSameLength(), ensureResultLength(), get(), isScalar(), length, put(), rdivi(), and scalar().

Referenced by columnMeans(), div(), divi(), org::jblas::la::Geometry::normalize(), rdivi(), and rowMeans().

        if (other.isScalar()) {
            return divi(other.scalar(), result);
        if (isScalar()) {
            return other.rdivi(scalar(), result);

        ensureResultLength(other, result);

        for (int i = 0; i < length; i++) {
            result.put(i, get(i) / other.get(i));
        return result;

Generated by  Doxygen 1.6.0   Back to index