Skip to content

pycauset.Int16Matrix

A memory-mapped dense matrix storing 16-bit signed integers. Inherits from MatrixBase.

Constructor

pycauset.Int16Matrix(n: int)
pycauset.Int16Matrix(rows: int, cols: int)
pycauset.Int16Matrix(array: numpy.ndarray)

When constructed from a NumPy array, the array must be rank-2 with dtype int16.

Properties

shape

Returns a tuple (rows, cols) representing the dimensions of the matrix.

Methods

Inherits the common matrix interface from pycauset.MatrixBase.