A
Alan Beban
I uploaded to the freely downloadable file at
http://home.pacbell.net/beban three additional functions: OneD, TwoD and
ThreeD. They provide for changing the number of dimensions of a loaded
1-D, 2-D or 3-D array. If the dimensions are increased, all the data
remains within the changed array; if the number of dimensions is
decreased, then, of course, some of the data goes away. If the input
array is 3-D, it also provides for the extraction of 2-D slices. If you
visualize the 3-D array as comprising a solid sitting on the xy-plane,
with its height along the z-axis direction, the extracted 2-D slices can
lie in or be parallel to the xy-plane, the xz-plane or the yz-plane.
Used in conjunction with the ResizeArray function, which adjusts the
bounds of arrays (up to 4-D), they can be handy in the right circumstances.
As always, any constructive comments will be welcomed.
Alan Beban
http://home.pacbell.net/beban three additional functions: OneD, TwoD and
ThreeD. They provide for changing the number of dimensions of a loaded
1-D, 2-D or 3-D array. If the dimensions are increased, all the data
remains within the changed array; if the number of dimensions is
decreased, then, of course, some of the data goes away. If the input
array is 3-D, it also provides for the extraction of 2-D slices. If you
visualize the 3-D array as comprising a solid sitting on the xy-plane,
with its height along the z-axis direction, the extracted 2-D slices can
lie in or be parallel to the xy-plane, the xz-plane or the yz-plane.
Used in conjunction with the ResizeArray function, which adjusts the
bounds of arrays (up to 4-D), they can be handy in the right circumstances.
As always, any constructive comments will be welcomed.
Alan Beban