Definition:Square Function