MOOCHO
Version of the Day
|
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 |
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]
int RTOp_TOp_explnlp2_calc_py_D_construct | ( | int | task, |
struct RTOp_RTOp * | op | ||
) |
Constructor (task = 0, 1 or 2)
Definition at line 285 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 302 of file ExampleNLPDirectRTOps.c.
int RTOp_TOp_explnlp2_calc_py_D_destroy | ( | struct RTOp_RTOp * | op | ) |
Destructor
Definition at line 312 of file ExampleNLPDirectRTOps.c.
const struct RTOp_RTOp_vtbl_t RTOp_TOp_explnlp2_calc_py_D_vtbl |
Virtual function table
Definition at line 274 of file ExampleNLPDirectRTOps.c.