Evaluate py = -inv(C)c and/or D = inv(C)N for the example NLP.
[Reduction/Transformation operators for example NLP subclass.]


Functions

int RTOp_TOp_explnlp2_calc_py_D_construct (int task, struct RTOp_RTOp *op)
int RTOp_TOp_explnlp2_calc_py_D_set_task (int task, struct RTOp_RTOp *op)
int RTOp_TOp_explnlp2_calc_py_D_destroy (struct RTOp_RTOp *op)

Variables

const struct RTOp_RTOp_vtbl_t RTOp_TOp_explnlp2_calc_py_D_vtbl

Detailed Description

This operator performs the following:

 task = 0 (py only, num_vecs = 2, num_targ_vecs = 1):
     py(i) <- c(i) / ( 1.0 - xI(i) ), i = 1...n
     where: xD = vec[0], c = vec[1], py = targ_vec[0]
 task = 1 (D only, num_vecs = 2, num_targ_vecs = 1):
     d(i) <-(xD(i) - 10.0) / (1.0 - xI(i)), i = 1...n
     where:  xD = vec[0], xI = vec[1], d = targ_vec[0]
 task = 2 (py and D, num_vecs = 3, num_targ_ves = 2)
     py(i) = c(i) / ( 1.0 - xI(i) ), i = 1...n
     d(i) = (xD(i) - 10.0) / (1.0 - xI(i)), i = 1...n
     where: xD = vec[0], xI = vec[1], c = vec[2], d = targ_vec[0], py = targ_vec[1]
 

Function Documentation

int RTOp_TOp_explnlp2_calc_py_D_construct int  task,
struct RTOp_RTOp op
 

Constructor (task = 0, 1 or 2)

Definition at line 272 of file ExampleNLPDirectRTOps.c.

int RTOp_TOp_explnlp2_calc_py_D_set_task int  task,
struct RTOp_RTOp op
 

Set the task

Definition at line 289 of file ExampleNLPDirectRTOps.c.

int RTOp_TOp_explnlp2_calc_py_D_destroy struct RTOp_RTOp op  ) 
 

Destructor

Definition at line 299 of file ExampleNLPDirectRTOps.c.


Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_explnlp2_calc_py_D_vtbl
 

Virtual function table

Definition at line 261 of file ExampleNLPDirectRTOps.c.


Generated on Thu Sep 18 12:36:06 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1