Method | Description | |
---|---|---|
Solve ( double a, double b, double c, double alpha, double beta, double rhs ) : double[] |
Solves the cyclic set of linear equations. All vectors have size of n although some elements are not used. The input is not modified. |
public static Solve ( double a, double b, double c, double alpha, double beta, double rhs ) : double[] | ||
a | double | Lower diagonal vector of size n; a[0] not used. |
b | double | Main diagonal vector of size n. |
c | double | Upper diagonal vector of size n; c[n-1] not used. |
alpha | double | Bottom-left corner value. |
beta | double | Top-right corner value. |
rhs | double | Right hand side vector. |
return | double[] |