changeset 9515:60807b7f0136 octave-forge

control: add header file common.h to individual .cc files
author paramaniac
date Sun, 26 Feb 2012 20:15:00 +0000
parents d90df262fc55
children e1619bf5c9a5
files main/control/src/control_slicot_functions.cc main/control/src/slab01od.cc main/control/src/slab04md.cc main/control/src/slab08nd.cc main/control/src/slab09hd.cc main/control/src/slab09id.cc main/control/src/slab09jd.cc main/control/src/slab13ad.cc main/control/src/slab13bd.cc main/control/src/slab13dd.cc main/control/src/slag08bd.cc main/control/src/slsb01bd.cc main/control/src/slsb02od.cc main/control/src/slsb03md.cc main/control/src/slsb03od.cc main/control/src/slsb04md.cc main/control/src/slsb04qd.cc main/control/src/slsb10dd.cc main/control/src/slsb10ed.cc main/control/src/slsb10fd.cc main/control/src/slsb10hd.cc main/control/src/slsb10id.cc main/control/src/slsb10jd.cc main/control/src/slsb10kd.cc main/control/src/slsb10yd.cc main/control/src/slsb10zd.cc main/control/src/slsb16ad.cc main/control/src/slsb16bd.cc main/control/src/slsb16cd.cc main/control/src/slsg02ad.cc main/control/src/slsg03ad.cc main/control/src/slsg03bd.cc main/control/src/sltb01id.cc main/control/src/sltb01pd.cc main/control/src/sltb01ud.cc main/control/src/sltb04bd.cc main/control/src/sltd04ad.cc main/control/src/sltg01ad.cc main/control/src/sltg01hd.cc main/control/src/sltg01id.cc main/control/src/sltg01jd.cc main/control/src/sltg04bx.cc
diffstat 42 files changed, 41 insertions(+), 43 deletions(-) [+]
line wrap: on
line diff
--- a/main/control/src/control_slicot_functions.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/control_slicot_functions.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -1,5 +1,3 @@
-#include "common.h"     // common code for all functions of the oct-file
-
 #include "slab08nd.cc"  // transmission zeros of state-space models
 #include "slab13dd.cc"  // L-infinity norm
 #include "slsb10hd.cc"  // H-2 controller synthesis - continuous-time
--- a/main/control/src/slab01od.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab01od.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab04md.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab04md.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab08nd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab08nd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 #include <complex>
 #include <xpow.h>
 
--- a/main/control/src/slab09hd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab09hd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab09id.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab09id.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab09jd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab09jd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab13ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab13ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab13bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab13bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slab13dd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slab13dd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 #include <octave/oct.h>
 #include <f77-fcn.h>
 #include <complex>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slag08bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slag08bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 #include <complex>
 #include <xpow.h>
 
--- a/main/control/src/slsb01bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb01bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb02od.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb02od.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 #include <complex>
 
 extern "C"
--- a/main/control/src/slsb03md.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb03md.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb03od.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb03od.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb04md.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb04md.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb04qd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb04qd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10dd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10dd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10ed.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10ed.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10fd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10fd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10hd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10hd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10id.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10id.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10jd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10jd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10kd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10kd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10yd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10yd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 #include <octave/oct.h>
 #include <f77-fcn.h>
 #include <complex>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb10zd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb10zd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb16ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb16ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb16bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb16bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsb16cd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsb16cd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsg02ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsg02ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 #include <complex>
 
 extern "C"
--- a/main/control/src/slsg03ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsg03ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/slsg03bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/slsg03bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltb01id.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltb01id.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltb01pd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltb01pd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltb01ud.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltb01ud.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltb04bd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltb04bd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -30,7 +30,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltd04ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltd04ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -32,7 +32,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltg01ad.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltg01ad.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltg01hd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltg01hd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltg01id.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltg01id.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltg01jd.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltg01jd.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -29,7 +29,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 
 extern "C"
 { 
--- a/main/control/src/sltg04bx.cc	Sun Feb 26 20:07:08 2012 +0000
+++ b/main/control/src/sltg04bx.cc	Sun Feb 26 20:15:00 2012 +0000
@@ -27,7 +27,7 @@
 
 #include <octave/oct.h>
 #include <f77-fcn.h>
-//#include "common.cc"
+#include "common.h"
 #include <complex>
 #include <xpow.h>