矩阵的传递代码 [英] code for the trasnpose of a matrix
问题描述
我想有一个C ++代码用于矩阵的转置如果
任何人都可以帮助我,我很乐意拥有它
dorcas写道:我想有一个C ++代码用于矩阵的转置如果
任何人都可以帮助我,我会很高兴拥有它
如果你懒得做自己的功课,不要问我们。转到
任何网络搜索引擎并寻找它。至少那时候没有人会帮助你作弊。
Victor Bazarov写道:dorcas写道:< blockquote class =post_quotes>我想有一个C ++代码用于矩阵的转置,如果有人可以帮助我,我很乐意拥有它
>如果你懒得做自己的功课,不要问我们。转到
任何Web搜索引擎并查找它。至少那时候没人会帮你做作弊。
我知道这不是OP所要求的,但是如果行动是
执行原位操作转置 - 即通过交换
矩阵元素来执行转置 - 事实证明这非常困难。试试吧
你没有更好的事情可做。
-
Lionel B
Lionel B写道:Victor Bazarov写道:
dorcas写道:
我想有一个C ++代码用于矩阵的转置,如果有人可以帮助我,我很乐意拥有它
如果你懒得做自己的功课,不要问我们。转到
任何Web搜索引擎并查找它。至少那时没有人会帮你做作弊。
我知道这不是OP所要求的,但是如果行动是为了执行 ;原地转置 - 即通过交换矩阵元素来执行转置 - 结果令人惊讶地难以实现。如果你没有更好的事情可以试试。
我不确定你在最后一句话中说的是谁。
i would like to have a C++ code for the transpose of a matrix if
anyone could assist me with it i would be glad to have it
dorcas wrote:i would like to have a C++ code for the transpose of a matrix if
anyone could assist me with it i would be glad to have it
If you''re too lazy to do your own homework, don''t ask us. Go to
any Web search engine and look for it. At least then nobody will
have assisted you in cheating.
Victor Bazarov wrote:dorcas wrote:i would like to have a C++ code for the transpose of a matrix if
anyone could assist me with it i would be glad to have it
If you''re too lazy to do your own homework, don''t ask us. Go to
any Web search engine and look for it. At least then nobody will
have assisted you in cheating.
I know this is not what the OP requested, but if the exercice is to
perform an "in situ" transpose - i.e. perform the transpose by swapping
matrix elements - it turns out to be surprisingly difficult. Try it if
you''ve nothing better to do.
--
Lionel B
Lionel B wrote:Victor Bazarov wrote:dorcas wrote:i would like to have a C++ code for the transpose of a matrix if
anyone could assist me with it i would be glad to have it
If you''re too lazy to do your own homework, don''t ask us. Go to
any Web search engine and look for it. At least then nobody will
have assisted you in cheating.
I know this is not what the OP requested, but if the exercice is to
perform an "in situ" transpose - i.e. perform the transpose by swapping
matrix elements - it turns out to be surprisingly difficult. Try it if
you''ve nothing better to do.
I am not sure whom you''re addressing in your last sentence.
这篇关于矩阵的传递代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!