WorksheetFunction.SeriesSum(Object, Object, Object, Object) 方法

定义

根据公式返回幂级数的总和:SERIES (x,n,m,a) = a1xn+a2x (n+m) +a3x (n+2m) +...+aix (n+ (i-1) m)

public:
 double SeriesSum(System::Object ^ Arg1, System::Object ^ Arg2, System::Object ^ Arg3, System::Object ^ Arg4);
public double SeriesSum (object Arg1, object Arg2, object Arg3, object Arg4);
Public Function SeriesSum (Arg1 As Object, Arg2 As Object, Arg3 As Object, Arg4 As Object) As Double

参数

Arg1
Object

X - 幂级数的输入值。

Arg2
Object

N - x 的首项乘幂。

Arg3
Object

M - 级数中每一项的乘幂 n 的步长增加值。

Arg4
Object

Coefficients - 一系列与 x 各级乘幂相乘的系数。 coefficients 中值的数目决定了幂级数的项数。 例如,如果 coefficients 中有三个值,幂级数中将有三项。

返回

注解

如果任何参数为非数值型, SeriesSum 将返回 #VALUE! 。

适用于