# HG changeset patch # User jwe # Date 865634891 0 # Node ID d2046ca9a380291cccddb66d398252cba1610355 # Parent 8ec2d00e20e5968ea1f2bebb1524a0db1e89dd07 [project @ 1997-06-06 22:08:11 by jwe] diff -r 8ec2d00e20e5 -r d2046ca9a380 examples/hello.cc --- a/examples/hello.cc Fri Jun 06 22:03:24 1997 +0000 +++ b/examples/hello.cc Fri Jun 06 22:08:11 1997 +0000 @@ -32,13 +32,13 @@ // of the Octave distribution that use the macro DEFUN_DLD_BUILTIN. // Currently, this includes the files // -// balance.cc fft.cc hess.cc lu.cc schur.cc -// chol.cc fft2.cc ifft.cc minmax.cc sort.cc -// colloc.cc filter.cc ifft2.cc pinv.cc svd.cc -// dassl.cc find.cc inv.cc qr.cc syl.cc -// det.cc fsolve.cc log.cc quad.cc -// eig.cc fsqp.cc lsode.cc qzval.cc -// expm.cc givens.cc lu.cc rand.cc +// balance.cc fft.cc ifft.cc minmax.cc sort.cc +// chol.cc fft2.cc ifft2.cc pinv.cc svd.cc +// colloc.cc filter.cc inv.cc qr.cc syl.cc +// dassl.cc find.cc log.cc quad.cc +// det.cc fsolve.cc lsode.cc qzval.cc +// eig.cc givens.cc lu.cc rand.cc +// expm.cc hess.cc minmax.cc schur.cc // // The difference between DEFUN_DLD and DEFUN_DLD_BUILTIN is that // DEFUN_DLD_BUILTIN can define a built-in function that is not diff -r 8ec2d00e20e5 -r d2046ca9a380 scripts/general/perror.m --- a/scripts/general/perror.m Fri Jun 06 22:03:24 1997 +0000 +++ b/scripts/general/perror.m Fri Jun 06 22:08:11 1997 +0000 @@ -21,11 +21,6 @@ ## ## Print an error message for error number `err' from function "name". ## -## Messages correspond to the following subroutine versions: -## -## npsol : 4.0 -## qpsol : 3.2 -## ## See also: strerror ## Author: jwe diff -r 8ec2d00e20e5 -r d2046ca9a380 scripts/general/strerror.m --- a/scripts/general/strerror.m Fri Jun 06 22:03:24 1997 +0000 +++ b/scripts/general/strerror.m Fri Jun 06 22:08:11 1997 +0000 @@ -21,11 +21,6 @@ ## ## Return the text of an error message for error number `err' from ## function "name". -## -## Messages correspond to the following subroutine versions: -## -## npsol : 4.0 -## qpsol : 3.2 ## Author: jwe @@ -59,54 +54,6 @@ error ("strerror: unrecognized error code for fsolve"); endif - elseif (strcmp (name, "npsol")) - - if (err == 0) - msg = "optimal solution found\n"; - elseif (err == 1) - msg = "weak local solution found\n"; - elseif (err == 2) - msg = "no feasible point for linear constraints and bounds\n"; - elseif (err == 3) - msg = "no feasible point found for nonlinear constraints\n"; - elseif (err == 4) - msg = "iteration limit reached\n"; - elseif (err == 6) - msg = "current point cannot be improved upon\n"; - elseif (err == 7) - msg = "user-supplied derivatives appear to be incorrect\n"; - elseif (err == 9) - msg = "internal error: invalid input parameter\n"; - else - error ("strerror: unrecognized error code for npsol"); - endif - - elseif (strcmp (name, "qpsol")) - - if (err == 0) - msg = "optimal solution found\n"; - elseif (err == 1) - msg = "weak local solution found\n"; - elseif (err == 2) - msg = "solution appears to be unbounded\n"; - elseif (err == 3) - msg = "solution appears optimal, but optimality can't be verified\n"; - elseif (err == 4) - msg = "iterates of the QP phase appear to be cycling\n"; - elseif (err == 5) - msg = "iteration limit reached during QP phase\n"; - elseif (err == 6) - msg = "no feasible point found during LP phase\n"; - elseif (err == 7) - msg = "iterates of the LP phase appear to be cycling\n"; - elseif (err == 8) - msg = "iteration limit reached during LP phase\n"; - elseif (err == 9) - msg = "internal error: invalid input parameter\n"; - else - error ("strerror: unrecognized error code for qpsol"); - endif - else error ("strerror: unrecognized function name");