← Back to team overview

dolfin team mailing list archive

Implement output of matrices (file << A) for Octave format. [...]

 

Commit from logg (2005-11-15 22:14 CET)
----------------

Implement output of matrices (file << A) for Octave format.

By default, files with .m extension are created for Octave (and should
work in MATLAB).

I have only implemented OctaveFile::operator<<(Matrix& A). We also
need to implement

    void MFile::operator<<(Vector& x)       // vectors in Octave/MATLAB
    void MatlabFile::operator<<(Matrix& A)  // matrices in MATLAB (sparse)

If you need any of these, consider fixing them and send a patch.

  dolfin  src/kernel/io/MFile.cpp        1.24
  dolfin  src/kernel/io/OctaveFile.cpp   1.13
  dolfin  src/kernel/la/Matrix.cpp       1.49
  dolfin  src/kernel/la/dolfin/Matrix.h  1.40
  dolfin  src/test/main.cpp              1.6