Overview
Comment:Now correctly handles outputs with index >1
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 795caac532d0bb9d2f4ea9f465c258a435e67d21f3e829788002ec8d61c86b39
User & Date: gawthrop@users.sourceforge.net on 2002-09-11 14:24:02.000
Other Links: branch diff | manifest | tags
Context
2002-09-11
14:27:37
Handle constraints on multiple variables. check-in: 7f672bd33a user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:24:02
Now correctly handles outputs with index >1 check-in: 795caac532 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
14:22:42
Deletes limits at inf and -inf check-in: 7d2473baf8 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes
47
48
49
50
51
52
53
54

55
56
57
58
59
60
61
47
48
49
50
51
52
53

54
55
56
57
58
59
60
61







-
+







  

  ## Compute Gamma 
  Gamma = [];
  for i=1:n_U
    U = zeros(n_U,1); U(i,1) = 1; # Set up U_i
    y_i = ppp_ystar (A,B,C,D,x_0,A_u,U,Tau);# Compute y* for ith input for each tau
    y_i = y_i(:,i_y:n_y:n_y*n_tau); # Pluck out output i_y
    y_i = y_i(i_y,:); # Pluck out output i_y
    Gamma = [Gamma [-y_i';y_i']]; # Put in parts for Min and max
  endfor

  ## Compute gamma
  gamma = [-Min';Max'];

endfunction

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]