<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pddet(A):
 """ Determinant of a positive definite matrix, only symmetric matricies though """

    L = jitchol(A)
    logdetA = 2*sum(np.log(np.diag(L)))
    return logdetA