This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / 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_like

A square matrix.

Returns

out : ndarray

An ndarray copy or view or other representation of A.

Aliases

  • scipy.linalg._matfuncs._asarray_square