, dims=None, name=None)

Dot product

  • ndvar (NDVar) – Second NDVar, has to have at least the dimension dim.

  • dims (str | Sequence[str]) – Dimension(s) over which to compute the dot product (default is the last dimension shared with ndvar).

  • name (str) – Name of the output NDVar (default is

Return type:

NDVar | Var | float


Compute the first 6 DSS components:

>>> to_dss, from_dss = dss(x)
>>> x_dss_6 = to_dss[:6].dot(x, 'sensor')