# Multiply cv::Mat and std::vector<cv::Point2f>

Hi,

So I have a matrix **cv::Mat M (NxN)** and a vector of Points **std::vector< cv::Point2f > Vec (Nx2).**

How can I perform a multiplication between these two elements: **M x Vec = P**, and have a final vector **std::vector< cv::Point2f > P (Nx2)**??

Thank you!