简体   繁体   English

Lapack解决A * X = B'

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM