transform_obj_power.c File Reference

Implementation of raising the objective value to the power of a given exponent. More...

#include <assert.h>
#include <math.h>
#include "coco.h"
#include "coco_problem.c"

Data Structures

struct  transform_obj_power_data_t
 Data type for transform_obj_power. More...
 

Functions

static void transform_obj_power_evaluate (coco_problem_t *problem, const double *x, double *y)
 Evaluates the transformation. More...
 
static coco_problem_ttransform_obj_power (coco_problem_t *inner_problem, const double exponent)
 Creates the transformation. More...
 

Detailed Description

Implementation of raising the objective value to the power of a given exponent.

Function Documentation

static coco_problem_t* transform_obj_power ( coco_problem_t inner_problem,
const double  exponent 
)
static

Creates the transformation.

static void transform_obj_power_evaluate ( coco_problem_t problem,
const double *  x,
double *  y 
)
static

Evaluates the transformation.