C++ main module for mmsd Package  1.0
Functions
dvector_functions.cpp File Reference
#include "dvector_functions.h"
Include dependency graph for dvector_functions.cpp:

Functions

void F77NAME() daxpy (const lapack_int *n, const lapack_real *alpha, const lapack_real *dx, const lapack_int *incx, lapack_real *dy, const lapack_int *incy)
 
lapack_int F77NAME() idamax (const lapack_int *n, const lapack_real *dx, const lapack_int *incx)
 
lapack_real F77NAME() dasum (const lapack_int *n, const lapack_real *dx, const lapack_int *incx)
 
lapack_real F77NAME() dnrm2 (const lapack_int *n, const lapack_real *dx, const lapack_int *incx)
 
void F77NAME() dcopy (const lapack_int *n, const lapack_real *dx, const lapack_int *incx, lapack_real *dy, const lapack_int *incy)
 
void F77NAME() dswap (const lapack_int *n, lapack_real *dx, const lapack_int *incx, lapack_real *dy, const lapack_int *incy)
 
void F77NAME() dscal (const lapack_int *n, const lapack_real *f, lapack_real *dx, const lapack_int *incx)
 
void F77NAME() drot (const lapack_int *n, lapack_real *dx, const lapack_int *incx, lapack_real *dy, const lapack_int *incy, const lapack_real *c, const lapack_real *s)
 
void F77NAME() drotg (lapack_real *dx, lapack_real *dy, lapack_real *c, lapack_real *s)
 
lapack_real F77NAME() ddot (const lapack_int *n, const lapack_real *dx, const lapack_int *incx, const lapack_real *dy, const lapack_int *incy)
 
void DoubleVectorCopy (const tLVectorIndex &nx, const tLVectorIncrement &incx, const double *x, const tLVectorIncrement &incy, double *y)
 
void DoubleVectorAdd (const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *X, const double &alpha, const tLVectorIncrement &incY, double *Y)
 
void DoubleVectorScale (const tLVectorIndex &nX, const tLVectorIncrement &incX, double *X, const double &alpha)
 
double DoubleVectorDot (const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *X, const tLVectorIncrement &incY, const double *Y)
 
void DoubleVectorRotation (const tLVectorIndex &nX, const tLVectorIncrement &incX, double *X, const double &c, const double &s, const tLVectorIncrement &incY, double *Y)
 
void DoubleVectorRotationPlane (double &dx, double &dy, double &c, double &s)
 
void DoubleVectorSwap (const tLVectorIndex &nX, const tLVectorIncrement &incX, double *X, const tLVectorIncrement &incY, double *Y)
 
tLVectorIndex DoubleVectorIndexMax (const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *X)
 
double DoubleVectorNorm1 (const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x)
 
double DoubleVectorNorm2 (const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x)
 

Function Documentation

lapack_real F77NAME() dasum ( const lapack_int n,
const lapack_real dx,
const lapack_int incx 
)

Referenced by DoubleVectorNorm1().

Here is the caller graph for this function:

void F77NAME() daxpy ( const lapack_int n,
const lapack_real alpha,
const lapack_real dx,
const lapack_int incx,
lapack_real dy,
const lapack_int incy 
)

Referenced by DoubleVectorAdd().

Here is the caller graph for this function:

void F77NAME() dcopy ( const lapack_int n,
const lapack_real dx,
const lapack_int incx,
lapack_real dy,
const lapack_int incy 
)

Referenced by DoubleVectorCopy().

Here is the caller graph for this function:

lapack_real F77NAME() ddot ( const lapack_int n,
const lapack_real dx,
const lapack_int incx,
const lapack_real dy,
const lapack_int incy 
)

Referenced by DoubleVectorDot().

Here is the caller graph for this function:

lapack_real F77NAME() dnrm2 ( const lapack_int n,
const lapack_real dx,
const lapack_int incx 
)

Referenced by DoubleVectorNorm2().

Here is the caller graph for this function:

void DoubleVectorAdd ( const tLVectorIndex nX,
const tLVectorIncrement incX,
const double *  X,
const double &  alpha,
const tLVectorIncrement incY,
double *  Y 
)

References daxpy(), F77NAME, and lapack_int.

Referenced by LAP_DoubleVector::add().

Here is the call graph for this function:

Here is the caller graph for this function:

void DoubleVectorCopy ( const tLVectorIndex nx,
const tLVectorIncrement incx,
const double *  x,
const tLVectorIncrement incy,
double *  y 
)

References dcopy(), F77NAME, and lapack_int.

Referenced by LAP_DoubleVector::copy().

Here is the call graph for this function:

Here is the caller graph for this function:

double DoubleVectorDot ( const tLVectorIndex nX,
const tLVectorIncrement incX,
const double *  X,
const tLVectorIncrement incY,
const double *  Y 
)

References ddot(), F77NAME, and lapack_int.

Referenced by LAP_ConstDoubleVector::product(), and LAP_DoubleVector::product().

Here is the call graph for this function:

Here is the caller graph for this function:

tLVectorIndex DoubleVectorIndexMax ( const tLVectorIndex nX,
const tLVectorIncrement incX,
const double *  X 
)

References F77NAME, idamax(), and lapack_int.

Referenced by LAP_ConstDoubleVector::indexMax(), and LAP_DoubleVector::indexMax().

Here is the call graph for this function:

Here is the caller graph for this function:

double DoubleVectorNorm1 ( const tLVectorIndex nX,
const tLVectorIncrement incX,
const double *  x 
)

References dasum(), F77NAME, and lapack_int.

Referenced by LAP_ConstDoubleVector::norm1(), and LAP_DoubleVector::norm1().

Here is the call graph for this function:

Here is the caller graph for this function:

double DoubleVectorNorm2 ( const tLVectorIndex nX,
const tLVectorIncrement incX,
const double *  x 
)

References dnrm2(), F77NAME, and lapack_int.

Referenced by LAP_ConstDoubleVector::norm2(), and LAP_DoubleVector::norm2().

Here is the call graph for this function:

Here is the caller graph for this function:

void DoubleVectorRotation ( const tLVectorIndex nX,
const tLVectorIncrement incX,
double *  X,
const double &  c,
const double &  s,
const tLVectorIncrement incY,
double *  Y 
)

References drot(), F77NAME, and lapack_int.

Here is the call graph for this function:

void DoubleVectorRotationPlane ( double &  dx,
double &  dy,
double &  c,
double &  s 
)

References drotg(), and F77NAME.

Referenced by LAP_DoubleVector::buildRotation().

Here is the call graph for this function:

Here is the caller graph for this function:

void DoubleVectorScale ( const tLVectorIndex nX,
const tLVectorIncrement incX,
double *  X,
const double &  alpha 
)

References dscal(), F77NAME, and lapack_int.

Referenced by LAP_DoubleVector::scale().

Here is the call graph for this function:

Here is the caller graph for this function:

void DoubleVectorSwap ( const tLVectorIndex nX,
const tLVectorIncrement incX,
double *  X,
const tLVectorIncrement incY,
double *  Y 
)

References dswap(), F77NAME, and lapack_int.

Referenced by LAP_DoubleVector::swap().

Here is the call graph for this function:

Here is the caller graph for this function:

void F77NAME() drot ( const lapack_int n,
lapack_real dx,
const lapack_int incx,
lapack_real dy,
const lapack_int incy,
const lapack_real c,
const lapack_real s 
)

Referenced by DoubleVectorRotation().

Here is the caller graph for this function:

void F77NAME() drotg ( lapack_real dx,
lapack_real dy,
lapack_real c,
lapack_real s 
)

Referenced by DoubleVectorRotationPlane().

Here is the caller graph for this function:

void F77NAME() dscal ( const lapack_int n,
const lapack_real f,
lapack_real dx,
const lapack_int incx 
)

Referenced by DoubleVectorScale().

Here is the caller graph for this function:

void F77NAME() dswap ( const lapack_int n,
lapack_real dx,
const lapack_int incx,
lapack_real dy,
const lapack_int incy 
)

Referenced by DoubleVectorSwap().

Here is the caller graph for this function:

lapack_int F77NAME() idamax ( const lapack_int n,
const lapack_real dx,
const lapack_int incx 
)

Referenced by DoubleVectorIndexMax(), and LAP_IntegerVector::indexMax().

Here is the caller graph for this function: