Debugged vector version of ProjectOnGroup

This commit is contained in:
neo committed 2015-07-06 02:24:58 +09:00
1 parent 7a4ed7a867
commit 6261770f59
10 files changed
+89 -26

No files matched your search

+5
View File
@@ -94,6 +94,11 @@ namespace Grid {
inline Grid_simd<S,V> rsqrt(const Grid_simd<S,V> &r) {
return SimdApply(RSqrtRealFunctor<S>(),r);
}
template < class Scalar >
inline Scalar rsqrt(const Scalar &r) {
return (RSqrtRealFunctor<Scalar>(),r);
}
template < class S, class V >
inline Grid_simd<S,V> cos(const Grid_simd<S,V> &r) {
return SimdApply(CosRealFunctor<S>(),r);