![]() |
Ginkgo
Generated from pipelines/2721898507 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
|
Computes a Cholesky factorization of a symmetric, positive-definite sparse matrix. More...
#include <ginkgo/core/factorization/cholesky.hpp>
Classes | |
| struct | parameters_type |
Public Types | |
| using | value_type = ValueType |
| using | index_type = IndexType |
| using | matrix_type = matrix::Csr< value_type, index_type > |
| using | sparsity_pattern_type = matrix::SparsityCsr< value_type, index_type > |
| using | factorization_type = Factorization< value_type, index_type > |
Public Member Functions | |
| const parameters_type & | get_parameters () |
| Returns the parameters used to construct the factory. More... | |
| const parameters_type & | get_parameters () const |
| Returns the parameters used to construct the factory. More... | |
| std::unique_ptr< factorization_type > | generate (std::shared_ptr< const LinOp > system_matrix) const |
Public Member Functions inherited from gko::LinOpFactory | |
| std::unique_ptr< LinOp > | generate (std::shared_ptr< const LinOp > input) const |
Public Member Functions inherited from gko::PolymorphicObject | |
| PolymorphicObject & | operator= (const PolymorphicObject &) |
| std::shared_ptr< const Executor > | get_executor () const noexcept |
| Returns the Executor of the object. More... | |
Public Member Functions inherited from gko::log::EnableLogging< PolymorphicObject > | |
| void | add_logger (std::shared_ptr< const Logger > logger) override |
| void | remove_logger (const Logger *logger) override |
| void | remove_logger (ptr_param< const Logger > logger) |
| const std::vector< std::shared_ptr< const Logger > > & | get_loggers () const override |
| void | clear_loggers () override |
Public Member Functions inherited from gko::log::Loggable | |
| void | remove_logger (ptr_param< const Logger > logger) |
Static Public Member Functions | |
| static parameters_type | build () |
| Creates a new parameter_type to set up the factory. | |
| static parameters_type | parse (const config::pnode &config, const config::registry &context, const config::type_descriptor &td_for_child=config::make_type_descriptor< ValueType, IndexType >()) |
| Create the parameters from the property_tree. More... | |
Friends | |
| class | enable_parameters_type< parameters_type, Cholesky > |
Computes a Cholesky factorization of a symmetric, positive-definite sparse matrix.
This LinOpFactory returns a Factorization storing the L and L^H factors for the provided system matrix in matrix::Csr format. If no symbolic factorization is provided, it will be computed first. It expects all fill-in entries to be present in the symbolic factorization. If the symbolic factorization is missing some entries, please refer to Ic.
| ValueType | the type used to store values of the system matrix |
| IndexType | the type used to store sparsity pattern indices of the system matrix |
| std::unique_ptr<factorization_type> gko::experimental::factorization::Cholesky< ValueType, IndexType >::generate | ( | std::shared_ptr< const LinOp > | system_matrix | ) | const |
|
inline |
Returns the parameters used to construct the factory.
|
inline |
Returns the parameters used to construct the factory.
|
static |
Create the parameters from the property_tree.
Because this is directly tied to the specific type, the value/index type settings within config are ignored and type_descriptor is only used for children configs.
| config | the property tree for setting |
| context | the registry |
| td_for_child | the type descriptor for children configs. The default uses the value/index type of this class. |
1.8.16