Closed
Description
In JuliaLang/julia#51909, I interfaced copytri!
and lacpy!
, but I didn't test them on rectangular matrices. The check:
(m1 < m || n1 < n) && throw(DimensionMismatch(lazy"B of size ($m1,$n1) should have at least the same number of rows and columns as A of size ($m,$n)"))
is too restrictive in two cases.
-
If
A
has more rows than columns anduplo = 'U'
,B
only needs to bep x p
, wherep
is the number of columns ofA
. A common application of this is performing a reduced QR onA
. -
Similarly, if
A
has more columns than rows anduplo = 'L'
,B
only needs to bet x t
, wheret
is the number of rows ofA
. This is relevant when performing a reduced LQ onA
.
Metadata
Metadata
Assignees
Labels
No labels