Before revision:  This investigation is motivated by a PDE-constrained optimization problem , but the theory is developed in terms of Euclidean spaces.
After revision:  This investigation is motivated by a PDE-constrained optimization problems arising in connection with ECG and EEG recordings , but the theory is developed in terms of Euclidean spaces.