Classes | Macros | Functions | Variables
dy_vector.h File Reference
#include <DylpConfig.h>
#include <ctype.h>
#include "dylib_std.h"
#include <math.h>
Include dependency graph for dy_vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  fpunion_t
 
struct  pkcoeff_struct
 
struct  pkvec_struct
 

Macros

#define quiet_nan(zz_dummy_zz)   (QNaNbits.fpdbl)
 
#define HUGE_VAL   (Infbits.fpdbl)
 
#define finite   DYLP_ISFINITE
 
#define isnan   DYLP_ISNAN
 

Functions

pkvec_structpkvec_new (int sze)
 
bool pkvec_resize (pkvec_struct *pkvec, int sze)
 
void pkvec_free (pkvec_struct *pkvec)
 
bool pkvec_check (pkvec_struct *pkvec, const char *caller)
 
double pkvec_2norm (pkvec_struct *vec)
 
double exvec_1norm (double *vec, int len)
 
double exvec_ssq (double *vec, int len)
 
double exvec_2norm (double *vec, int len)
 
double exvec_infnorm (double *vec, int len, int *p_jmax)
 
double pkvec_dotexvec (pkvec_struct *pkvec, double *exvec)
 

Variables

static fpunion_t QNaNbits UNUSED
 

Macro Definition Documentation

◆ quiet_nan

#define quiet_nan (   zz_dummy_zz)    (QNaNbits.fpdbl)

Definition at line 168 of file dy_vector.h.

◆ HUGE_VAL

#define HUGE_VAL   (Infbits.fpdbl)

Definition at line 177 of file dy_vector.h.

◆ finite

#define finite   DYLP_ISFINITE

Definition at line 195 of file dy_vector.h.

◆ isnan

#define isnan   DYLP_ISNAN

Definition at line 198 of file dy_vector.h.

Function Documentation

◆ pkvec_new()

pkvec_struct* pkvec_new ( int  sze)

◆ pkvec_resize()

bool pkvec_resize ( pkvec_struct pkvec,
int  sze 
)

◆ pkvec_free()

void pkvec_free ( pkvec_struct pkvec)

◆ pkvec_check()

bool pkvec_check ( pkvec_struct pkvec,
const char *  caller 
)

◆ pkvec_2norm()

double pkvec_2norm ( pkvec_struct vec)

◆ exvec_1norm()

double exvec_1norm ( double *  vec,
int  len 
)

◆ exvec_ssq()

double exvec_ssq ( double *  vec,
int  len 
)

◆ exvec_2norm()

double exvec_2norm ( double *  vec,
int  len 
)

◆ exvec_infnorm()

double exvec_infnorm ( double *  vec,
int  len,
int *  p_jmax 
)

◆ pkvec_dotexvec()

double pkvec_dotexvec ( pkvec_struct pkvec,
double *  exvec 
)

Variable Documentation

◆ UNUSED

fpunion_t Infbits UNUSED
static
Initial value:
= { { (unsigned char) '\376',
(unsigned char) '\377',
(unsigned char) '\377',
(unsigned char) '\377',
(unsigned char) '\377',
(unsigned char) '\377',
(unsigned char) '\377',
(unsigned char) '\177' } }

Definition at line 137 of file dy_vector.h.