Execute the given fn (which should contain validation rules) against the given matrix.
In general it is preferable to use the other verison of this function that lets you specify a name. All matrices that are validated with this method will appear in the error message with the name "matrix"
Execute the given fn (which should contain validation rules) against the given matrix with the given name.
name - Name of the matrix to report in validation error messages.
operator fun invoke():