core_Mat_dims() private method

private core_Mat_dims ( IntPtr self ) : int
self System.IntPtr
return int
Beispiel #1
0
        /// <summary>
        /// Returns the matrix dimensionality
        /// </summary>
        public int Dims()
        {
            ThrowIfDisposed();
            var res = NativeMethods.core_Mat_dims(ptr);

            GC.KeepAlive(this);
            return(res);
        }
Beispiel #2
0
 /// <summary>
 /// Returns the matrix dimensionality
 /// </summary>
 public int Dims()
 {
     ThrowIfDisposed();
     return(NativeMethods.core_Mat_dims(ptr));
 }