public static void axpy(double a, RowVector256 <double> X, RowVector256 <double> Y, ref RowVector256 <double> Z) { Y.CopyTo(ref Z); CBLAS.cblas_daxpy(length(X, Y), a, ref head(X), 1, ref head(Z), 1); }
public static void axpy(float a, RowVector256 <float> X, RowVector256 <float> Y, ref RowVector256 <float> Z) { Y.CopyTo(ref Z); CBLAS.cblas_saxpy(length(X, Y), a, ref head(X), 1, ref head(Z), 1); }