diff --git a/libsrc/core/array.hpp b/libsrc/core/array.hpp index 20139061..138d615f 100644 --- a/libsrc/core/array.hpp +++ b/libsrc/core/array.hpp @@ -658,7 +658,13 @@ namespace ngcore return true; } - + template + inline bool operator!= (const FlatArray & a1, + const FlatArray & a2) + { + return !(a1==a2); + } + /** Dynamic array container. diff --git a/libsrc/core/simd_arm64.hpp b/libsrc/core/simd_arm64.hpp index f2572d34..f5bf694f 100644 --- a/libsrc/core/simd_arm64.hpp +++ b/libsrc/core/simd_arm64.hpp @@ -117,9 +117,15 @@ namespace ngcore { // return SIMD (a[0]+a[1], b[0]+b[1]); return vpaddq_f64(a.Data(), b.Data()); - } + NETGEN_INLINE SIMD HSum(SIMD a, SIMD b, SIMD c, SIMD d) + { + return SIMD (HSum(a,b), HSum(c,d)); + } + + + // a*b+c NETGEN_INLINE SIMD FMA (SIMD a, SIMD b, SIMD c) {