summaryrefslogtreecommitdiff
path: root/numpy/lib/user_array.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-01 19:04:22 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-01 19:29:20 -0600
commite9dfb3bc760088fa50e14aed363041a7aac6aa29 (patch)
treeda62b548f9fba6f9c8aac31fc13e93fc9da2de3c /numpy/lib/user_array.py
parenta6385b3a99e508e0d2ed5a6397da29d05da27ceb (diff)
downloadnumpy-e9dfb3bc760088fa50e14aed363041a7aac6aa29.tar.gz
ENH: Add `raw`, `reduced`, `complete` modes to qr factorization.
If K = min(M, N) where the matrix to be factored has dimensions MxN, then 'reduced' : returns q, r with dimensions (M, K), (K, N) (default) 'complete' : returns q, r with dimensions (M, M), (M, N) 'r' : returns r only with dimensions (K, N) 'raw' : returns h, tau with dimensions (N, M), (K,) 'full' : alias of 'reduced', deprecated 'economic' : returns h from 'raw', deprecated. The options 'reduced', 'complete, and 'raw' are new. The default is 'reduced' and to maintain backward compatibility with earlier versions of numpy both it and the old default 'full' can be omitted. Note that array `h` returned in 'raw' mode is transposed for calling Fortran. Both the 'full' and 'economic' modes are deprecated. For backwards compatibility the modes 'full', 'economic' may be passed using only the first letter but all others must be spelled out.
Diffstat (limited to 'numpy/lib/user_array.py')
0 files changed, 0 insertions, 0 deletions