Template Function Pennylane::Util::approx(const std::vector<T, Alloc>&)

Function Documentation

template<typename T, class Alloc>
PLApprox<T, Alloc> Pennylane::Util::approx(const std::vector<T, Alloc> &vec)

Simple helper for PLApprox for the cases when the class template deduction does not work well.