http://www.emgu.com
The function allocates a multi-dimensional sparse array. Initially the array contain no elements, that is Get or GetReal returns zero for every index

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static IntPtr cvCreateSparseMat(
	int dims,
	IntPtr sizes,
	MAT_DEPTH type
)
Visual Basic
Public Shared Function cvCreateSparseMat ( _
	dims As Integer, _
	sizes As IntPtr, _
	type As MAT_DEPTH _
) As IntPtr
Visual C++
public:
static IntPtr cvCreateSparseMat(
	int dims, 
	IntPtr sizes, 
	MAT_DEPTH type
)

Parameters

dims
Type: System..::..Int32
Number of array dimensions
sizes
Type: System..::..IntPtr
Array of dimension sizes
type
Type: Emgu.CV.CvEnum..::..MAT_DEPTH
Type of array elements

Return Value

Pointer to the array header

See Also