RTOp_ROp_norms.c File Reference

#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

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)
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)
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

const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_1_vtbl
const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_2_vtbl
const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_inf_vtbl


Define Documentation

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

Definition at line 37 of file RTOp_ROp_norms.c.


Function Documentation

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 41 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_1_construct struct RTOp_RTOp op  ) 
 

Definition at line 94 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_1_val RTOp_ReductTarget  targ_obj  ) 
 

Definition at line 101 of file RTOp_ROp_norms.c.

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 111 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_2_construct struct RTOp_RTOp op  ) 
 

Definition at line 163 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_2_val RTOp_ReductTarget  targ_obj  ) 
 

Definition at line 170 of file RTOp_ROp_norms.c.

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 180 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_inf_construct struct RTOp_RTOp op  ) 
 

Definition at line 232 of file RTOp_ROp_norms.c.

RTOp_value_type RTOp_ROp_norm_inf_val RTOp_ReductTarget  targ_obj  ) 
 

Definition at line 239 of file RTOp_ROp_norms.c.

int RTOp_ROp_norm_destroy struct RTOp_RTOp op  ) 
 

Definition at line 249 of file RTOp_ROp_norms.c.


Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_1_vtbl
 

Initial value:

{
  &RTOp_obj_null_vtbl   
  ,&RTOp_obj_value_vtbl 
  ,"RTOp_ROp_norm_1"
  ,NULL
  ,RTOp_ROp_norms_apply_op_norm_1
  ,RTOp_reduct_sum_value
  ,RTOp_get_reduct_sum_value_op
}

Definition at line 83 of file RTOp_ROp_norms.c.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_2_vtbl
 

Initial value:

{
  &RTOp_obj_null_vtbl   
  ,&RTOp_obj_value_vtbl 
  ,"RTOp_ROp_norm_2"
  ,NULL
  ,RTOp_ROp_norms_apply_op_norm_2
  ,RTOp_reduct_sum_value
  ,RTOp_get_reduct_sum_value_op
}

Definition at line 152 of file RTOp_ROp_norms.c.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_norm_inf_vtbl
 

Initial value:

{
  &RTOp_obj_null_vtbl  
  ,&RTOp_obj_value_vtbl 
  ,"RTOp_ROp_norm_inf"
  ,NULL
  ,RTOp_ROp_norms_apply_op_norm_inf
  ,RTOp_reduct_max_value
  ,RTOp_get_reduct_max_value_op
}

Definition at line 221 of file RTOp_ROp_norms.c.


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