C# 클래스 csCommon.Types.Geometries.AdvancedGeometry.GeometryTransformers.SmoothBezierTransformer.Cyclic

Solves the cyclic set of linear equations.
The cyclic set of equations have the form --------------------------- b0 c0 0 · · · · · · ß a1 b1 c1 · · · · · · · · · · · · · · · · · · · · · a[n-2] b[n-2] c[n-2] a · · · · 0 a[n-1] b[n-1] --------------------------- This is a tridiagonal system, except for the matrix elements a and ß in the corners.
파일 보기 프로젝트 열기: TNOCS/csTouch

공개 메소드들

메소드 설명
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.

메소드 상세

Solve() 공개 정적인 메소드

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.
리턴 double[]