Template Function Pennylane::LightningQubit::Util::vecMatrixProd(const std::vector<T, AllocA>&, const std::vector<T, AllocB>&, std::size_t, std::size_t)¶
Defined in File LinearAlgebra.hpp
Function Documentation¶
-
template<class T, class AllocA, class AllocB>
inline auto Pennylane::LightningQubit::Util::vecMatrixProd(const std::vector<T, AllocA> &v_in, const std::vector<T, AllocB> &mat, std::size_t m, std::size_t n) -> std::vector<T>¶ Calculates the vector-matrix product using the best available method.
See also
inline void vecMatrixProd(const T *v_in, const T *mat, T *v_out, std::size_t m, std::size_t n)
api/function_LinearAlgebra_8hpp_1a2c078b58aa47ef84f9088fb5a43ae4f6
Download Python script
Download Notebook
View on GitHub