changeset 9513:536859162311 octave-forge

control: add comments about purpose of the cc-files
author paramaniac
date Sun, 26 Feb 2012 13:44:01 +0000
parents 8f65e298b281
children d90df262fc55
files main/control/devel/makefile_control.m main/control/src/control_slicot_functions.cc
diffstat 2 files changed, 47 insertions(+), 45 deletions(-) [+]
line wrap: on
line diff
--- a/main/control/devel/makefile_control.m	Sun Feb 26 12:42:25 2012 +0000
+++ b/main/control/devel/makefile_control.m	Sun Feb 26 13:44:01 2012 +0000
@@ -11,8 +11,8 @@
 srcdir = [develdir, "/../src"];
 cd (srcdir);
 
-system ("make realclean");  # recompile slicotlibrary.a
-## system ("make clean");
+## system ("make realclean");  # recompile slicotlibrary.a
+system ("make clean");
 system ("make -j4 all");
 system ("rm *.o");
 
--- a/main/control/src/control_slicot_functions.cc	Sun Feb 26 12:42:25 2012 +0000
+++ b/main/control/src/control_slicot_functions.cc	Sun Feb 26 13:44:01 2012 +0000
@@ -1,46 +1,48 @@
-//#define SLICOTCONTROL	"control_slicot_functions"
+/* TODO: * create common.h
+ *       * add common.cc to makefile (control_slicot_functions.oct)
+ */
 
 #include <octave/oct.h>
-#include "common.cc"
+#include "common.cc"    // common code for all functions of the oct-file
 
-#include "slab08nd.cc"
-#include "slab13dd.cc"
-#include "slsb10hd.cc"
-#include "slsb10ed.cc"
-#include "slab13bd.cc"
-#include "slsb01bd.cc"
-#include "slsb10fd.cc"
-#include "slsb10dd.cc"
-#include "slsb03md.cc"
-#include "slsb04md.cc"
-#include "slsb04qd.cc"
-#include "slsg03ad.cc"
-#include "slsb02od.cc"
-#include "slab13ad.cc"
-#include "slab01od.cc"
-#include "sltb01pd.cc"
-#include "slsb03od.cc"
-#include "slsg03bd.cc"
-#include "slag08bd.cc"
-#include "sltg01jd.cc"
-#include "sltg01hd.cc"
-#include "sltg01id.cc"
-#include "slsg02ad.cc"
-#include "sltg04bx.cc"
-#include "sltb01id.cc"
-#include "sltg01ad.cc"
-#include "slsb10id.cc"
-#include "slsb10kd.cc"
-#include "slsb10zd.cc"
-#include "sltb04bd.cc"
-#include "slab04md.cc"
-#include "slsb10jd.cc"
-#include "sltd04ad.cc"
-#include "sltb01ud.cc"
-#include "slab09hd.cc"
-#include "slab09id.cc"
-#include "slab09jd.cc"
-#include "slsb16ad.cc"
-#include "slsb16bd.cc"
-#include "slsb16cd.cc"
-#include "slsb10yd.cc"
\ No newline at end of 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
+#include "slsb10ed.cc"  // H-2 controller synthesis - discrete-time
+#include "slab13bd.cc"  // H-2 norm
+#include "slsb01bd.cc"  // Pole assignment
+#include "slsb10fd.cc"  // H-infinity controller synthesis - continuous-time
+#include "slsb10dd.cc"  // H-infinity controller synthesis - discrete-time
+#include "slsb03md.cc"  // Lyapunov equations
+#include "slsb04md.cc"  // Sylvester equations - continuous-time
+#include "slsb04qd.cc"  // Sylvester equations - discrete-time
+#include "slsg03ad.cc"  // generalized Lyapunov equations
+#include "slsb02od.cc"  // algebraic Riccati equations
+#include "slab13ad.cc"  // Hankel singular values
+#include "slab01od.cc"  // staircase form using orthogonal transformations
+#include "sltb01pd.cc"  // minimal realization of state-space models
+#include "slsb03od.cc"  // Cholesky factor of Lyapunov equations
+#include "slsg03bd.cc"  // Cholesky factor of generalized Lyapunov equations
+#include "slag08bd.cc"  // transmission zeros of descriptor state-space models
+#include "sltg01jd.cc"  // minimal realization of descriptor state-space models
+#include "sltg01hd.cc"  // controllability staircase form of descriptor state-space models
+#include "sltg01id.cc"  // observability staircase form of descriptor state-space models
+#include "slsg02ad.cc"  // solution of algebraic Riccati equations for descriptor systems
+#include "sltg04bx.cc"  // gain of descriptor state-space models
+#include "sltb01id.cc"  // scaling of state-space models
+#include "sltg01ad.cc"  // scaling of descriptor state-space models
+#include "slsb10id.cc"  // H-infinity loop shaping - continuous-time
+#include "slsb10kd.cc"  // H-infinity loop shaping - discrete-time - strictly proper case
+#include "slsb10zd.cc"  // H-infinity loop shaping - discrete-time - proper case
+#include "sltb04bd.cc"  // State-space to transfer function conversion
+#include "slab04md.cc"  // bilinear transformation
+#include "slsb10jd.cc"  // descriptor to regular state-space conversion
+#include "sltd04ad.cc"  // transfer function to state-space conversion
+#include "sltb01ud.cc"  // controllable block Hessenberg realization
+#include "slab09hd.cc"  // balanced stochastic truncation model reduction
+#include "slab09id.cc"  // balanced truncation & singular perturbation approximation model reduction
+#include "slab09jd.cc"  // hankel-norm approximation model reduction
+#include "slsb16ad.cc"  // balanced truncation & singular perturbation approximation controller reduction
+#include "slsb16bd.cc"  // coprime factorization state-feedback controller reduction
+#include "slsb16cd.cc"  // frequency-weighted coprime factorization state-feedback controller reduction
+#include "slsb10yd.cc"  // fit state-space model to frequency response data