Skip Navigation Links.

H5S..::..create_simple Method (, array<>[]()[][])

Creates a new simple dataspace and opens it for access. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5S.html#Dataspace-CreateSimple

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function create_simple ( _
	rank As Integer, _
	dims As Long() _
) As H5DataSpaceId
C#
public static H5DataSpaceId create_simple(
	int rank,
	long[] dims
)
Visual C++
public:
static H5DataSpaceId^ create_simple(
	int rank, 
	array<long long>^ dims
)
JavaScript
HDF5DotNet.H5S.create_simple = function(rank, dims);

Parameters

rank
Type: Int32
Number of dimensions of dataspace.
dims
Type: array<Int64>[]()[][]
An array of the size of each dimension.

Remarks

H5Screate_simple creates a new simple dataspace and opens it for access.

rank is the number of dimensions used in the dataspace.

The upper limit is the same as dims.

The dataspace identifier returned from this function must be released with H5Sclose or resource leaks will occur.

See Also