17 #include"./qd/dd_real.h"
27 tmp.x[1] = tmp.x[0] * powf(2.0, -52);
double precision CRS format sparse matrix
Double precision vector class, This class is almost same as std::vector<double>
Double-double precision vector class.
void scale(const dd_real &alpha, dd_real_vector &x)
scale: x = ax
void axpy(const dd_real &alpha, const dd_real_vector &x, dd_real_vector &y)
axpy: y = ax+y
void matvec(const d_real_SpMat &A, const dd_real_vector &x, dd_real_vector &y)
matvec: y = Ax
void axpyz(const dd_real &alpha, const dd_real_vector &x, const dd_real_vector &y, dd_real_vector &z)
axpyz: z = ax+y
dd_real nrm2(const dd_real_vector &x)
nrm2: ans = ||x||
dd_real dot(const dd_real_vector &x, const dd_real_vector &y)
dot: ans = (x,y)
void xpay(const dd_real &alpha, const dd_real_vector &x, dd_real_vector &y)
xpay: y = x+ay