SCULIB_SKYCON_1

routine to calculate non-linear constraints for NAG non-linear fitting routine E04UPF when fitting ETA_TEL, B and TAU in sky-dip analysis

Description:

E04UPF is a NAG routine used to fit a theoretical SKYDIP curve to the measured data by varying ETA_TEL, B and TAU. This routine is called by E04UPF to calculate the 1 non-linear constraint in the problem and/or it’s Jacobian at the current solution vector X. See the NAG manual if you need to know more about E04UPF.

The solution vector is composed as follows:-

The non-linear constraint limits ETA_TEL B. So, evaluation of the constraint gives:-

C(1) = ETA_TEL B

and its Jacobian has components :-

C x(1) = B (60)
C x(2) = η tel (61)

C x(2) = 0.0 (62)

Invocation

CALL SCULIB_SKYCON_1 (MODE, NCNLN, N, LDCJ, NEEDC, X, C, CJAC, NSTATE, IUSER, USER)

Arguments

See NAG manual description of CONFUN parameter in E04UPF.

Copyright

Copyright ©1993-1999 Particle Physics and Astronomy Research Council. All Rights Reserved.