trace# static vectorious.trace(x)# Gets the trace of x (the sum of all diagonal elements). Arguments: x (NDArray) Returns: Number – Examples: import { trace } from 'vectorious/core/trace'; trace([[1, 2], [3, 4]]); // => 5