{ } Raw JSON

bundles / scipy 1.17.1 / scipy / linalg / _matfuncs / _asarray_square

function

scipy.linalg._matfuncs:_asarray_square

source: /scipy/linalg/_matfuncs.py :39

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_like

A square matrix.

Returns

out : ndarray

An ndarray copy or view or other representation of A.

Aliases

  • scipy.linalg._matfuncs._asarray_square