[英]Lapack to solve A*X=B'
I would like to solve a linear system of the form A*X=B'
, where B'
is the transpose of B
. 我想解决的形式的线性系统
A*X=B'
其中B'
是转置B
。 A
is a square matrix N-by-N
and B is N-by-M
. A
是一个N-by-N
× N-by-N
方阵,B是N-by-M
方阵。 In lapack/lapacke, the function LAPACKE_dgesv (see an example here ) is used to solve systems of the form A*X=B
, where B
is treated as multiple right-hand side vectors. 在lapack / lapacke中,函数LAPACKE_dgesv(请参见此处的示例)用于求解
A*X=B
形式A*X=B
系统,其中B
被视为多个右侧向量。 Is it possible to solve a system of the form A*X=B'
without having to create a copy of B
as Z=B'
by re-ordering its values and then solve A*X=Z
? 是否有可能通过重新排列
A*X=Z
Z=B'
的值然后求解A*X=Z
来解决A*X=B'
形式的系统而不必创建B
的副本作为Z=B'
的问题?
To the very best of my knowledge, LAPACK offers no such functionality. 据我所知,LAPACK没有提供此类功能。 You have to perform the transpose of
B
outside the calls to LAPACK. 您必须在对LAPACK的调用之外执行
B
的转置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.