Collection of Concrete Vector Reduction/Transformation Operator Implementations  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RTOpPack_TOpReciprocal.hpp
1 // @HEADER
2 // *****************************************************************************
3 // RTOp: Interfaces and Support Software for Vector Reduction Transformation
4 // Operations
5 //
6 // Copyright 2006 NTESS and the RTOp contributors.
7 // SPDX-License-Identifier: BSD-3-Clause
8 // *****************************************************************************
9 // @HEADER
10 
11 #ifndef RTOPPACK_TOP_RECIPROCAL_HPP
12 #define RTOPPACK_TOP_RECIPROCAL_HPP
13 
14 #include "RTOpPack_RTOpTHelpers.hpp"
15 
16 
17 namespace RTOpPack {
18 
19 
23 RTOP_TOP_1_1( TOpReciprocal )
24 {
25  z0 = ScalarTraits<Scalar>::one() / v0;
26 }
27 
28 
29 } // namespace RTOpPack
30 
31 
32 #endif // RTOPPACK_TOP_RECIPROCAL_HPP