copy

CholeskyFactor.copy()[source]

Return a copy of the CholeskyFactor object.

This method creates a deep copy of the CholeskyFactor object, including the CHOLMOD common struct and the factor itself.

This method does not copy all of the underlying cholmod_common struct, only the parts that are necessary for using the factor.

Returns:

CholeskyFactor – A deep copy of the CholeskyFactor object.