Package: python2.3-numeric-ext Version: 23.8-1 Severity: minor Tags: patch Hello,
the doc string of the linear_least_squares function in /usr/lib/python2.3/site-packages/Numeric/LinearAlgebra.py contains several typos. These can be fixed with the following patch: ---------------------------------------------------------------------- --- LinearAlgebra.py~ 2003-08-06 19:03:48.000000000 +0100 +++ LinearAlgebra.py 2005-03-31 19:38:41.000000000 +0100 @@ -389,11 +389,11 @@ where x minimizes 2-norm(|b - Ax|) resids is the sum square residuals rank is the rank of A - s is an rank of the singual values of A in desending order + s is an rank of the singular values of A in descending order If b is a matrix then x is also a matrix with corresponding columns. If the rank of A is less than the number of columns of A or greater than -the numer of rows, then residuals will be returned as an empty array +the number of rows, then residuals will be returned as an empty array otherwise resids = sum((b-dot(A,x)**2). Singular values less than s[0]*rcond are treated as zero. """ ---------------------------------------------------------------------- I hope this helps, Jochen -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: powerpc (ppc) Kernel: Linux 2.6.11.6 Locale: LANG=en_GB.iso885915, LC_CTYPE=en_GB.iso885915 (charmap=ISO-8859-15) Versions of packages python2.3-numeric-ext depends on: ii atlas3-altivec [liblapac 3.6.0-19 Automatically Tuned Linear Algebra ii atlas3-base [liblapack.s 3.6.0-19 Automatically Tuned Linear Algebra ii lapack3 [liblapack.so.3] 3.0.20000531a-6 library of linear algebra routines ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libg2c0 1:3.3.5-12 Runtime library for GNU Fortran 77 ii python2.3 2.3.5-2 An interactive high-level object-o ii python2.3-numeric 23.8-1 Numerical (matrix-oriented) Mathem ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3 -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]