7 function pchsp_95(x, f, ibeg, iend, vc_beg, vc_end)
36 real,
intent(in)::
x(:)
43 real,
intent(in)::
f(:)
47 INTEGER,
intent(in):: ibeg
66 INTEGER,
intent(in):: iend
76 REAL,
intent(in),
optional:: vc_beg
80 REAL,
intent(in),
optional:: vc_end
100 if ((ibeg == 1 .or. ibeg == 2) .and. .not. present(vc_beg))
then
101 print *,
"vc_beg required for IBEG = 1 or 2"
104 if ((iend == 1 .or. iend == 2) .and. .not. present(vc_end))
then
105 print *,
"vc_end required for IEND = 1 or 2"
109 if (present(vc_beg)) vc(1) = vc_beg
110 if (present(vc_end)) vc(2) = vc_end
112 if (ierr /= 0) stop 1