HF pinv to inv