bundles / scipy latest / scipy / linalg / _matfuncs / _asarray_square
function
scipy.linalg._matfuncs:_asarray_square
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_matfuncs.py:36
Signature
def _asarray_square(A)Summary
Wraps asarray with the extra requirement that the input be a square matrix.
Extended Summary
The motivation is that the matfuncs module has real functions that have been lifted to square matrix functions.
Parameters
A: array_likeA square matrix.
Returns
out: ndarrayAn ndarray copy or view or other representation of A.
Aliases
scipy.linalg._matfuncs._asarray_square