/*-------------------------------------------------------| | NIST SPARSE BLAS v. 0.9 (Sat Jul 6 14:27:21 EDT 1996) | | | | Authors: | | Karin A. Remington and Roldan Pozo | | National Institute of Standards and Technology | | | | Based on the interface standard proposed in: | | "A Revised Proposal for a Sparse BLAS Toolkit" by | | S. Carney and K. Wu -- University of Minnesota | | M. Heroux and G. Li -- Cray Research | | R. Pozo and K.A. Remington -- NIST | | | | Contact: | | Karin A. Remington, email: kremington@nist.gov | --------------------------------------------------------*/ /* Created: Sat Jul 6 14:28:33 EDT 1996 */ #include "dcsrvtsl.h" void CSR_VecTriangSlvLD_CAB_double( const int m, const double *val, const int *indx, const int *pntrb, const int *pntre, const double *b, double *c, const int ind_base) { int i, j, jb, je, index; double *pc=c; double z; double valtmp; val-=ind_base; indx-=ind_base; c-=ind_base; pc=c+ind_base; for (i=0;i!=m;i++) { z = 0; jb = pntrb[i]; je = pntre[i]; for (j=jb;j