Sub Ex_Ztptrs()
Const N = 3
Dim Ap(N * (N + 1) / 2) As Complex, B(N - 1) As Complex
Dim RCond As Double, Info As Long
Ap(0) = Cmplx(0.2, -0.11)
Ap(1) = Cmplx(-0.93, -0.32): Ap(3) = Cmplx(0.81, 0.37)
Ap(2) = Cmplx(-0.8, -0.92): Ap(4) = Cmplx(-0.29, 0.86): Ap(5) = Cmplx(0.64, 0.51)
B(0) = Cmplx(0.2069, 0.0399): B(1) = Cmplx(-0.6633, -0.6775): B(2) = Cmplx(-0.4965, -0.6057)
Call Ztptrs("L", "N", "N", N, Ap(), B(), Info)
If Info = 0 Then Call Ztpcon("1", "L", "N", N, Ap(), RCond, Info)
Debug.Print "X =",
Debug.Print Creal(B(0)), Cimag(B(0)), Creal(B(1)), Cimag(B(1)), Creal(B(2)), Cimag(B(2))
Debug.Print "RCond =", RCond
Debug.Print "Info =", Info
End Sub