function y = square(x)
%SQUARE Node. Calculates the element by element square of a vector or matrix
%
%   Y = SQUARE(X) performs the operation Y = X.^2
%
%   Copyright (c) 2009-2015 Dominic Searson
%
%   GPTIPS 2
%
%   See also CUBE
y = x.^2;
