diff liboctave/numeric/aepbalance.cc @ 29228:5c14f81e0937

Set API tags in files in liboctave/numeric (patch #8919). Add API tag to template class definitions. Add API tag to (un-defined) functions and member functions in headers. Export template class instantiations and template functions from .cc files.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 29 Dec 2020 17:51:23 +0100
parents 863ae57eee69
children 7854d5752dd2
line wrap: on
line diff
--- a/liboctave/numeric/aepbalance.cc	Tue Dec 29 17:41:39 2020 +0100
+++ b/liboctave/numeric/aepbalance.cc	Tue Dec 29 17:51:23 2020 +0100
@@ -48,6 +48,7 @@
   namespace math
   {
     template <>
+    OCTAVE_API
     aepbalance<Matrix>::aepbalance (const Matrix& a, bool noperm, bool noscal)
       : balanced_mat (a), scale (), ilo (), ihi (),
         job (get_job (noperm, noscal))
@@ -72,7 +73,7 @@
     }
 
     template <>
-    Matrix
+    OCTAVE_API Matrix
     aepbalance<Matrix>::balancing_matrix (void) const
     {
       F77_INT n = to_f77_int (balanced_mat.rows ());
@@ -98,6 +99,7 @@
     }
 
     template <>
+    OCTAVE_API
     aepbalance<FloatMatrix>::aepbalance (const FloatMatrix& a, bool noperm,
                                          bool noscal)
       : balanced_mat (a), scale (), ilo (), ihi (),
@@ -123,7 +125,7 @@
     }
 
     template <>
-    FloatMatrix
+    OCTAVE_API FloatMatrix
     aepbalance<FloatMatrix>::balancing_matrix (void) const
     {
       F77_INT n = to_f77_int (balanced_mat.rows ());
@@ -149,6 +151,7 @@
     }
 
     template <>
+    OCTAVE_API
     aepbalance<ComplexMatrix>::aepbalance (const ComplexMatrix& a, bool noperm,
                                            bool noscal)
       : balanced_mat (a), scale (), ilo (), ihi (),
@@ -174,7 +177,7 @@
     }
 
     template <>
-    ComplexMatrix
+    OCTAVE_API ComplexMatrix
     aepbalance<ComplexMatrix>::balancing_matrix (void) const
     {
       F77_INT n = to_f77_int (balanced_mat.rows ());
@@ -201,6 +204,7 @@
     }
 
     template <>
+    OCTAVE_API
     aepbalance<FloatComplexMatrix>::aepbalance (const FloatComplexMatrix& a,
                                                 bool noperm, bool noscal)
       : balanced_mat (a), scale (), ilo (), ihi (),
@@ -226,7 +230,7 @@
     }
 
     template <>
-    FloatComplexMatrix
+    OCTAVE_API FloatComplexMatrix
     aepbalance<FloatComplexMatrix>::balancing_matrix (void) const
     {
       F77_INT n = to_f77_int (balanced_mat.rows ());