4

I need to use a 4 dimensional matrix.

I am using math.net numeric library for c#,

I have tried the

Matrix<Matrix<double>> test;

but it didn't work

i know that I can write the following

Matrix<double> [][] test;

but I don't want it this way

Mohammad Shaban
  • 176
  • 1
  • 16
  • I'd suggest looking into a math.net's tensor as a multidimensional array(or > 2d matrix). Math.Net says it supports them. How did that not work? If it compiled, then ship it. – Chad McGrath Jun 04 '16 at 16:32

1 Answers1

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)?

Christoph Rüegg
  • 4,626
  • 1
  • 20
  • 34