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

void org::jblas::la::FloatMatrix::out ( DataOutputStream  dos  )  throws IOException [inline]

Writes out this matrix to the given data stream.

Parameters:
dos the data output stream to write to.
Exceptions:
IOException 

Definition at line 2222 of file FloatMatrix.java.

References columns, data, and rows.

Referenced by dup(), and save().

                                                             {
        dos.writeUTF("float");
        dos.writeInt(columns);
        dos.writeInt(rows);

        dos.writeInt(data.length);
        for (int i = 0; i < data.length; i++) {
            dos.writeDouble(data[i]);
        }
    }


Generated by  Doxygen 1.6.0   Back to index