How to vew slice of multi-dimensional array in C#?



Hi.

I would like to view slice of a multi-dimensional array(actually it is
matrix).

visual studio 2005
languate : C#

If array is as follows

Complex[,] data = new Complex[100,100]

actually Complex is some class that implement complex number.

If I view data in watch window, I can only view value start from
data[0,0].

I want view all value slice of array (example : all value of 23th
column.)

P.S.
I also use intel fortran compiler integrated in vs2005.
If I use fortran compiler, In watch window I can easily view any slice
of matrix like this.

data(:,30) ---> view all 30th column
data(2:5, 30) --> row 2 to 5, column 30
data(30,:) --> all value in 30th row

.



Relevant Pages

  • Re: BIGLOO vs FORTRAN
    ... multidimensional array if you wanna slice lets say: ... various dimensions and orders. ... (vector->list erg) ...
    (comp.lang.scheme)
  • Re: unsigned type
    ... says that for a slice, "If the slice is not a null slice (a slice ... that all index must be valid before checking for a null array. ... work with modular index types because the 'First of the string is the ...   ...
    (comp.lang.ada)
  • Re: Converting access values
    ... Duncan Sands writes: ... > rest of your program to see as an array of an unconstrained array type. ... > You need to do some pointer manipulations in C when first allocating them to ... I have to "copy" a slice ...
    (comp.lang.ada)
  • Re: Aref on steroids
    ... I must return a new array as a result of slicing. ... Then you will have to copy the slice to an array, ... (defun parameter-list (argument-list) ... (let ((args (argument-list indices))) ...
    (comp.lang.lisp)
  • Re: Aref on steroids
    ... I must return a new array as a result of slicing. ... Then you will have to copy the slice to an array, ... Here is again the code with added a copier function. ... (defun parameter-list (argument-list) ...
    (comp.lang.lisp)

Loading