How to vew slice of multi-dimensional array in C#?
- From: "lotus" <lotus.one@xxxxxxxxx>
- Date: 6 Feb 2007 17:06:57 -0800
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
.
- Prev by Date: DCOM Exception in Debug on XP
- Next by Date: RE: VS 2005 won't hit breakpoints when debugging an executable
- Previous by thread: DCOM Exception in Debug on XP
- Next by thread: RE: VS 2005 won't hit breakpoints when debugging an executable
- Index(es):
Relevant Pages
|
Loading