RTOp_TOp_sign.h File Reference

#include "RTOp.h"
#include "RTOp_obj_null_vtbl.h"
Include dependency graph for RTOp_TOp_sign.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

struct RTOp_RTOp_vtbl_t RTOp_TOp_sign_vtbl
int RTOp_TOp_sign_construct (struct RTOp_RTOp *op)
int RTOp_TOp_sign_destroy (struct RTOp_RTOp *op)

Detailed Description

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

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


                /  -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.

Function Documentation

int RTOp_TOp_sign_construct ( struct RTOp_RTOp op  ) 

Definition at line 112 of file RTOp_TOp_sign.c.

int RTOp_TOp_sign_destroy ( struct RTOp_RTOp op  ) 

Definition at line 123 of file RTOp_TOp_sign.c.

Variable Documentation

Definition at line 99 of file RTOp_TOp_sign.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:17:00 2011 for MOOCHO (Single Doxygen Collection) by  doxygen 1.6.3