mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-04 06:58:05 +01:00
Debugged vector version of ProjectOnGroup
This commit is contained in:
1 parent
7a4ed7a867
commit
6261770f59
10 files changed
+89
-26
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user