Jieping Ye. Generalized Low Rank Approximations of Matrices.
Program:
GLRAM.m
(written in MATLAB)