Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Nice.
Thx i needed this
You're welcome! :-D
double la_ddot(double *x, double *y, const size_t n) { const double *x_end = x + n; double dot = 0.0; while (x < x_end) dot += *x++ * *y++; return dot;}🤪c-style
Does it do it faster or is it just a more confusing way to write it ?
Nice.
Thx i needed this
You're welcome! :-D
double la_ddot(double *x, double *y, const size_t n) {
const double *x_end = x + n;
double dot = 0.0;
while (x < x_end)
dot += *x++ * *y++;
return dot;
}
🤪c-style
Does it do it faster or is it just a more confusing way to write it ?