MOOCHO (Single Doxygen Collection) Version of the Day
Defines | Functions | Variables
RTOp_ROp_norms.c File Reference
#include <math.h>
#include "RTOp_ROp_norms.h"
#include "RTOp_obj_null_vtbl.h"
#include "RTOp_obj_value_vtbl.h"
#include "RTOp_reduct_sum_value.h"
#include "RTOp_reduct_max_value.h"
Include dependency graph for RTOp_ROp_norms.c:

Go to the source code of this file.

Defines

#define MY_MAX(a, b)   a > b ? a : b

Functions

static int RTOp_ROp_norms_apply_op_norm_1 (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
int RTOp_ROp_norm_1_construct (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_norm_1_val (RTOp_ReductTarget targ_obj)
static int RTOp_ROp_norms_apply_op_norm_2 (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
int RTOp_ROp_norm_2_construct (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_norm_2_val (RTOp_ReductTarget targ_obj)
static int RTOp_ROp_norms_apply_op_norm_inf (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
int RTOp_ROp_norm_inf_construct (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_norm_inf_val (RTOp_ReductTarget targ_obj)
int RTOp_ROp_norm_destroy (struct RTOp_RTOp *op)

Variables

struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_1_vtbl
struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_2_vtbl
struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_inf_vtbl

Define Documentation

#define MY_MAX (   a,
 
)    a > b ? a : b

Definition at line 52 of file RTOp_ROp_norms.c.


Function Documentation

static int RTOp_ROp_norms_apply_op_norm_1 ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  targ_obj 
) [static]

Definition at line 56 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_1_construct ( struct RTOp_RTOp op)

Definition at line 109 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_1_val ( RTOp_ReductTarget  targ_obj)

Definition at line 116 of file RTOp_ROp_norms.c.

static int RTOp_ROp_norms_apply_op_norm_2 ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  targ_obj 
) [static]

Definition at line 126 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_2_construct ( struct RTOp_RTOp op)

Definition at line 178 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_2_val ( RTOp_ReductTarget  targ_obj)

Definition at line 185 of file RTOp_ROp_norms.c.

static int RTOp_ROp_norms_apply_op_norm_inf ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  targ_obj 
) [static]

Definition at line 195 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_inf_construct ( struct RTOp_RTOp op)

Definition at line 247 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_inf_val ( RTOp_ReductTarget  targ_obj)

Definition at line 254 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_destroy ( struct RTOp_RTOp op)

Definition at line 264 of file RTOp_ROp_norms.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines