📄 csos2_c.mht
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject:
Date: Wed, 27 Sep 2006 22:39:46 +0800
MIME-Version: 1.0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.oxbad.com/DSP/maindoc/arithmetic_source/c/CSOS2.C
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY><PRE>/* csos2.c - circular buffer implementation of a single SOS =
*/
void wrap2();
double csos2(a, b, w, q, x)
double *a, *b, *w, x; /* \(a,b,w\) are 3-dimensional =
arrays */
int *q; /* \(q\) is circular offset =
relative to \(w\) */
{
double y;
w[*q] =3D x - a[1] * w[(*q+1)%3] - a[2] * w[(*q+2)%3];
y =3D b[0] * w[*q] + b[1] * w[(*q+1)%3] + b[2] * w[(*q+2)%3];
(*q)--; =20
wrap2(2, q);
return y;
}
</PRE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -