Computer algorithms PSD