trace

function trace(S:LLT) -> Real

Trace of a symmetric positive-definite matrix.

function trace(X:Real[_,_]) -> Real

Trace of a matrix.