BCLS: Bound Constrained Least Squares

Version 0.1

bccblas.c File Reference

#include "cblas.h"

Include dependency graph for bccblas.c:

Go to the source code of this file.

Functions

void cblas_daxpy (const int N, const double alpha, const double *X, const int incX, double *Y, const int incY)
void cblas_dcopy (const int N, const double *X, const int incX, double *Y, const int incY)
double cblas_ddot (const int N, const double *X, const int incX, const double *Y, const int incY)
double cblas_dnrm2 (const int N, const double *X, const int incX)
void cblas_dscal (const int N, const double alpha, double *X, const int incX)


Detailed Description

This file contains C-wrappers to the BLAS (Basic Linear Algebra Subprograms) routines that are used by BCLS. Whenever possible, they should be replaced by corresponding BLAS routines that have been optimized to the machine being used.

Included BLAS routines:

Definition in file bccblas.c.


Function Documentation

void cblas_daxpy ( const int  N,
const double  alpha,
const double *  X,
const int  incX,
double *  Y,
const int  incY 
)

Parameters:
[in] N 
[in] alpha 
[in] X 
[in] incX 
[in,out] Y 
[in] incY 

Definition at line 55 of file bccblas.c.

References OFFSET.

Referenced by aprod_free_lsqr(), bcls_cgls(), bcls_proj_backtrack(), and bcls_solver().

void cblas_dcopy ( const int  N,
const double *  X,
const int  incX,
double *  Y,
const int  incY 
)

Parameters:
[in] N 
[in] X 
[in] incX 
[out] Y 
[in] incY 

Definition at line 95 of file bccblas.c.

References OFFSET.

Referenced by aprod_free_lsqr(), bcls_cgls(), bcls_newton_step(), bcls_solver(), and lsqr().

double cblas_ddot ( const int  N,
const double *  X,
const int  incX,
const double *  Y,
const int  incY 
)

Parameters:
[in] N 
[in] X 
[in] incX 
[in] Y 
[in] incY 
Returns:
Dot product of X and Y.

Definition at line 120 of file bccblas.c.

References OFFSET.

Referenced by bcls_proj_backtrack(), and bcls_solver().

double cblas_dnrm2 ( const int  N,
const double *  X,
const int  incX 
)

Parameters:
[in] N 
[in] X 
[in] incX 
Returns:
Two-norm of X.

Definition at line 145 of file bccblas.c.

Referenced by bcls_cgls(), bcls_compute_anorm(), bcls_solver(), and lsqr().

void cblas_dscal ( const int  N,
const double  alpha,
double *  X,
const int  incX 
)

Parameters:
[in] N 
[in] alpha 
[in,out] X 
[in] incX 

Definition at line 184 of file bccblas.c.

References OFFSET.

Referenced by bcls_cgls(), bcls_newton_step_cgls(), bcls_newton_step_lsqr(), bcls_solver(), and lsqr().

Generated on Sun Mar 4 22:50:03 2007 by Doxygen 1.5.1