diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-07-04 15:34:24 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-07-04 15:34:24 -0400 |
commit | 5941fd3d7816669eee6dd078a3f8711f7e691d47 (patch) | |
tree | d704d8e756dae6c016e73c3b9543fe903690fc31 /vec_sse_float1.h | |
parent | 8d00c5fb205e9df9c8899910ab4528bbbd2f2d4d (diff) | |
download | vecmathlib-5941fd3d7816669eee6dd078a3f8711f7e691d47.zip vecmathlib-5941fd3d7816669eee6dd078a3f8711f7e691d47.tar.gz |
Implement maxval and minval reduction operations
Diffstat (limited to 'vec_sse_float1.h')
-rw-r--r-- | vec_sse_float1.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vec_sse_float1.h b/vec_sse_float1.h index e7a277d..a439a02 100644 --- a/vec_sse_float1.h +++ b/vec_sse_float1.h @@ -363,8 +363,10 @@ namespace vecmathlib { realvec& operator*=(realvec const& x) { return *this=*this*x; } realvec& operator/=(realvec const& x) { return *this=*this/x; } - real_t prod() const { return v; } - real_t sum() const { return v; } + real_t maxval() const { return *this; } + real_t minval() const { return *this; } + real_t prod() const { return *this; } + real_t sum() const { return *this; } |