Semi-inner Products and Applications