inerroi

Computes the inner product on ROI.

Contents

Syntax

i = innerroi(x,y,seti)

Description

innerroi(x,y,seti) computes the inner product on the region of interest from two complex vectors x, y.

Input Arguments

Output Arguments

i : inner product on ROI, see More About.

More About

The inner product is, see [1, Sec. 3.6, eq. (33)]:

$\langle x, y \rangle_\mathrm{roi} = h_N^d \sum_i x_i \overline{y_i}$

with $h_N^d = \texttt{seti.dV}$ for $x,y \in \bf{C}^{N_d}$ with $N_D = \texttt{seti.nROI}^\texttt{seti.dim}$.

References

See Also

Code

function i = innerroi(x,y,seti)
i = (y'*x)*seti.dV;
end