--- AuxFun for adding knots ---# ------------------------# Function mean squared error 'mse' For a given vector x, the function 'mse' returns the the mean squared error, mse measures the average of the squares of the errors

mse(x)

Arguments

x

data of an n x nx matrix, where n is number of samples (rows) and nx reperesents the grid size