| 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/sparse/linalg/__pycache__/ |
Upload File : |
�
d�c=- � � � d Z dgZddlZddlmZ ddlmZ ddlm Z ddl
mZ dd l
mZ dd
l
m
Z
ddl
mZ ej ej e
j ej d�Zej ej e
j ej d�Zd
dd�Z G d� d� � Z dd�ZdS )a�
Python wrapper for PROPACK
--------------------------
PROPACK is a collection of Fortran routines for iterative computation
of partial SVDs of large matrices or linear operators.
Based on BSD licensed pypropack project:
http://github.com/jakevdp/pypropack
Author: Jake Vanderplas <vanderplas@astro.washington.edu>
PROPACK source is BSD licensed, and available at
http://soi.stanford.edu/~rmunk/PROPACK/
�_svdp� N)�check_random_state)�aslinearoperator)�LinAlgError� )� _spropack)� _dpropack)� _cpropack)� _zpropack)�f�d�F�D�L�S)�LM�SMc �J � e Zd ZdZd� Zd� Zed� � � Zed� � � ZdS )�_AProdz�
Wrapper class for linear operator
The call signature of the __call__ method matches the callback of
the PROPACK routines.
c � � t |� � | _ d S # t $ r* t t j |� � � � | _ Y d S w xY w�N)r �A� TypeError�np�asarray)�selfr s �;/usr/lib/python3/dist-packages/scipy/sparse/linalg/_svdp.py�__init__z_AProd.__init__: sR � � 5�%�a�(�(�D�F�F�F��� 5� 5� 5�%�b�j��m�m�4�4�D�F�F�F�F� 5���s � �0A�Ac � � |dk r!| j � |� � |d d �<