RTOp_TOp_sign.h File Reference

#include "RTOp.h"
#include "RTOp_obj_null_vtbl.h"
Include dependency graph for RTOp_TOp_sign.h:

Go to the source code of this file.


Detailed Description

This operator computes the sign of each element in v0 as:

  z0(i) = sign(v0(i)), for i = 1...n
 

where

                /  -1.0 : if alpha  < 0.0
 sign(alpha) =  |   0.0 : if alpha == 0.0
                \  +1.0 : if alpha  > 0.0
 

Definition in file RTOp_TOp_sign.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Generated on Wed Apr 13 10:09:10 2011 for RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators by  doxygen 1.6.3