Create an array of a type given by new type with the dimensionality given in array.
Namespace: nom.tam.util
Assembly: CSharpFITS_v1.1 (in CSharpFITS_v1.1.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Shared Function MimicArray( _ ByVal array As Object, _ ByVal newType As Type _ ) As Object |
| C# |
|---|
| public static object MimicArray( object array, Type newType ) |
| C++ |
|---|
| public: static Object MimicArray( Object array, Type newType ) |
| J# |
|---|
| public static object MimicArray( object array, Type newType ) |
| JScript |
|---|
| public static
function MimicArray( array : Object, newType : Type ) : Object |
Parameters
- array
- A possibly multidimensional array to be converted.
- newType
- The desired output type. This should be one of the class descriptors for primitive numeric data, e.g., double.type.