Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package octave-forge-control for
openSUSE:Factory checked in at 2022-02-18 23:03:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-control (Old)
and /work/SRC/openSUSE:Factory/.octave-forge-control.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "octave-forge-control"
Fri Feb 18 23:03:11 2022 rev:9 rq:955923 version:3.4.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/octave-forge-control/octave-forge-control.changes
2021-09-22 22:13:13.752336594 +0200
+++
/work/SRC/openSUSE:Factory/.octave-forge-control.new.1958/octave-forge-control.changes
2022-02-18 23:03:58.177408032 +0100
@@ -1,0 +2,10 @@
+Wed Feb 16 00:52:20 UTC 2022 - Atri Bhattacharya <[email protected]>
+
+- Update to version 3.4.0:
+ * Fix lyapunov equ. in dlyap if B is non-symmetric (bug #49801).
+ * Declare tf([1],[1]) as static gain.
+ * Returned num and den of tfdate have same length (bug #43947).
+ * Fixes for Octave 7.1.0: removed deprecated .+ operator and
+ unsupported plot style.
+
+-------------------------------------------------------------------
Old:
----
control-3.3.1.tar.gz
New:
----
control-3.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ octave-forge-control.spec ++++++
--- /var/tmp/diff_new_pack.JpZkCK/_old 2022-02-18 23:03:58.717407989 +0100
+++ /var/tmp/diff_new_pack.JpZkCK/_new 2022-02-18 23:03:58.721407989 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define octpkg control
Name: octave-forge-%{octpkg}
-Version: 3.3.1
+Version: 3.4.0
Release: 0
Summary: Computer-Aided Control System Design (CACSD) Tools
License: GPL-3.0-or-later
++++++ control-3.3.1.tar.gz -> control-3.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/DESCRIPTION
new/control-3.4.0/DESCRIPTION
--- old/control-3.3.1/DESCRIPTION 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/DESCRIPTION 2022-01-16 15:17:03.000000000 +0100
@@ -1,6 +1,6 @@
Name: control
-Version: 3.3.1
-Date: 2021-07-05
+Version: 3.4.0
+Date: 2022-01-16
Author: Lukas Reichlin <[email protected]>
Maintainer: Alexander Wilms <[email protected]>, Doug Stewart
<[email protected]>, Torsten Lilge <[email protected]>
Title: Computer-Aided Control System Design
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/NEWS new/control-3.4.0/NEWS
--- old/control-3.3.1/NEWS 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/NEWS 2022-01-16 15:17:03.000000000 +0100
@@ -2,6 +2,19 @@
Summary of important user-visible changes for releases of the control package
===============================================================================
+control-3.4.0 Release Date: 2022-01-16
+===============================================================================
+
+ ** Fix lyapunov equ. in dlyap if B is non-symmetric (bug #49801)
+
+ ** Declare tf([1],[1]) as static gain
+
+ ** Returned num and den of tfdate have same length (bug #43947)
+
+ ** Fixes for Octave 7.1.0: removed deprecated .+ operator and
+ unsupported plot style
+
+===============================================================================
control-3.3.1 Release Date: 2021-07-05
===============================================================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/__adjust_tf_data__.m
new/control-3.4.0/inst/__adjust_tf_data__.m
--- old/control-3.3.1/inst/__adjust_tf_data__.m 2021-07-05 07:05:54.000000000
+0200
+++ new/control-3.4.0/inst/__adjust_tf_data__.m 2022-01-16 15:17:03.000000000
+0100
@@ -43,6 +43,14 @@
den = {den};
endif
+ ## Now check for static gain if all tfs have size num and size den of one
+ num_scalar = cellfun (@(p) length (p) == 1, num);
+ den_scalar = cellfun (@(p) length (p) == 1, den);
+ if (all (num_scalar) && all (den_scalar))
+ ## All tf components are of the form b0/a0 (static gain)
+ tsam = -2;
+ endif
+
## NOTE: the 'tfpoly' constructor checks its vector as well,
## but its error message would make little sense for users
## and would make it hard for them to identify the invalid argument.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/dlyap.m
new/control-3.4.0/inst/dlyap.m
--- old/control-3.3.1/inst/dlyap.m 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/inst/dlyap.m 2022-01-16 15:17:03.000000000 +0100
@@ -26,7 +26,7 @@
## @group
## AXA' - X + B = 0 (Lyapunov Equation)
##
-## AXB' - X + C = 0 (Sylvester Equation)
+## AXB - X + C = 0 (Sylvester Equation)
##
## AXA' - EXE' + B = 0 (Generalized Lyapunov Equation)
## @end group
@@ -62,9 +62,19 @@
inputname (1), inputname (2));
endif
- [x, scale] = __sl_sb03md__ (a, -b, true); # AXA' - X = -B
+ if issymmetric (b)
+
+ ## The 'normal' case where b is symmetric
+ [x, scale] = __sl_sb03md__ (a, -b, true); # AXA' - X = -B
+ ## x /= scale; # 0 < scale <= 1
+
+ else
+
+ ## b is non-symmetric, solve as Sylvester equation
+ x = __sl_sb04qd__ (-a, a', b); # AXB - X = -C (A = a, B = a', C =
b)
+
+ endif
- ## x /= scale; # 0 < scale <= 1
case 3 # Sylvester equation
@@ -140,6 +150,24 @@
%!
%!assert (X, X_exp, 1e-4);
+## Lyapunov with non-symmetric B
+%!shared X, X_exp
+%! A = [3.0 1.0 1.0
+%! 1.0 3.0 0.0
+%! 0.0 0.0 3.0];
+%!
+%! B = [1.0 0.2 2.0
+%! 0.5 0.5 1.0
+%! 1.0 -2.0 1.0];
+%!
+%! X = dlyap (A.', -B);
+%!
+%! X_exp = [0.1390 -0.0514 0.1831
+%! -0.0086 0.0676 0.0422
+%! 0.2005 -0.3233 -0.0362];
+%!
+%!assert (X, X_exp, 1e-4);
+
## Sylvester
%!shared X, X_exp
%! A = [1.0 2.0 3.0
@@ -163,4 +191,23 @@
%!assert (X, X_exp, 1e-4);
## Generalized Lyapunov
-## TODO: add a test
+%!shared X, X_exp
+%! A = [3.0 1.0 1.0
+%! 1.0 3.0 0.0
+%! 1.0 0.0 2.0];
+%!
+%! E = [1.0 3.0 0.0
+%! 3.0 2.0 1.0
+%! 1.0 0.0 1.0];
+%!
+%! B = [ -3.0 -10.0 7.0
+%! -10.0 -14.0 -2.0
+%! 7.0 -2.0 9.0 ];
+%!
+%! X = dlyap (A, B, [], E);
+%!
+%! X_exp = [-2.0000 -1.0000 0.0000
+%! -1.0000 -3.0000 -1.0000
+%! 0.0000 -1.0000 -3.0000];
+%!
+%!assert (X, X_exp, 1e-4);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/imp_invar.m
new/control-3.4.0/inst/imp_invar.m
--- old/control-3.3.1/inst/imp_invar.m 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/inst/imp_invar.m 2022-01-16 15:17:03.000000000 +0100
@@ -142,7 +142,7 @@
function ret = addvecs1 (v11, v22)
ml = max (numel (v11), numel (v22));
- ret = prepad1 (v11, ml) .+ prepad1 (v22, ml);
+ ret = prepad1 (v11, ml) + prepad1 (v22, ml);
endfunction
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/ncfsyn.m
new/control-3.4.0/inst/ncfsyn.m
--- old/control-3.3.1/inst/ncfsyn.m 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/inst/ncfsyn.m 2022-01-16 15:17:03.000000000 +0100
@@ -174,9 +174,11 @@
## @end iftex
## @ifnottex
## @example
+## @verbatim
## -1 -1 -1
## min || N(K) || , N = | W1 | (I - K G) | W1 G W2 |
## K oo | W2 G |
+## @end verbatim
## @end example
## @end ifnottex
## @iftex
@@ -238,7 +240,7 @@
## @strong{Block Diagram of N}
## @example
## @group
-##
+## @verbatim
## ^ z1 ^ z2
## | |
## w1 + | +--------+ | +--------+
@@ -247,6 +249,7 @@
## | w2 | |
## | |
## +-------------------------------------------------+
+## @end verbatim
## @end group
## @end example
##
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/rlocus.m
new/control-3.4.0/inst/rlocus.m
--- old/control-3.3.1/inst/rlocus.m 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/inst/rlocus.m 2022-01-16 15:17:03.000000000 +0100
@@ -286,9 +286,9 @@
args{3,kk} = "go;zeros;";
endif
hplt = plot (args{:});
- set (hplt(kk--), "markersize", 2);
+ set (hplt(kk--), "markersize", 6);
if (! isempty (rlzer))
- set (hplt(kk--), "markersize", 2);
+ set (hplt(kk--), "markersize", 6);
endif
for ii = 1:rows(rlpol)
set (hplt(kk--), "linewidth", 2);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/inst/rlocusx.m
new/control-3.4.0/inst/rlocusx.m
--- old/control-3.3.1/inst/rlocusx.m 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/inst/rlocusx.m 2022-01-16 15:17:03.000000000 +0100
@@ -28,23 +28,31 @@
## All possible interaction by mouse clicks or keys are:
##
## @table @asis
-## @item Left click: Display related gain and all resulting
-## closed loop poles together with damping
-## and frequency
-## @item @kbd{s}: Simulate the step response for the gain of
+## @item Left click: Gain, damping and Frequency
+## Displays related gain and all resulting
+## closed loop poles together with damping
+## and frequency
+## @item @kbd{s}: Step response
+## Simulates the step response for the gain of
## of the most recently selected pole locations
-## @item @kbd{i}: Simulate the impulse response for the most
+## @item @kbd{i}: Impulse response
+## Simulates the impulse response for the most
## recently selected gain
-## @item @kbd{b}: Provide the open loop bode plot for the most
+## @item @kbd{b}: Bode plot
+## Provides the open loop bode plot for the most
## recently selected gain
-## @item @kbd{m}: Provide the open loop bode plot with stability
+## @item @kbd{m}: Stability margins
+## Provides the open loop bode plot with stability
## margins for the most recently selected gain
-## @item @kbd{a}: Provide all four aforementioned plots
-## @item @kbd{c}: Remove all closed loop pole markers and
-## annotations
-## @item @kbd{d}: Delete all open figures with simulation and
+## @item @kbd{a}: All plots
+## Provide sall four aforementioned plots
+## @item @kbd{c}: Clear
+## Removes all closed loop pole markers and annotations
+## @item @kbd{d}: Delete
+## Removes all open figures with simulation and
## bode plots
-## @item @kbd{x}: leaves the interactive mode and re-activates
+## @item @kbd{x}: Exit
+## Exits the interactive mode and re-activates
## the octave prompt
## @end table
##
@@ -236,9 +244,9 @@
% Draw root locii
for j = 1:n
if ( j == 1 ) % legend only once
- form = '-3;locus;';
+ form = '-;locus;';
else
- form = '-3';
+ form = '-';
end
cj = (j-1)/(n-1); % each branch in a slightly different color
col = col_rl2*cj + col_rl1*(1-cj);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/src/configure
new/control-3.4.0/src/configure
--- old/control-3.3.1/src/configure 2021-07-05 07:06:00.803253180 +0200
+++ new/control-3.4.0/src/configure 2022-01-16 15:17:34.142503019 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for control 3.3.1.
+# Generated by GNU Autoconf 2.69 for control 3.4.0.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@
# Identity of this package.
PACKAGE_NAME='control'
PACKAGE_TARNAME='control'
-PACKAGE_VERSION='3.3.1'
-PACKAGE_STRING='control 3.3.1'
+PACKAGE_VERSION='3.4.0'
+PACKAGE_STRING='control 3.4.0'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1201,7 +1201,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures control 3.3.1 to adapt to many kinds of systems.
+\`configure' configures control 3.4.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1263,7 +1263,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of control 3.3.1:";;
+ short | recursive ) echo "Configuration of control 3.4.0:";;
esac
cat <<\_ACEOF
@@ -1344,7 +1344,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-control configure 3.3.1
+control configure 3.4.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1483,7 +1483,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by control $as_me 3.3.1, which was
+It was created by control $as_me 3.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3431,7 +3431,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by control $as_me 3.3.1, which was
+This file was extended by control $as_me 3.4.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3493,7 +3493,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-control config.status 3.3.1
+control config.status 3.4.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/control-3.3.1/src/configure.ac
new/control-3.4.0/src/configure.ac
--- old/control-3.3.1/src/configure.ac 2021-07-05 07:05:54.000000000 +0200
+++ new/control-3.4.0/src/configure.ac 2022-01-16 15:17:03.000000000 +0100
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
-AC_INIT([control], [3.3.1])
+AC_INIT([control], [3.4.0])
AC_CONFIG_SRCDIR([sl_ab01od.cc])
AC_CONFIG_HEADERS([config.h])