Lines Matching refs:amp

47     void generatereflection(ap::template_1d_array< amp::ampf<Precision> >& x,
49 amp::ampf<Precision>& tau);
51 void applyreflectionfromtheleft(ap::template_2d_array< amp::ampf<Precision> >& c,
52 amp::ampf<Precision> tau,
53 const ap::template_1d_array< amp::ampf<Precision> >& v,
58 ap::template_1d_array< amp::ampf<Precision> >& work);
60 void applyreflectionfromtheright(ap::template_2d_array< amp::ampf<Precision> >& c,
61 amp::ampf<Precision> tau,
62 const ap::template_1d_array< amp::ampf<Precision> >& v,
67 ap::template_1d_array< amp::ampf<Precision> >& work);
112 void generatereflection(ap::template_1d_array< amp::ampf<Precision> >& x, in generatereflection()
114 amp::ampf<Precision>& tau) in generatereflection()
117 amp::ampf<Precision> alpha; in generatereflection()
118 amp::ampf<Precision> xnorm; in generatereflection()
119 amp::ampf<Precision> v; in generatereflection()
120 amp::ampf<Precision> beta; in generatereflection()
121 amp::ampf<Precision> mx; in generatereflection()
141 mx = amp::maximum<Precision>(amp::abs<Precision>(x(j)), mx); in generatereflection()
148 xnorm = xnorm+amp::sqr<Precision>(x(j)/mx); in generatereflection()
150 xnorm = amp::sqrt<Precision>(xnorm)*mx; in generatereflection()
165 mx = amp::maximum<Precision>(amp::abs<Precision>(alpha), amp::abs<Precision>(xnorm)); in generatereflection()
166 … beta = -mx*amp::sqrt<Precision>(amp::sqr<Precision>(alpha/mx)+amp::sqr<Precision>(xnorm/mx)); in generatereflection()
207 void applyreflectionfromtheleft(ap::template_2d_array< amp::ampf<Precision> >& c, in applyreflectionfromtheleft()
208 amp::ampf<Precision> tau, in applyreflectionfromtheleft()
209 const ap::template_1d_array< amp::ampf<Precision> >& v, in applyreflectionfromtheleft()
214 ap::template_1d_array< amp::ampf<Precision> >& work) in applyreflectionfromtheleft()
216 amp::ampf<Precision> t; in applyreflectionfromtheleft()
280 void applyreflectionfromtheright(ap::template_2d_array< amp::ampf<Precision> >& c, in applyreflectionfromtheright()
281 amp::ampf<Precision> tau, in applyreflectionfromtheright()
282 const ap::template_1d_array< amp::ampf<Precision> >& v, in applyreflectionfromtheright()
287 ap::template_1d_array< amp::ampf<Precision> >& work) in applyreflectionfromtheright()
289 amp::ampf<Precision> t; in applyreflectionfromtheright()