Home
last modified time | relevance | path

Searched refs:Qroots (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/math/example/
Ddaubechies_coefficients.cpp140 std::vector<std::pair<Complex, Complex>> Qroots(p-1); in find_roots() local
141 for (size_t i = 0; i < Qroots.size(); ++i) in find_roots()
146 Qroots[i] = {z1, z2}; in find_roots()
149 return Qroots; in find_roots()
153 …mplex::value_type> daubechies_coefficients(std::vector<std::pair<Complex, Complex>> const & Qroots) in daubechies_coefficients() argument
156 size_t p = Qroots.size() + 1; in daubechies_coefficients()
161 if(norm(Qroots[i].first) <= 1) in daubechies_coefficients()
163 chosen_roots[i] = Qroots[i].first; in daubechies_coefficients()
167 BOOST_ASSERT(norm(Qroots[i].second) <= 1); in daubechies_coefficients()
168 chosen_roots[i] = Qroots[i].second; in daubechies_coefficients()
/third_party/boost/libs/math/example/daubechies_wavelets/
Ddaubechies_coefficients.cpp148 std::vector<std::pair<Complex, Complex>> Qroots(p-1); in find_roots() local
149 for (size_t i = 0; i < Qroots.size(); ++i) in find_roots()
154 Qroots[i] = {z1, z2}; in find_roots()
157 return Qroots; in find_roots()
161 …mplex::value_type> daubechies_coefficients(std::vector<std::pair<Complex, Complex>> const & Qroots) in daubechies_coefficients() argument
164 size_t p = Qroots.size() + 1; in daubechies_coefficients()
169 if(norm(Qroots[i].first) <= 1) in daubechies_coefficients()
171 chosen_roots[i] = Qroots[i].first; in daubechies_coefficients()
175 BOOST_ASSERT(norm(Qroots[i].second) <= 1); in daubechies_coefficients()
176 chosen_roots[i] = Qroots[i].second; in daubechies_coefficients()