Thanks, vanhees71, for your explanation. Your notes in the link are a bit too advanced for a junior student. Hopefully I will get there later. Is there any chance to explain in a simplified language? To be more specific, my problem arises from calculating, for example, the inner product of two...