This routine does the actually flattening of multi-dimensional arrays.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Protected Shared Function DoFlatten( _ ByVal input As Object, _ ByVal output As Array, _ ByVal offset As Integer _ ) As Integer |
| C# |
|---|
| protected static int DoFlatten( object input, Array output, int offset ) |
| C++ |
|---|
| protected: static int DoFlatten( Object input, Array output, int offset ) |
| J# |
|---|
| protected static int DoFlatten( object input, Array output, int offset ) |
| JScript |
|---|
| protected static
function DoFlatten( input : Object, output : Array, offset : int ) : int |
Parameters
- input
- The input array to be flattened.
- output
- The flattened array.
- offset
- The current offset within the output array.
Return Value
The number of elements within the array.