parameters: (A)
return_statement: return ld
docstring: Compute log(det(A)) for A symmetric
  
      Equivalent to : np.log(nl.det(A)) but more robust.
      It returns -Inf if det(A) is non positive or is not defined.
docstring_summary: Compute log(det(A)) for A symmetric
docstring_tokens: Compute log ( det ( A )) for A symmetric
function: def fast_logdet(A):
      """Compute log(det(A)) for A symmetric
  
      Equivalent to : np.log(nl.det(A)) but more robust.
      It returns -Inf if det(A) is non positive or is not defined.
      """
      sign, ld = np.linalg.slogdet(A)
      if not sign > 0:
          return -np.inf
      return ld
function_tokens: def fast_logdet ( A ) : sign , ld = np . linalg . slogdet ( A ) if not sign > 0 : return - np . inf return ld