protected static mat zeros(int size) { return Matrix.Square(size, 0.0); } /// <summary>Creates a unit matrix.</summary>