utilities#
Module path: cuqi.utilities
Functions
Approximates the derivative of callable (possibly vector-valued) function func evaluated at point wrt. |
|
Approximates the gradient of callable scalar function func evaluated at point x. |
|
Check if a distribution is conditional from a given attribute. |
|
Returns the non-default arguments and kwargs from a callable function |
|
Get writeable attributes of object instance. |
|
Get writeable properties of class type. |
|
Infer the length of the given input value. |
|
Plot 1D density function |
|
Plot 2D density function |
|
Computes Cholesky factorization for sparse matrix A and returns the upper triangular factor U, where A=U^T@U |
Classes
Problem info dataclass. |