home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-base.tgz / octave-1.1.1p1-base.tar / fsf / octave / src / pr-output.h < prev    next >
C/C++ Source or Header  |  1996-09-27  |  2KB  |  61 lines

  1. // pr-output.h                                               -*- C++ -*-
  2. /*
  3.  
  4. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton
  5.  
  6. This file is part of Octave.
  7.  
  8. Octave is free software; you can redistribute it and/or modify it
  9. under the terms of the GNU General Public License as published by the
  10. Free Software Foundation; either version 2, or (at your option) any
  11. later version.
  12.  
  13. Octave is distributed in the hope that it will be useful, but WITHOUT
  14. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16. for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with Octave; see the file COPYING.  If not, write to the Free
  20. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23.  
  24. #if !defined (octave_pr_output_h)
  25. #define octave_pr_output_h 1
  26.  
  27. class ostream;
  28.  
  29. template <class T> class complex;
  30. typedef complex<double> Complex;
  31.  
  32. class Matrix;
  33. class ComplexMatrix;
  34. class Range;
  35.  
  36. extern void octave_print_internal (ostream& os, double d,
  37.                    int pr_as_read_syntax = 0);
  38.  
  39. extern void octave_print_internal (ostream& os, const Matrix& m,
  40.                    int pr_as_read_syntax = 0);
  41.  
  42. extern void octave_print_internal (ostream& os, const Complex& c,
  43.                    int pr_as_read_syntax = 0);
  44.  
  45. extern void octave_print_internal (ostream& os, const ComplexMatrix& cm,
  46.                    int pr_as_read_syntax = 0);
  47.  
  48. extern void octave_print_internal (ostream& os, const Range& r,
  49.                    int pr_as_read_syntax = 0);
  50.  
  51. extern void set_format_style (int argc, char **argv);
  52.  
  53. #endif
  54.  
  55. /*
  56. ;;; Local Variables: ***
  57. ;;; mode: C++ ***
  58. ;;; page-delimiter: "^/\\*" ***
  59. ;;; End: ***
  60. */
  61.