净矩阵矩阵

2023-09-06 10:01:27 作者:撩妹

有一个标准的.NET基类?我无法找到它,如果没有。

Is there a standard .Net matrix class? I cannot find it if there is.

如果不是,为什么不呢?这听起来像一些人会需要非常频繁。是否有任何非标准库,你可以推荐?

If not, why not? It sounds like something people would need very frequently. Are there any non-standard libs you could recommend?

推荐答案

我不相信有,部分原因是因为任何数组可以在技术上被称为黑客帝国,如果它是一个长度为n的一维数组,它是一个NX 1矩阵。还有,你是否会想基质持有整数,双打,或其它数字,可能在某些矩阵功能发挥作用的价值观的问题。

I don't believe there is, partially because any array can technically be called a "Matrix" if it is a single dimension array of length n, it is an n x 1 matrix. There is also the question of whether you'd want the matrix to hold integers, doubles, or other numerical values that may play a role in some Matrix functions.

确实有在此存在不同的地方,如和的此处,可能会捆绑一些矩阵类与其它线性代数函数。

There do exist various places like here and here that may bundle some Matrix classes with other Linear Algebra functions.