Search:

Type: Posts; User: mecej4

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. The following comments may help clear up your...

    The following comments may help clear up your views on how to use IMSL routines.

    The original Fortran 77 routines NEQNF and DNEQNF may be called using their implicit interfaces, without any need...
  2. Luca, it is not clear what the problem is unless...

    Luca, it is not clear what the problem is unless you show the declaration of the interface to the dummy routine as well as the declaration of the arguments to the actual routine that is being passed....
  3. The error #7881 that you encountered is probably...

    The error #7881 that you encountered is probably the result of using MOD files intended for 32-bit compilations with a 64-bit target build, or vice versa. What you have to do is to make sure that the...
  4. Replies
    4
    Views
    976

    The additional information that you provided...

    The additional information that you provided shows that the mismatch is not as I guessed it to be, but that the compiler you are using is older than the one that IMSL 2018 is compatible with. As you...
  5. Replies
    4
    Views
    976

    Please state which version of the Intel Fortran...

    Please state which version of the Intel Fortran compiler was used, the compiler options used, and the PATH in effect when running the program in VS x64/debug.

    I suspect that you used a more recent...
  6. Replies
    4
    Views
    6,745

    This thread is now over a decade old, but has...

    This thread is now over a decade old, but has been left without a proper closure.

    The problem posed by bayes777 is quite reasonable and commonly encountered. Given vector variables x and y, and a...
  7. Replies
    1
    Views
    4,641

    You can use the mathematical relations ...

    You can use the mathematical relations

    nCr = 1/[(n+1)Beta(r+1,n-r+1)]

    and

    nPr = Gamma(n+1)/Gamma(n+1-r)

    The Beta and Gamma functions are part of Imsl.Math.Sfun .
  8. Replies
    8
    Views
    5,119

    This thread has remained unattended to for six...

    This thread has remained unattended to for six years, with an apparent discrepancy between the results from IMSL and from Matlab (or other alternatives). I happened to revisit this thread this week,...
  9. If x is from N(0,1) and y is from N(m,s), (x-0)/1...

    If x is from N(0,1) and y is from N(m,s), (x-0)/1 = (y-m)/s. Solve for y, obtaining y = s.x + m. No new function is needed!
  10. Your old code probably did not use modules, or...

    Your old code probably did not use modules, or did not have the call-back function inside a module.
  11. Please post the source code, at least the...

    Please post the source code, at least the portions where the IMSL routine is called and where the call-back function is declared. Speculation without seeing that will probably not help. Thanks.
  12. I assume that FCN and FNC are not two separate...

    I assume that FCN and FNC are not two separate functions (typo?)

    There are several aspects of usage that you may have not grasped.

    1. The first argument to BCNLS is the name of a subroutine...
  13. The compiler can detect mismatches for you if you...

    The compiler can detect mismatches for you if you help it by providing interfaces for arguments that are functions or subroutines. The following is a modified version of your code, with the two...
  14. You changed the precision of the real variables...

    You changed the precision of the real variables in the main program, but what about the real variables in subroutines FCN and LSJAC?
  15. Replies
    2
    Views
    2,917

    This is a public forum, and you have added a...

    This is a public forum, and you have added a parasitic post to an unrelated thread. If you open a new thread and post details of your question, forum readers may try to help.

    Forum members,...
  16. Replies
    1
    Views
    1,357

    Please provide the data file(s), or at least the...

    Please provide the data file(s), or at least the portion of them that are read before the stack overflow occurred.

    You may try changing the stack limit of your EXE by using the editbin utility:
    ...
  17. I have never used IMSL and IFort installed on any...

    I have never used IMSL and IFort installed on any Linux system other than openSuse, and that was years ago. I do recall that VNI provided two different Linux distributions of IMSL-Fortran, one for...
  18. Replies
    3
    Views
    1,512

    The answer depends on which compiler, OS and...

    The answer depends on which compiler, OS and version of IMSL you are using. As long as your source files satisfy the governing rules, you can use fixed format and free format as you please.

    You...
  19. Replies
    3
    Views
    1,512

    The routine that you named (LEQT1F) is really...

    The routine that you named (LEQT1F) is really old; it was not present in IMSL 4.0, which itself is now two decades old. See http://nhplace.com/kent/Papers/Fortran-to-Lisp.html for a description....
  20. The module files supplied with each version of...

    The module files supplied with each version of IMSL are for a specific Fortran compiler. Module files intended for use by the Intel Fortran compiler on Windows are not compatible with G95. Similarly,...
  21. Replies
    3
    Views
    2,034

    If you have, for example, three equality...

    If you have, for example, three equality constraints and two inequality constraints, you would write the following code in the function and call the IMSL routine with meq = 3, m = 5:


    switch...
  22. Replies
    3
    Views
    2,034

    Without context, this question is...

    Without context, this question is incomprehensible. What is a "groups Variable"? Is this a question about the C language, or some IMSL function? If the latter, which?

    If this is a question about...
  23. Replies
    8
    Views
    2,035

    Ikno, you did not state which version of IMSL you...

    Ikno, you did not state which version of IMSL you used, but here is a work-around that gave me the same results as Dean's with FNL 4 as well as FNL 7.0: instead of setting NBEST=1, set NBEST=2 and...
  24. Replies
    1
    Views
    1,551

    IMSL comes with thousands of example files, so...

    IMSL comes with thousands of example files, so "first 3 examples" or "4th onwards" does not tell us what you have in mind. As far as the specific routine LSLCB is concerned, there is only one example...
  25. Replies
    1
    Views
    1,333

    Error handling is a little complex in IMSL....

    Error handling is a little complex in IMSL. Please see the section "Reference Material" in the IMSL manual, in particular the subroutine ERSET.

    If you find MXSTEP=500 to be insufficient, your...
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4