dolfinx.cpp.la
Linear algebra module
Classes
|
|
|
|
|
|
|
|
|
Members: |
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
|
Overloaded function. |
- class dolfinx.cpp.la.MatrixCSR_complex128(self: dolfinx.cpp.la.MatrixCSR_complex128, arg0: dolfinx.cpp.la.SparsityPattern) None
Bases:
pybind11_builtins.pybind11_object
- property data
- property dtype
- finalize(self: dolfinx.cpp.la.MatrixCSR_complex128) None
- finalize_begin(self: dolfinx.cpp.la.MatrixCSR_complex128) None
- finalize_end(self: dolfinx.cpp.la.MatrixCSR_complex128) None
- property indices
- property indptr
- mat_add_values(self: dolfinx.cpp.la.MatrixCSR_complex128) dolfinx::la::MatrixCSR<std::complex<double>, std::allocator<std::complex<double> > >::mat_add_values()::{lambda(tcb::span<int const, -1l> const&, tcb::span<int const, -1l> const&, tcb::span<std::complex<double> const, -1l> const&)#1}
- norm_squared(self: dolfinx.cpp.la.MatrixCSR_complex128) float
- set(self: dolfinx.cpp.la.MatrixCSR_complex128, arg0: complex) None
- to_dense(self: dolfinx.cpp.la.MatrixCSR_complex128) numpy.ndarray[numpy.complex128]
- class dolfinx.cpp.la.MatrixCSR_complex64(self: dolfinx.cpp.la.MatrixCSR_complex64, arg0: dolfinx.cpp.la.SparsityPattern) None
Bases:
pybind11_builtins.pybind11_object
- property data
- property dtype
- finalize(self: dolfinx.cpp.la.MatrixCSR_complex64) None
- finalize_begin(self: dolfinx.cpp.la.MatrixCSR_complex64) None
- finalize_end(self: dolfinx.cpp.la.MatrixCSR_complex64) None
- property indices
- property indptr
- mat_add_values(self: dolfinx.cpp.la.MatrixCSR_complex64) dolfinx::la::MatrixCSR<std::complex<float>, std::allocator<std::complex<float> > >::mat_add_values()::{lambda(tcb::span<int const, -1l> const&, tcb::span<int const, -1l> const&, tcb::span<std::complex<float> const, -1l> const&)#1}
- norm_squared(self: dolfinx.cpp.la.MatrixCSR_complex64) float
- set(self: dolfinx.cpp.la.MatrixCSR_complex64, arg0: complex) None
- to_dense(self: dolfinx.cpp.la.MatrixCSR_complex64) numpy.ndarray[numpy.complex64]
- class dolfinx.cpp.la.MatrixCSR_float32(self: dolfinx.cpp.la.MatrixCSR_float32, arg0: dolfinx.cpp.la.SparsityPattern) None
Bases:
pybind11_builtins.pybind11_object
- property data
- property dtype
- finalize(self: dolfinx.cpp.la.MatrixCSR_float32) None
- finalize_begin(self: dolfinx.cpp.la.MatrixCSR_float32) None
- finalize_end(self: dolfinx.cpp.la.MatrixCSR_float32) None
- property indices
- property indptr
- mat_add_values(self: dolfinx.cpp.la.MatrixCSR_float32) dolfinx::la::MatrixCSR<float, std::allocator<float> >::mat_add_values()::{lambda(tcb::span<int const, -1l> const&, tcb::span<int const, -1l> const&, tcb::span<float const, -1l> const&)#1}
- norm_squared(self: dolfinx.cpp.la.MatrixCSR_float32) float
- set(self: dolfinx.cpp.la.MatrixCSR_float32, arg0: float) None
- to_dense(self: dolfinx.cpp.la.MatrixCSR_float32) numpy.ndarray[numpy.float32]
- class dolfinx.cpp.la.MatrixCSR_float64(self: dolfinx.cpp.la.MatrixCSR_float64, arg0: dolfinx.cpp.la.SparsityPattern) None
Bases:
pybind11_builtins.pybind11_object
- property data
- property dtype
- finalize(self: dolfinx.cpp.la.MatrixCSR_float64) None
- finalize_begin(self: dolfinx.cpp.la.MatrixCSR_float64) None
- finalize_end(self: dolfinx.cpp.la.MatrixCSR_float64) None
- property indices
- property indptr
- mat_add_values(self: dolfinx.cpp.la.MatrixCSR_float64) dolfinx::la::MatrixCSR<double, std::allocator<double> >::mat_add_values()::{lambda(tcb::span<int const, -1l> const&, tcb::span<int const, -1l> const&, tcb::span<double const, -1l> const&)#1}
- norm_squared(self: dolfinx.cpp.la.MatrixCSR_float64) float
- set(self: dolfinx.cpp.la.MatrixCSR_float64, arg0: float) None
- to_dense(self: dolfinx.cpp.la.MatrixCSR_float64) numpy.ndarray[numpy.float64]
- class dolfinx.cpp.la.Norm(self: dolfinx.cpp.la.Norm, value: int) None
Bases:
pybind11_builtins.pybind11_object
Members:
l1
l2
linf
frobenius
- frobenius = <Norm.frobenius: 3>
- l1 = <Norm.l1: 0>
- l2 = <Norm.l2: 1>
- linf = <Norm.linf: 2>
- property name
- property value
- class dolfinx.cpp.la.SparsityPattern(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.la.SparsityPattern, arg0: MPICommWrapper, arg1: List[dolfinx.cpp.common.IndexMap[2]], arg2: List[int[2]]) -> None
__init__(self: dolfinx.cpp.la.SparsityPattern, arg0: MPICommWrapper, arg1: List[List[dolfinx.cpp.la.SparsityPattern]], arg2: List[List[Tuple[dolfinx.cpp.common.IndexMap, int]][2]], arg3: List[List[int][2]]) -> None
- assemble(self: dolfinx.cpp.la.SparsityPattern) None
- column_index_map(self: dolfinx.cpp.la.SparsityPattern) dolfinx.cpp.common.IndexMap
- property graph
- index_map(self: dolfinx.cpp.la.SparsityPattern, arg0: int) dolfinx.cpp.common.IndexMap
- insert(self: dolfinx.cpp.la.SparsityPattern, arg0: numpy.ndarray[numpy.int32], arg1: numpy.ndarray[numpy.int32]) None
- insert_diagonal(self: dolfinx.cpp.la.SparsityPattern, arg0: numpy.ndarray[numpy.int32]) None
- property num_nonzeros
- class dolfinx.cpp.la.Vector_complex128(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.la.Vector_complex128, arg0: dolfinx.cpp.common.IndexMap, arg1: int) -> None
__init__(self: dolfinx.cpp.la.Vector_complex128, arg0: dolfinx.cpp.la.Vector_complex128) -> None
- property array
- property bs
- property dtype
- property map
- norm(self: dolfinx.cpp.la.Vector_complex128, type: dolfinx.cpp.la.Norm = <Norm.l2: 1>) float
- scatter_forward(self: dolfinx.cpp.la.Vector_complex128) None
- scatter_reverse(self: dolfinx.cpp.la.Vector_complex128, arg0: dolfinx.cpp.common.ScatterMode) None
- set(self: dolfinx.cpp.la.Vector_complex128, arg0: complex) None
- class dolfinx.cpp.la.Vector_complex64(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.la.Vector_complex64, arg0: dolfinx.cpp.common.IndexMap, arg1: int) -> None
__init__(self: dolfinx.cpp.la.Vector_complex64, arg0: dolfinx.cpp.la.Vector_complex64) -> None
- property array
- property bs
- property dtype
- property map
- norm(self: dolfinx.cpp.la.Vector_complex64, type: dolfinx.cpp.la.Norm = <Norm.l2: 1>) float
- scatter_forward(self: dolfinx.cpp.la.Vector_complex64) None
- scatter_reverse(self: dolfinx.cpp.la.Vector_complex64, arg0: dolfinx.cpp.common.ScatterMode) None
- set(self: dolfinx.cpp.la.Vector_complex64, arg0: complex) None
- class dolfinx.cpp.la.Vector_float32(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.la.Vector_float32, arg0: dolfinx.cpp.common.IndexMap, arg1: int) -> None
__init__(self: dolfinx.cpp.la.Vector_float32, arg0: dolfinx.cpp.la.Vector_float32) -> None
- property array
- property bs
- property dtype
- property map
- norm(self: dolfinx.cpp.la.Vector_float32, type: dolfinx.cpp.la.Norm = <Norm.l2: 1>) float
- scatter_forward(self: dolfinx.cpp.la.Vector_float32) None
- scatter_reverse(self: dolfinx.cpp.la.Vector_float32, arg0: dolfinx.cpp.common.ScatterMode) None
- set(self: dolfinx.cpp.la.Vector_float32, arg0: float) None
- class dolfinx.cpp.la.Vector_float64(*args, **kwargs)
Bases:
pybind11_builtins.pybind11_object
Overloaded function.
__init__(self: dolfinx.cpp.la.Vector_float64, arg0: dolfinx.cpp.common.IndexMap, arg1: int) -> None
__init__(self: dolfinx.cpp.la.Vector_float64, arg0: dolfinx.cpp.la.Vector_float64) -> None
- property array
- property bs
- property dtype
- property map
- norm(self: dolfinx.cpp.la.Vector_float64, type: dolfinx.cpp.la.Norm = <Norm.l2: 1>) float
- scatter_forward(self: dolfinx.cpp.la.Vector_float64) None
- scatter_reverse(self: dolfinx.cpp.la.Vector_float64, arg0: dolfinx.cpp.common.ScatterMode) None
- set(self: dolfinx.cpp.la.Vector_float64, arg0: float) None