95f939ba68b9d462ccf36a53df7570afbf332e70,scipy/linalg/interpolative.py,,rand,#,349
Before Change
.. For details, see :func:`backend.id_srand`, :func:`backend.id_srandi`,
and :func:`backend.id_srando`.
if len(args) == 0:
backend.id_srando()
elif len(args) == 1:
x = np.asfortranarray(args[0])
if x.size == 1:
return backend.id_srand(x)
elif x.size == 55:
backend.id_srandi(x)
else:
raise ValueError("invalid input size")
else:
raise ValueError("unknown input specification")
def interp_decomp(A, eps_or_k, rand=True):
Compute ID of a matrix.
After Change
.. For details, see :func:`backend.id_srand`, and :func:`backend.id_srando`.
return backend.id_srand(np.prod(shape) ).reshape(shape)
def interp_decomp(A, eps_or_k, rand=True):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: scipy/scipy
Commit Name: 95f939ba68b9d462ccf36a53df7570afbf332e70
Time: 2013-07-22
Author: pav@iki.fi
File Name: scipy/linalg/interpolative.py
Class Name:
Method Name: rand
Project Name: sony/nnabla
Commit Name: 65d4d10a980fa35c383e2a0c583224d5d2ee13b6
Time: 2021-03-30
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/core/variable_batch_size.py
Class Name:
Method Name: variable_batch_size
Project Name: scipy/scipy
Commit Name: b02c635e046912a7db9d5023b15b00bcaf613764
Time: 2012-08-20
Author: vanderplas@astro.washington.edu
File Name: scipy/sparse/linalg/dsolve/linsolve.py
Class Name:
Method Name: spsolve