/* | |
* cblas_dnrm2.c | |
* | |
* The program is a C interface to dnrm2. | |
* It calls the fortranwrapper before calling dnrm2. | |
* | |
* Written by Keita Teranishi. 2/11/1998 | |
* | |
*/ | |
double cblas_dnrm2( const CBLAS_INT_TYPE N, const double *X, const CBLAS_INT_TYPE incX) | |
{ | |
double nrm2; | |
F77_INT F77_N=N, F77_incX=incX; | |
F77_dnrm2_sub( &F77_N, X, &F77_incX, &nrm2); | |
return nrm2; | |
} | |