RTOp_ROp_find_nan_inf.h File Reference

#include "RTOp.h"

Include dependency graph for RTOp_ROp_find_nan_inf.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  RTOp_ROp_find_nan_inf_reduct_obj_t
int RTOp_ROp_find_nan_inf_construct (struct RTOp_RTOp *op)
int RTOp_ROp_find_nan_inf_destroy (struct RTOp_RTOp *op)
RTOp_ROp_find_nan_inf_reduct_obj_t RTOp_ROp_find_nan_inf_val (RTOp_ReductTarget targ_obj)
RTOp_RTOp_vtbl_t RTOp_ROp_find_nan_inf_vtbl

Detailed Description

Reduction operator that looks for the first element that is NaN or Inf and returns this index!

targ_obj <- { (v0_i,i) | RTOp_in_nan_inf(v[0](i)) }

This operator is defined to allow exactly one vecto arguments (num_vecs == 1) v[0] but can handle sparse or dense vectors. The element with the lowest index is selected so that the reduction object returned will be unique for a given vector.

Definition in file RTOp_ROp_find_nan_inf.h.

Function Documentation

int RTOp_ROp_find_nan_inf_construct ( struct RTOp_RTOp op  ) 

Definition at line 126 of file RTOp_ROp_find_nan_inf.c.

int RTOp_ROp_find_nan_inf_destroy ( struct RTOp_RTOp op  ) 

Definition at line 133 of file RTOp_ROp_find_nan_inf.c.

struct RTOp_ROp_find_nan_inf_reduct_obj_t RTOp_ROp_find_nan_inf_val ( RTOp_ReductTarget  targ_obj  ) 

Extract the number offending element.

If return.i == 0 then no element was found to be NaN or Inf.

Definition at line 141 of file RTOp_ROp_find_nan_inf.c.

Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_ROp_find_nan_inf_vtbl

Generated on Tue Jul 13 09:34:39 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7