Skip to content

num::kernel::matvec_transpose_into_complex

Defined in header <kernel/complex.hpp>

template <std::floating_point T, class In>
void matvec_transpose_into_complex(std::complex<T> *x, const T *Q, const In *y, idx m,
                                   idx n) noexcept;

Mixed transpose product \(x = Q^T y\) with a real matrix and complex result. The input scalar is a separate parameter, so y may be real or complex.

Parameters

  • x: Output, length n.
  • Q: Real matrix, m*n row-major.
  • y: Input, length m, real or complex.
  • m: Number of rows in Q.
  • n: Number of columns in Q.