What is the @ symbol used for in Octave?
For example, in the code:
[theta, cost] = fminunc(@(t)(costFunction(t, X, y)), initial_theta, options);
I have a general understanding of what the code is doing but I don't get what the @(t)
is there for. I've looked around the octave documentation but the @
symbol seems to be a hard term to search for.