X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=octave_packages%2Fcontrol-2.3.52%2Ftest_control.m;fp=octave_packages%2Fcontrol-2.3.52%2Ftest_control.m;h=450b38e3e1349f9bd4af5e53668e67f86ecf8a4a;hb=f5f7a74bd8a4900f0b797da6783be80e11a68d86;hp=0000000000000000000000000000000000000000;hpb=1705066eceaaea976f010f669ce8e972f3734b05;p=CreaPhase.git diff --git a/octave_packages/control-2.3.52/test_control.m b/octave_packages/control-2.3.52/test_control.m new file mode 100644 index 0000000..450b38e --- /dev/null +++ b/octave_packages/control-2.3.52/test_control.m @@ -0,0 +1,105 @@ +## Copyright (C) 2010, 2011, 2012 Lukas F. Reichlin +## +## This file is part of LTI Syncope. +## +## LTI Syncope is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## LTI Syncope is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with LTI Syncope. If not, see . + +## -*- texinfo -*- +## @deftypefn {Script File} {} test_control +## Execute all available tests at once. +## The Octave control package is based on the @uref{http://www.slicot.org, SLICOT} library. +## SLICOT needs a LAPACK library which is also a prerequisite for Octave itself. +## In case of failing test, it is highly recommended to use +## @uref{http://www.netlib.org/lapack/, Netlib's reference LAPACK} +## for building Octave. Using ATLAS may lead to sign changes +## in some entries in the state-space matrices. +## In general, these sign changes are not 'wrong' and can be regarded as +## the result of state transformations. Such state transformations +## (but not input/output transformations) have no influence on the +## input-output behaviour of the system. For better numerics, +## the control package uses such transformations by default when +## calculating the frequency responses and a few other things. +## However, arguments like the Hankel singular Values (HSV) must not change. +## Differing HSVs and failing algorithms are known for using Framework Accelerate +## from Mac OS X 10.7. +## @end deftypefn + +## Author: Lukas Reichlin +## Created: May 2010 +## Version: 0.4 + +## test collection +test ltimodels + +## LTI methods +test @lti/c2d +test @lti/d2c +test @lti/feedback +test @lti/horzcat +test @lti/inv +test @lti/minreal +test @lti/mtimes +test @lti/norm +test @lti/plus +test @lti/prescale +test @lti/sminreal +test @lti/subsref +test @lti/zero + +## robust control +test h2syn +test hinfsyn +test ncfsyn + +## ARE solvers +test care +test dare +test kalman + +## Lyapunov +test covar +test dlyap +## test dlyapchol # TODO: add tests +test gram +test lyap +test lyapchol + +## model order reduction +test bstmodred +test btamodred +test hnamodred +## test spamodred # TODO: create test case + +## controller order reduction +test btaconred +test cfconred +test fwcfconred +## test spaconred # TODO: create test case + +## identification +test fitfrd + +## various oct-files +test ctrbf +test hsvd +test place + +## various m-files +test ctrb +test filt +test initial +test issample +test margin +test obsv +test sigma