関数imsequence2_plus_complex マニュアル

(The documentation of function imsequence2_plus_complex)

Last Update: 2023/6/28


◆機能・用途(Purpose)

フーリエスペクトルに定数を加算する(構造体\(+\)定数)。
Add a constant value to a Fourier spectrum (i.e., structure \(+\) constant).


◆形式(Format)

#include <sequence/operation.h>
inline struct imsequence2 imsequence2_plus_complex
(struct imsequence2 a,const double complex b)


◆引数(Arguments)

a 和の計算に用いるフーリエスペクトル。
The Fourier spectrum used for the computation of the summation.
b 加える定数。
The constant to be added.


◆戻り値(Return value)

\(a+b\)を表す構造体。戻り値のメンバの値は以下のようになる。
A structure that represents \(a+b\). The values of members of the return value are as below.

戻り値のメンバ
Member of the return value

Value
size a.size
t0 a.t0
dt a.dt
各iに対するvalue[i]
value[i] for each \(i\)
a.value[i]+b


◆使用例(Example)

struct imsequence2 a;
double complex b=1.2+3.4∗I;
struct imsequence2 c=imsequence2_plus_complex(a,b);