?? sumsq_port.c
字號:
/* Compute the sum of the squares of a vector of signed shorts * Portable C version * Copyright 2004 Phil Karn, KA9Q * May be used under the terms of the GNU Lesser General Public License (LGPL) */unsigned long long sumsq_port(signed short *in,int cnt){ long long sum = 0; int i; for(i=0;i<cnt;i++){ sum += (int)in[i] * (int)in[i]; } return sum;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -