This project has moved. For the latest updates, please go here.

Is Creating 3D DenseMatrix in Math.NET Possible?

Apr 22, 2014 at 5:56 PM
Is Creating 3D DenseMatrix in Math.NET Possible?
Like a 3x3x3 Matrix and initialize all elements to zero?
I need to simulate something like Matlab's zeros(XM,YM1,ZM1) functions. Any help will be appreciated.
Apr 22, 2014 at 10:45 PM
No. In Math.NET Numerics, matrices are really just matrices, not generalized multidimensional array-like data structures or tensors like in NumPy or MATLAB.

Do you apply linear algebra routines to such a data structure, or is this more a way to organize a data set in a single data structure? If it is the latter, which is quite common in MATLAB in my experience e.g. to store a series of matrices, maybe an array or list of matrices would work as well?

Marked as answer by cdrnet on 5/2/2014 at 10:33 AM