Check the shape and properties of a 2D array.
This function can be used to check to make sure a 2D array_like has the right shape, along with other properties. If not, an appropriate error message is generated.
Array to be checked.
Expected number of rows.
Expected number of columns.
If True, check to make sure the matrix is square.
If True, check to make sure the matrix is symmetric.
Name of the matrix (for use in error messages).
Input array, converted to 2D if needed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4