dune.xt.la package#
Submodules#
_la module#
- class dune.xt.la._la.Backends[source]#
Bases:
pybind11_builtins.pybind11_object
Members:
common_dense
common_sparse
istl_sparse
eigen_dense
eigen_sparse
none
- __index__(self: dune.xt.la._la.Backends) int [source]#
- __int__(self: dune.xt.la._la.Backends) int [source]#
- class dune.xt.la._la.CommonDenseMatrix[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) dune.xt.la._la.CommonDenseMatrix [source]#
- __iadd__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) dune.xt.la._la.CommonDenseMatrix [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) -> dune.xt.la._la.CommonDenseMatrix
__imul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: float) -> dune.xt.la._la.CommonDenseMatrix
- __isub__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) dune.xt.la._la.CommonDenseMatrix [source]#
- __itruediv__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) dune.xt.la._la.CommonDenseMatrix [source]#
- __matmul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
source
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: float) -> dune.xt.la._la.CommonDenseMatrix
__mul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: float) -> dune.xt.la._la.CommonDenseMatrix
- __repr__(self: dune.xt.la._la.CommonDenseMatrix) str [source]#
A compact representation of the matrix (only the outer three elements).
- __rmul__(self: dune.xt.la._la.CommonDenseMatrix, arg0: float) dune.xt.la._la.CommonDenseMatrix [source]#
- __str__(self: dune.xt.la._la.CommonDenseMatrix) str [source]#
A full representation of the matrix.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) -> dune.xt.la._la.CommonDenseMatrix
__sub__(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) -> dune.xt.la._la.CommonDenseMatrix
- __truediv__(self: dune.xt.la._la.CommonDenseMatrix, arg0: float) dune.xt.la._la.CommonDenseMatrix [source]#
- almost_equal(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonDenseMatrix) bool [source]#
- axpy(self: dune.xt.la._la.CommonDenseMatrix, arg0: float, arg1: dune.xt.la._la.CommonDenseMatrix) None [source]#
- clear_col(self: dune.xt.la._la.CommonDenseMatrix, jj: int) None [source]#
- clear_row(self: dune.xt.la._la.CommonDenseMatrix, ii: int) None [source]#
- copy(self: dune.xt.la._la.CommonDenseMatrix, deep: bool = False) dune.xt.la._la.CommonDenseMatrix [source]#
- dot(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
source
- static from_file(filename: str, min_rows: int = - 1, min_cols: int = - 1, mode: str = 'ascii') dune.xt.la._la.CommonDenseMatrix [source]#
- has_equal_shape(self: dune.xt.la._la.CommonDenseMatrix, other: dune.xt.la._la.CommonDenseMatrix) bool [source]#
- mtv(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonVector, arg1: dune.xt.la._la.CommonVector) None [source]#
range
- mv(self: dune.xt.la._la.CommonDenseMatrix, arg0: dune.xt.la._la.CommonVector, arg1: dune.xt.la._la.CommonVector) None [source]#
range
- pattern(self: dune.xt.la._la.CommonDenseMatrix, prune: bool = False, eps: float = 1.7763568394002505e-15) dune.xt.la._la.SparsityPatternDefault [source]#
- pruned(self: dune.xt.la._la.CommonDenseMatrix, eps: float = 1.7763568394002505e-15) dune.xt.la._la.CommonDenseMatrix [source]#
- scal(self: dune.xt.la._la.CommonDenseMatrix, alpha: float) None [source]#
- sup_norm(self: dune.xt.la._la.CommonDenseMatrix) float [source]#
- to_csr(self: dune.xt.la._la.CommonDenseMatrix, prune: bool = False, eps: float = 1e-15) Tuple[List[float], List[int], List[int]] [source]#
- unit_col(self: dune.xt.la._la.CommonDenseMatrix, jj: int) None [source]#
- unit_row(self: dune.xt.la._la.CommonDenseMatrix, ii: int) None [source]#
- valid(self: dune.xt.la._la.CommonDenseMatrix) bool [source]#
- vector_type(self: dune.xt.la._la.CommonDenseMatrix) class_<Dune::XT::LA::CommonDenseVector<double>> [source]#
- class dune.xt.la._la.CommonDenseMatrixSolver[source]#
Bases:
pybind11_builtins.pybind11_object
- apply(*args, **kwargs)[source]#
Overloaded function.
apply(self: dune.xt.la._la.CommonDenseMatrixSolver, rhs: dune.xt.la._la.CommonVector, solution: dune.xt.la._la.CommonVector) -> None
apply(self: dune.xt.la._la.CommonDenseMatrixSolver, rhs: dune.xt.la._la.CommonVector, solution: dune.xt.la._la.CommonVector, type: str) -> None
apply(self: dune.xt.la._la.CommonDenseMatrixSolver, rhs: dune.xt.la._la.CommonVector, solution: dune.xt.la._la.CommonVector, options: Dict[str, str]) -> None
- class dune.xt.la._la.CommonVector[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
- __getitem__(self: dune.xt.la._la.CommonVector, arg0: int) float [source]#
- __getstate__(self: dune.xt.la._la.CommonVector) tuple [source]#
- __iadd__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) -> dune.xt.la._la.CommonVector
__imul__(self: dune.xt.la._la.CommonVector, arg0: float) -> dune.xt.la._la.CommonVector
- __isub__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
- __iter__(self: dune.xt.la._la.CommonVector) iterator [source]#
- __itruediv__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) dune.xt.la._la.CommonVector [source]#
- __len__(self: dune.xt.la._la.CommonVector) int [source]#
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.CommonVector, arg0: float) -> dune.xt.la._la.CommonVector
__mul__(self: dune.xt.la._la.CommonVector, arg0: float) -> dune.xt.la._la.CommonVector
- __repr__(self: dune.xt.la._la.CommonVector) str [source]#
A compact representation of the vector (only the first and last three elements).
- __rmul__(self: dune.xt.la._la.CommonVector, arg0: float) dune.xt.la._la.CommonVector [source]#
- __setstate__(self: dune.xt.la._la.CommonVector, arg0: tuple) None [source]#
- __str__(self: dune.xt.la._la.CommonVector) str [source]#
A full representation of the vector.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) -> dune.xt.la._la.CommonVector
__sub__(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) -> dune.xt.la._la.CommonVector
- __truediv__(self: dune.xt.la._la.CommonVector, arg0: float) dune.xt.la._la.CommonVector [source]#
- almost_equal(self: dune.xt.la._la.CommonVector, other: dune.xt.la._la.CommonVector, epsilon: float = 1.7763568394002505e-15) bool [source]#
- amax(self: dune.xt.la._la.CommonVector) Tuple[int, float] [source]#
- axpy(self: dune.xt.la._la.CommonVector, arg0: float, arg1: dune.xt.la._la.CommonVector) None [source]#
- copy(self: dune.xt.la._la.CommonVector, deep: bool = False) dune.xt.la._la.CommonVector [source]#
- dim(self: dune.xt.la._la.CommonVector) int [source]#
- dot(self: dune.xt.la._la.CommonVector, arg0: dune.xt.la._la.CommonVector) float [source]#
- static from_file(filename: str, min_size: int = - 1, mode: str = 'ascii') dune.xt.la._la.CommonVector [source]#
- get_entry(self: dune.xt.la._la.CommonVector, jj: int) float [source]#
- has_equal_shape(self: dune.xt.la._la.CommonVector, other: dune.xt.la._la.CommonVector) bool [source]#
- l1_norm(self: dune.xt.la._la.CommonVector) float [source]#
- l2_norm(self: dune.xt.la._la.CommonVector) float [source]#
- matrix_type(self: dune.xt.la._la.CommonVector) class_<Dune::XT::LA::CommonDenseMatrix<double, (Dune::XT::Common::StorageLayout)0>> [source]#
- mean(self: dune.xt.la._la.CommonVector) float [source]#
- scal(self: dune.xt.la._la.CommonVector, alpha: float) None [source]#
- set_all(self: dune.xt.la._la.CommonVector, value: float) None [source]#
- standard_deviation(self: dune.xt.la._la.CommonVector) float [source]#
- sup_norm(self: dune.xt.la._la.CommonVector) float [source]#
- valid(self: dune.xt.la._la.CommonVector) bool [source]#
- class dune.xt.la._la.CommonVectorSizeT[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) dune.xt.la._la.CommonVectorSizeT [source]#
- __getitem__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) int [source]#
- __getstate__(self: dune.xt.la._la.CommonVectorSizeT) tuple [source]#
- __iadd__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) dune.xt.la._la.CommonVectorSizeT [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) -> dune.xt.la._la.CommonVectorSizeT
__imul__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) -> dune.xt.la._la.CommonVectorSizeT
- __isub__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) dune.xt.la._la.CommonVectorSizeT [source]#
- __iter__(self: dune.xt.la._la.CommonVectorSizeT) iterator [source]#
- __itruediv__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) dune.xt.la._la.CommonVectorSizeT [source]#
- __len__(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) -> dune.xt.la._la.CommonVectorSizeT
__mul__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) -> dune.xt.la._la.CommonVectorSizeT
- __repr__(self: dune.xt.la._la.CommonVectorSizeT) str [source]#
A compact representation of the vector (only the first and last three elements).
- __rmul__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) dune.xt.la._la.CommonVectorSizeT [source]#
- __setstate__(self: dune.xt.la._la.CommonVectorSizeT, arg0: tuple) None [source]#
- __str__(self: dune.xt.la._la.CommonVectorSizeT) str [source]#
A full representation of the vector.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) -> dune.xt.la._la.CommonVectorSizeT
__sub__(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) -> dune.xt.la._la.CommonVectorSizeT
- __truediv__(self: dune.xt.la._la.CommonVectorSizeT, arg0: int) dune.xt.la._la.CommonVectorSizeT [source]#
- almost_equal(self: dune.xt.la._la.CommonVectorSizeT, other: dune.xt.la._la.CommonVectorSizeT, epsilon: int = 0) bool [source]#
- amax(self: dune.xt.la._la.CommonVectorSizeT) Tuple[int, int] [source]#
- axpy(self: dune.xt.la._la.CommonVectorSizeT, arg0: int, arg1: dune.xt.la._la.CommonVectorSizeT) None [source]#
- copy(self: dune.xt.la._la.CommonVectorSizeT, deep: bool = False) dune.xt.la._la.CommonVectorSizeT [source]#
- dim(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- dot(self: dune.xt.la._la.CommonVectorSizeT, arg0: dune.xt.la._la.CommonVectorSizeT) int [source]#
- static from_file(filename: str, min_size: int = - 1, mode: str = 'ascii') dune.xt.la._la.CommonVectorSizeT [source]#
- get_entry(self: dune.xt.la._la.CommonVectorSizeT, jj: int) int [source]#
- has_equal_shape(self: dune.xt.la._la.CommonVectorSizeT, other: dune.xt.la._la.CommonVectorSizeT) bool [source]#
- l1_norm(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- l2_norm(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- mean(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- scal(self: dune.xt.la._la.CommonVectorSizeT, alpha: int) None [source]#
- set_all(self: dune.xt.la._la.CommonVectorSizeT, value: int) None [source]#
- standard_deviation(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- sup_norm(self: dune.xt.la._la.CommonVectorSizeT) int [source]#
- valid(self: dune.xt.la._la.CommonVectorSizeT) bool [source]#
- class dune.xt.la._la.EigenDenseMatrixSolver[source]#
Bases:
pybind11_builtins.pybind11_object
- apply(*args, **kwargs)[source]#
Overloaded function.
apply(self: dune.xt.la._la.EigenDenseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector) -> None
apply(self: dune.xt.la._la.EigenDenseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector, type: str) -> None
apply(self: dune.xt.la._la.EigenDenseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector, options: Dict[str, str]) -> None
- class dune.xt.la._la.EigenSparseMatrix[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) dune.xt.la._la.EigenSparseMatrix [source]#
- __iadd__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) dune.xt.la._la.EigenSparseMatrix [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) -> dune.xt.la._la.EigenSparseMatrix
__imul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: float) -> dune.xt.la._la.EigenSparseMatrix
- __isub__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) dune.xt.la._la.EigenSparseMatrix [source]#
- __itruediv__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) dune.xt.la._la.EigenSparseMatrix [source]#
- __matmul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
source
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: float) -> dune.xt.la._la.EigenSparseMatrix
__mul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: float) -> dune.xt.la._la.EigenSparseMatrix
- __repr__(self: dune.xt.la._la.EigenSparseMatrix) str [source]#
A compact representation of the matrix (only the outer three elements).
- __rmul__(self: dune.xt.la._la.EigenSparseMatrix, arg0: float) dune.xt.la._la.EigenSparseMatrix [source]#
- __str__(self: dune.xt.la._la.EigenSparseMatrix) str [source]#
A full representation of the matrix.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) -> dune.xt.la._la.EigenSparseMatrix
__sub__(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) -> dune.xt.la._la.EigenSparseMatrix
- __truediv__(self: dune.xt.la._la.EigenSparseMatrix, arg0: float) dune.xt.la._la.EigenSparseMatrix [source]#
- almost_equal(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenSparseMatrix) bool [source]#
- axpy(self: dune.xt.la._la.EigenSparseMatrix, arg0: float, arg1: dune.xt.la._la.EigenSparseMatrix) None [source]#
- clear_col(self: dune.xt.la._la.EigenSparseMatrix, jj: int) None [source]#
- clear_row(self: dune.xt.la._la.EigenSparseMatrix, ii: int) None [source]#
- copy(self: dune.xt.la._la.EigenSparseMatrix, deep: bool = False) dune.xt.la._la.EigenSparseMatrix [source]#
- dot(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
source
- static from_file(filename: str, min_rows: int = - 1, min_cols: int = - 1, mode: str = 'ascii') dune.xt.la._la.EigenSparseMatrix [source]#
- has_equal_shape(self: dune.xt.la._la.EigenSparseMatrix, other: dune.xt.la._la.EigenSparseMatrix) bool [source]#
- mtv(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenVector, arg1: dune.xt.la._la.EigenVector) None [source]#
range
- mv(self: dune.xt.la._la.EigenSparseMatrix, arg0: dune.xt.la._la.EigenVector, arg1: dune.xt.la._la.EigenVector) None [source]#
range
- pattern(self: dune.xt.la._la.EigenSparseMatrix, prune: bool = False, eps: float = 1.7763568394002505e-15) dune.xt.la._la.SparsityPatternDefault [source]#
- pruned(self: dune.xt.la._la.EigenSparseMatrix, eps: float = 1.7763568394002505e-15) dune.xt.la._la.EigenSparseMatrix [source]#
- scal(self: dune.xt.la._la.EigenSparseMatrix, alpha: float) None [source]#
- sup_norm(self: dune.xt.la._la.EigenSparseMatrix) float [source]#
- to_csr(self: dune.xt.la._la.EigenSparseMatrix, prune: bool = False, eps: float = 1e-15) Tuple[List[float], List[int], List[int]] [source]#
- unit_col(self: dune.xt.la._la.EigenSparseMatrix, jj: int) None [source]#
- unit_row(self: dune.xt.la._la.EigenSparseMatrix, ii: int) None [source]#
- valid(self: dune.xt.la._la.EigenSparseMatrix) bool [source]#
- vector_type(self: dune.xt.la._la.EigenSparseMatrix) class_<Dune::XT::LA::EigenDenseVector<double>> [source]#
- class dune.xt.la._la.EigenSparseMatrixSolver[source]#
Bases:
pybind11_builtins.pybind11_object
- apply(*args, **kwargs)[source]#
Overloaded function.
apply(self: dune.xt.la._la.EigenSparseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector) -> None
apply(self: dune.xt.la._la.EigenSparseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector, type: str) -> None
apply(self: dune.xt.la._la.EigenSparseMatrixSolver, rhs: dune.xt.la._la.EigenVector, solution: dune.xt.la._la.EigenVector, options: Dict[str, str]) -> None
- class dune.xt.la._la.EigenVector[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
- __getitem__(self: dune.xt.la._la.EigenVector, arg0: int) float [source]#
- __getstate__(self: dune.xt.la._la.EigenVector) tuple [source]#
- __iadd__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) -> dune.xt.la._la.EigenVector
__imul__(self: dune.xt.la._la.EigenVector, arg0: float) -> dune.xt.la._la.EigenVector
- __isub__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
- __iter__(self: dune.xt.la._la.EigenVector) iterator [source]#
- __itruediv__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) dune.xt.la._la.EigenVector [source]#
- __len__(self: dune.xt.la._la.EigenVector) int [source]#
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.EigenVector, arg0: float) -> dune.xt.la._la.EigenVector
__mul__(self: dune.xt.la._la.EigenVector, arg0: float) -> dune.xt.la._la.EigenVector
- __repr__(self: dune.xt.la._la.EigenVector) str [source]#
A compact representation of the vector (only the first and last three elements).
- __rmul__(self: dune.xt.la._la.EigenVector, arg0: float) dune.xt.la._la.EigenVector [source]#
- __setstate__(self: dune.xt.la._la.EigenVector, arg0: tuple) None [source]#
- __str__(self: dune.xt.la._la.EigenVector) str [source]#
A full representation of the vector.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) -> dune.xt.la._la.EigenVector
__sub__(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) -> dune.xt.la._la.EigenVector
- __truediv__(self: dune.xt.la._la.EigenVector, arg0: float) dune.xt.la._la.EigenVector [source]#
- almost_equal(self: dune.xt.la._la.EigenVector, other: dune.xt.la._la.EigenVector, epsilon: float = 1.7763568394002505e-15) bool [source]#
- amax(self: dune.xt.la._la.EigenVector) Tuple[int, float] [source]#
- axpy(self: dune.xt.la._la.EigenVector, arg0: float, arg1: dune.xt.la._la.EigenVector) None [source]#
- copy(self: dune.xt.la._la.EigenVector, deep: bool = False) dune.xt.la._la.EigenVector [source]#
- dim(self: dune.xt.la._la.EigenVector) int [source]#
- dot(self: dune.xt.la._la.EigenVector, arg0: dune.xt.la._la.EigenVector) float [source]#
- static from_file(filename: str, min_size: int = - 1, mode: str = 'ascii') dune.xt.la._la.EigenVector [source]#
- get_entry(self: dune.xt.la._la.EigenVector, jj: int) float [source]#
- has_equal_shape(self: dune.xt.la._la.EigenVector, other: dune.xt.la._la.EigenVector) bool [source]#
- l1_norm(self: dune.xt.la._la.EigenVector) float [source]#
- l2_norm(self: dune.xt.la._la.EigenVector) float [source]#
- matrix_type(self: dune.xt.la._la.EigenVector) class_<Dune::XT::LA::EigenRowMajorSparseMatrix<double>> [source]#
- mean(self: dune.xt.la._la.EigenVector) float [source]#
- scal(self: dune.xt.la._la.EigenVector, alpha: float) None [source]#
- set_all(self: dune.xt.la._la.EigenVector, value: float) None [source]#
- standard_deviation(self: dune.xt.la._la.EigenVector) float [source]#
- sup_norm(self: dune.xt.la._la.EigenVector) float [source]#
- valid(self: dune.xt.la._la.EigenVector) bool [source]#
- class dune.xt.la._la.IstlSparseMatrix[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) dune.xt.la._la.IstlSparseMatrix [source]#
- __iadd__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) dune.xt.la._la.IstlSparseMatrix [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) -> dune.xt.la._la.IstlSparseMatrix
__imul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: float) -> dune.xt.la._la.IstlSparseMatrix
- __isub__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) dune.xt.la._la.IstlSparseMatrix [source]#
- __itruediv__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) dune.xt.la._la.IstlSparseMatrix [source]#
- __matmul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
source
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: float) -> dune.xt.la._la.IstlSparseMatrix
__mul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: float) -> dune.xt.la._la.IstlSparseMatrix
- __repr__(self: dune.xt.la._la.IstlSparseMatrix) str [source]#
A compact representation of the matrix (only the outer three elements).
- __rmul__(self: dune.xt.la._la.IstlSparseMatrix, arg0: float) dune.xt.la._la.IstlSparseMatrix [source]#
- __str__(self: dune.xt.la._la.IstlSparseMatrix) str [source]#
A full representation of the matrix.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) -> dune.xt.la._la.IstlSparseMatrix
__sub__(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) -> dune.xt.la._la.IstlSparseMatrix
- __truediv__(self: dune.xt.la._la.IstlSparseMatrix, arg0: float) dune.xt.la._la.IstlSparseMatrix [source]#
- almost_equal(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlSparseMatrix) bool [source]#
- axpy(self: dune.xt.la._la.IstlSparseMatrix, arg0: float, arg1: dune.xt.la._la.IstlSparseMatrix) None [source]#
- clear_col(self: dune.xt.la._la.IstlSparseMatrix, jj: int) None [source]#
- clear_row(self: dune.xt.la._la.IstlSparseMatrix, ii: int) None [source]#
- copy(self: dune.xt.la._la.IstlSparseMatrix, deep: bool = False) dune.xt.la._la.IstlSparseMatrix [source]#
- dot(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
source
- static from_file(filename: str, min_rows: int = - 1, min_cols: int = - 1, mode: str = 'ascii') dune.xt.la._la.IstlSparseMatrix [source]#
- has_equal_shape(self: dune.xt.la._la.IstlSparseMatrix, other: dune.xt.la._la.IstlSparseMatrix) bool [source]#
- mtv(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlVector, arg1: dune.xt.la._la.IstlVector) None [source]#
range
- mv(self: dune.xt.la._la.IstlSparseMatrix, arg0: dune.xt.la._la.IstlVector, arg1: dune.xt.la._la.IstlVector) None [source]#
range
- pattern(self: dune.xt.la._la.IstlSparseMatrix, prune: bool = False, eps: float = 1.7763568394002505e-15) dune.xt.la._la.SparsityPatternDefault [source]#
- pruned(self: dune.xt.la._la.IstlSparseMatrix, eps: float = 1.7763568394002505e-15) dune.xt.la._la.IstlSparseMatrix [source]#
- scal(self: dune.xt.la._la.IstlSparseMatrix, alpha: float) None [source]#
- sup_norm(self: dune.xt.la._la.IstlSparseMatrix) float [source]#
- to_csr(self: dune.xt.la._la.IstlSparseMatrix, prune: bool = False, eps: float = 1e-15) Tuple[List[float], List[int], List[int]] [source]#
- unit_col(self: dune.xt.la._la.IstlSparseMatrix, jj: int) None [source]#
- unit_row(self: dune.xt.la._la.IstlSparseMatrix, ii: int) None [source]#
- valid(self: dune.xt.la._la.IstlSparseMatrix) bool [source]#
- vector_type(self: dune.xt.la._la.IstlSparseMatrix) class_<Dune::XT::LA::IstlDenseVector<double>> [source]#
- class dune.xt.la._la.IstlSparseMatrixSolver[source]#
Bases:
pybind11_builtins.pybind11_object
- apply(*args, **kwargs)[source]#
Overloaded function.
apply(self: dune.xt.la._la.IstlSparseMatrixSolver, rhs: dune.xt.la._la.IstlVector, solution: dune.xt.la._la.IstlVector) -> None
apply(self: dune.xt.la._la.IstlSparseMatrixSolver, rhs: dune.xt.la._la.IstlVector, solution: dune.xt.la._la.IstlVector, type: str) -> None
apply(self: dune.xt.la._la.IstlSparseMatrixSolver, rhs: dune.xt.la._la.IstlVector, solution: dune.xt.la._la.IstlVector, options: Dict[str, str]) -> None
- class dune.xt.la._la.IstlVector[source]#
Bases:
pybind11_builtins.pybind11_object
- __add__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
- __getitem__(self: dune.xt.la._la.IstlVector, arg0: int) float [source]#
- __getstate__(self: dune.xt.la._la.IstlVector) tuple [source]#
- __iadd__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
- __imul__(*args, **kwargs)[source]#
Overloaded function.
__imul__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) -> dune.xt.la._la.IstlVector
__imul__(self: dune.xt.la._la.IstlVector, arg0: float) -> dune.xt.la._la.IstlVector
- __isub__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
- __iter__(self: dune.xt.la._la.IstlVector) iterator [source]#
- __itruediv__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) dune.xt.la._la.IstlVector [source]#
- __len__(self: dune.xt.la._la.IstlVector) int [source]#
- __mul__(*args, **kwargs)[source]#
Overloaded function.
__mul__(self: dune.xt.la._la.IstlVector, arg0: float) -> dune.xt.la._la.IstlVector
__mul__(self: dune.xt.la._la.IstlVector, arg0: float) -> dune.xt.la._la.IstlVector
- __repr__(self: dune.xt.la._la.IstlVector) str [source]#
A compact representation of the vector (only the first and last three elements).
- __rmul__(self: dune.xt.la._la.IstlVector, arg0: float) dune.xt.la._la.IstlVector [source]#
- __setstate__(self: dune.xt.la._la.IstlVector, arg0: tuple) None [source]#
- __str__(self: dune.xt.la._la.IstlVector) str [source]#
A full representation of the vector.
- __sub__(*args, **kwargs)[source]#
Overloaded function.
__sub__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) -> dune.xt.la._la.IstlVector
__sub__(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) -> dune.xt.la._la.IstlVector
- __truediv__(self: dune.xt.la._la.IstlVector, arg0: float) dune.xt.la._la.IstlVector [source]#
- almost_equal(self: dune.xt.la._la.IstlVector, other: dune.xt.la._la.IstlVector, epsilon: float = 1.7763568394002505e-15) bool [source]#
- amax(self: dune.xt.la._la.IstlVector) Tuple[int, float] [source]#
- axpy(self: dune.xt.la._la.IstlVector, arg0: float, arg1: dune.xt.la._la.IstlVector) None [source]#
- copy(self: dune.xt.la._la.IstlVector, deep: bool = False) dune.xt.la._la.IstlVector [source]#
- dim(self: dune.xt.la._la.IstlVector) int [source]#
- dot(self: dune.xt.la._la.IstlVector, arg0: dune.xt.la._la.IstlVector) float [source]#
- static from_file(filename: str, min_size: int = - 1, mode: str = 'ascii') dune.xt.la._la.IstlVector [source]#
- get_entry(self: dune.xt.la._la.IstlVector, jj: int) float [source]#
- has_equal_shape(self: dune.xt.la._la.IstlVector, other: dune.xt.la._la.IstlVector) bool [source]#
- l1_norm(self: dune.xt.la._la.IstlVector) float [source]#
- l2_norm(self: dune.xt.la._la.IstlVector) float [source]#
- matrix_type(self: dune.xt.la._la.IstlVector) class_<Dune::XT::LA::IstlRowMajorSparseMatrix<double>> [source]#
- mean(self: dune.xt.la._la.IstlVector) float [source]#
- scal(self: dune.xt.la._la.IstlVector, alpha: float) None [source]#
- set_all(self: dune.xt.la._la.IstlVector, value: float) None [source]#
- standard_deviation(self: dune.xt.la._la.IstlVector) float [source]#
- sup_norm(self: dune.xt.la._la.IstlVector) float [source]#
- valid(self: dune.xt.la._la.IstlVector) bool [source]#
- class dune.xt.la._la.SparsityPatternDefault[source]#
Bases:
pybind11_builtins.pybind11_object
- __eq__(self: dune.xt.la._la.SparsityPatternDefault, arg0: dune.xt.la._la.SparsityPatternDefault) bool [source]#
- __ne__(self: dune.xt.la._la.SparsityPatternDefault, arg0: dune.xt.la._la.SparsityPatternDefault) bool [source]#
_la_traits module#
- class dune.xt.la._la_traits.Common[source]#
Bases:
pybind11_builtins.pybind11_object
tag: Common
- __repr__(self: dune.xt.la._la_traits.Common) str [source]#
- class dune.xt.la._la_traits.Dense[source]#
Bases:
pybind11_builtins.pybind11_object
tag: Dense
- __repr__(self: dune.xt.la._la_traits.Dense) str [source]#
- class dune.xt.la._la_traits.Eigen[source]#
Bases:
pybind11_builtins.pybind11_object
tag: Eigen
- __repr__(self: dune.xt.la._la_traits.Eigen) str [source]#
- class dune.xt.la._la_traits.Istl[source]#
Bases:
pybind11_builtins.pybind11_object
tag: Istl
- __repr__(self: dune.xt.la._la_traits.Istl) str [source]#