简体   繁体   English

techwinder 使用的 C++ 中的特定数学函数

[英]Specific math functions in C++ used by techwinder

In this answer @techwinder used in his-own code functions:这个答案中, @techwinder在他自己的代码函数中使用:

  • matMult() with 6 args where are this function from?带有 6 个参数的matMult()这个 function 来自哪里?

  • Also where I could find functions: invert33() , invert44() , inverseMatrixLapack() , and matMult() , which are used in @techwinder code?我还能在哪里找到函数: @techwinder代码中使用的invert33()invert44()inverseMatrixLapack()matMult()

Note: I think you should have asked himself:) maybe this will be closed or moved to stackoverflow...注意:我想你应该问问自己:)也许这会被关闭或转移到stackoverflow ...

Just to shed some light on the subject, he mentions lapack , in the code.为了阐明这个主题,他在代码中提到了 lapack

You can find out how to compute the inverse matrix with lapack here , and matrix-matrix multiplication can be computed with dgemm您可以在此处了解如何使用 lapack 计算逆矩阵,矩阵-矩阵乘法可以使用dgemm计算

He has some specialized code for small matrix, but that is not necessary if you want a simple solution.他有一些专门用于小矩阵的代码,但如果你想要一个简单的解决方案,那不是必需的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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