pymc.math.trace#

pymc.math.trace(X)[source]#

Returns the sum of diagonal elements of matrix X.