我需要使用4维矩阵。
我正在使用math.net numeric库来进行c#,
我试过了
Matrix<Matrix<double>> test;
但它无效
我知道我可以写下面的
Matrix<double> [][] test;
但我不希望这样
答案 0 :(得分:3)
No. The Math.NET Numerics Linear Algebra functionality operates on vectors and matrices, not on arbitrary-dimensional arrays (by design; other than libraries like ILNumerics which do operate on such arrays). As such it does not provide a 4 dimensional "matrix"-like data structure.
Do you really need tensor-arithmetics on top of that, or is this more about storing a table of matrices (or a cube of vectors)?