Zero Matrix¶
- class fastmat.Zero¶
Bases:
Matrix
\[x \mapsto 0\]The zero matrix only needs the dimension \(n\) of the vectors it acts on. It is very fast and very good!
>>> import fastmat as fm >>> >>> # define the parameter >>> n = 10 >>> >>> # construct the matrix >>> O = fm.Zero(n)
- __init__()¶
Initialize Zero matrix instance.
- Parameters
- numRowsint
Height (row count) of the desired zero matrix.
- numColsint
Width (column count) of the desired zero matrix.
- **optionsoptional
Additional keyworded arguments. Supports all optional arguments supported by
fastmat.Matrix
.