| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/linalg/__pycache__/ |
Upload File : |
�
d�c�a � � � d dl mZ d dlZd dlmZmZmZmZmZm Z m
Z
mZmZm
Z
mZmZ d dlmZ d dlmZmZ ddlmZ ddlmZmZ dd lmZ dd
lmZ ddlm Z m!Z! ddl"m#Z#m$Z$ dd
l%m&Z& ddl'm(Z(m)Z) g d�Z* ej+ d� � j, Z, ej+ d� � j, Z-ddd dd dd�Z.d� Z/d#d�Z0d� Z1d$d�Z2d� Z3d� Z4d� Z5d� Z6d� Z7d� Z8d� Z9d� Z:d$d �Z;d$d!�Z<d"� Z=dS )%� )�productN)�Inf�dot�diag�prod�logical_not�ravel� transpose� conjugate�absolute�amax�sign�isfinite)�sqrt)�LinAlgError� bandwidth� )�norm)�solve�inv)�triu)�svd)�schur�rsf2csf)�expm_frechet� expm_cond)�sqrtm)�pick_pade_structure�pade_UV_calc)�expm�cosm�sinm�tanm�coshm�sinhm�tanhm�logm�funm�signmr �fractional_matrix_powerr r �
khatri_rao�d�f)�i�lr- r, �F�Dc � � t j | � � } t | j � � dk s| j d | j d k rt d� � �| S )a�
Wraps asarray with the extra requirement that the input be a square matrix.
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.
� r r z expected square array_like input)�np�asarray�len�shape�
ValueError��As �8/usr/lib/python3/dist-packages/scipy/linalg/_matfuncs.py�_asarray_squarer<