RTOp_ROp_log_bound_barrier.h File Reference

#include "RTOp.h"
#include "RTOp_obj_value_vtbl.h"

Include dependency graph for RTOp_ROp_log_bound_barrier.h:

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

Go to the source code of this file.
int RTOp_ROp_log_bound_barrier_construct (struct RTOp_RTOp *op)
int RTOp_ROp_log_bound_barrier_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_log_bound_barrier_val (RTOp_ReductTarget reduct_obj)
RTOp_RTOp_vtbl_t RTOp_ROp_log_bound_barrier_vtbl


Detailed Description

This operator computes the log barrier term for the doubly bounded inequalities:
 xl <= x < xu
 
The barrier is computed as:
 sum{ log( x(i) - xl(i) ) + log( xu(i) - x(i) ) , for i = 1...n }
 
To call this operator you must pass in the vectors in the order: v0 = x, v1 = xl, v2 = xu.

The operation performed is:

 element-wise reduction : log_result += log(v0(i) - v1(i)) + log(v2(i) - v0(i)), i = 1...n
 

This operator class implementation was created automatically by 'new_rtop.pl'.

ToDo: Write the documentation for this class!

Definition in file RTOp_ROp_log_bound_barrier.h.


Function Documentation

int RTOp_ROp_log_bound_barrier_construct ( struct RTOp_RTOp op  ) 

Definition at line 131 of file RTOp_ROp_log_bound_barrier.c.

int RTOp_ROp_log_bound_barrier_destroy ( struct RTOp_RTOp op  ) 

Definition at line 142 of file RTOp_ROp_log_bound_barrier.c.

RTOp_value_type RTOp_ROp_log_bound_barrier_val ( RTOp_ReductTarget  reduct_obj  ) 

Definition at line 151 of file RTOp_ROp_log_bound_barrier.c.


Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_ROp_log_bound_barrier_vtbl

Definition at line 118 of file RTOp_ROp_log_bound_barrier.c.


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