utils
Classes
|
Functions
|
Creates masks for converting from the full vector of bounds that may contain -np.inf or np.inf to a vector of bounds that are finite only. |
Creates masks for converting from the full vector of values to the vector that contains only the finite values. |
|
|
Return a sparse matrix CM of ones such that compressed_vector = CM*full_vector based on the compression mask |
|
|
|
|
This function takes a symmetric matrix that only has entries in the lower triangle and makes is a full matrix by duplicating the entries |