diff --git a/wpimath/src/main/java/edu/wpi/first/math/Matrix.java b/wpimath/src/main/java/edu/wpi/first/math/Matrix.java index c3f796ed0f..cd77283649 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/Matrix.java +++ b/wpimath/src/main/java/edu/wpi/first/math/Matrix.java @@ -645,23 +645,6 @@ public class Matrix { return new Matrix<>(SimpleMatrix.identity(Objects.requireNonNull(dim).getNum())); } - /** - * Entrypoint to the {@link MatBuilder} class for creation of custom matrices with the given - * dimensions and contents. - * - * @param rows The number of rows of the desired matrix. - * @param cols The number of columns of the desired matrix. - * @param The number of rows of the desired matrix as a generic. - * @param The number of columns of the desired matrix as a generic. - * @return A builder to construct the matrix. - * @deprecated Use {@link MatBuilder#fill} instead. - */ - @Deprecated(since = "2024", forRemoval = true) - @SuppressWarnings("removal") - public static MatBuilder mat(Nat rows, Nat cols) { - return new MatBuilder<>(Objects.requireNonNull(rows), Objects.requireNonNull(cols)); - } - /** * Reassigns dimensions of a {@link Matrix} to allow for operations with other matrices that have * wildcard dimensions.