diff liboctave/dColVector.h @ 6108:143b556ce725

[project @ 2006-10-27 01:45:54 by jwe]
author jwe
date Fri, 27 Oct 2006 01:45:56 +0000
parents 7865515fc6c2
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/dColVector.h	Thu Oct 26 22:00:12 2006 +0000
+++ b/liboctave/dColVector.h	Fri Oct 27 01:45:56 2006 +0000
@@ -29,6 +29,7 @@
 #include "mx-defs.h"
 
 class
+OCTAVE_API
 ColumnVector : public MArray<double>
 {
 public:
@@ -63,8 +64,8 @@
 
   RowVector transpose (void) const;
 
-  friend ColumnVector real (const ComplexColumnVector& a);
-  friend ColumnVector imag (const ComplexColumnVector& a);
+  friend OCTAVE_API ColumnVector real (const ComplexColumnVector& a);
+  friend OCTAVE_API ColumnVector imag (const ComplexColumnVector& a);
 
   // resize is the destructive equivalent for this one
 
@@ -74,11 +75,11 @@
 
   // matrix by column vector -> column vector operations
 
-  friend ColumnVector operator * (const Matrix& a, const ColumnVector& b);
+  friend OCTAVE_API ColumnVector operator * (const Matrix& a, const ColumnVector& b);
 
   // diagonal matrix by column vector -> column vector operations
 
-  friend ColumnVector operator * (const DiagMatrix& a, const ColumnVector& b);
+  friend OCTAVE_API ColumnVector operator * (const DiagMatrix& a, const ColumnVector& b);
 
   // other operations
 
@@ -91,8 +92,8 @@
 
   // i/o
 
-  friend std::ostream& operator << (std::ostream& os, const ColumnVector& a);
-  friend std::istream& operator >> (std::istream& is, ColumnVector& a);
+  friend OCTAVE_API std::ostream& operator << (std::ostream& os, const ColumnVector& a);
+  friend OCTAVE_API std::istream& operator >> (std::istream& is, ColumnVector& a);
 
 private:
 
@@ -101,8 +102,8 @@
 
 // Publish externally used friend functions.
 
-extern ColumnVector real (const ComplexColumnVector& a);
-extern ColumnVector imag (const ComplexColumnVector& a);
+extern OCTAVE_API ColumnVector real (const ComplexColumnVector& a);
+extern OCTAVE_API ColumnVector imag (const ComplexColumnVector& a);
 
 MARRAY_FORWARD_DEFS (MArray, ColumnVector, double)