Sparse
- class pyarts3.arts.Sparse(*args, **kwargs)
A sparse version of
Matrix
This maps to
scipy.sparse.csr_matrix
.Overview
Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
Read variable from file.
Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
Saves variable to file.
Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
Make a
scipy.sparse.csr_matrix
from the sparse matrixMethod
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Method
See
scipy.sparse.csr_matrix
, but for no input arguments.Static Method
Create variable from file.
Operator
Return self==value.
Operator
__format__(self, arg: str, /) -> str
Operator
Return self>=value.
Operator
__getitem__(self, arg: tuple[int, int], /) -> float
Operator
__getstate__(self) -> tuple[scipy.sparse.csr_matrix[float]]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Overloaded function.
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__repr__(self) -> str
Operator
__setitem__(self, arg0: tuple[int, int], arg1: float, /) -> None
Operator
__setstate__(self, arg: tuple[scipy.sparse.csr_matrix[float]], /) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.Sparse) None
- __init__(self, arg: scipy.sparse.csr_matrix[float], /) None
Overloaded function.
__init__(self) -> None
__init__(self, arg: pyarts3.arts.Sparse) -> None
__init__(self, arg: scipy.sparse.csr_matrix[float], /) -> None
Methods
- arcsin(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- arcsinh(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- arctan(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- arctanh(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- argmax(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- argmin(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- asformat(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- asfptype(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- astype(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- ceil(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- check_format(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- conj(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- conjugate(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- copy(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- count_nonzero(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- data(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- deg2rad(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- diagonal(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- dot(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- dtype(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- eliminate_zeros(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- expm1(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- floor(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- format(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getH(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- get_shape(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getcol(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getformat(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getmaxprint(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getnnz(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- getrow(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- has_canonical_format(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- has_sorted_indices(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- imag(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- indices(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- indptr(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- log1p(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- max(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- maximum(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- maxprint(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- mean(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- min(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- minimum(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- multiply(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- nanmax(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- nanmin(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- ndim(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- nnz(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- nonzero(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- power(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- prune(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- rad2deg(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- readxml(self, file: str) str
Read variable from file.
- Parameters:
file (str) – A file that can be read.
- Raises:
RuntimeError – For any failure to read.
- Returns:
file – The file path found (may differ from input due to environment variables).
- Return type:
- real(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- reshape(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- resize(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- rint(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) str
Saves variable to file.
- Parameters:
file (str) – The path to which the file is written. Note that several of the options might modify the name or write more files.
type (str, optional) – Type of file to save. See
FileType
for options. Defaults is “ascii”.clobber (bool, optional) – Overwrite existing files or add new file with modified name? Defaults is True.
- Raises:
RuntimeError – For any failure to write.
- Returns:
file – The file saved. May differ from input.
- Return type:
- set_shape(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- setdiag(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- shape(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sign(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sin(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sinh(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- size(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sort_indices(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sorted_indices(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sqrt(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sum(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- sum_duplicates(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tan(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tanh(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tobsr(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tocoo(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tocsc(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tocsr(self) scipy.sparse.csr_matrix[float]
Make a
scipy.sparse.csr_matrix
from the sparse matrix- Returns:
arr – A sparse array
- Return type:
- todense(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- todia(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- todok(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- tolil(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- trace(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- transpose(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
- trunc(self) object
See
scipy.sparse.csr_matrix
, but for no input arguments.
Static Methods
- fromxml(file: str) pyarts3.arts.Sparse
Create variable from file.
- Parameters:
file (str) – A file that can be read
- Raises:
RuntimeError – For any failure to read.
- Returns:
artstype – The variable created from the file.
- Return type:
T
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[scipy.sparse.csr_matrix[float]]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.Sparse) None
- __init__(self, arg: scipy.sparse.csr_matrix[float], /) None
Overloaded function.
__init__(self) -> None
__init__(self, arg: pyarts3.arts.Sparse) -> None
__init__(self, arg: scipy.sparse.csr_matrix[float], /) -> None
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setstate__(self, arg: tuple[scipy.sparse.csr_matrix[float]], /) None