Search:

Type: Posts; User: mecej4

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,984

    Danilo, I ran your data through the Lapack...

    Danilo,

    I ran your data through the Lapack routine GBSV as an independent check, using the driver code below. The solution vector contains only 6 non-zero elements, and even these six have zero...
  2. Replies
    5
    Views
    3,984

    Depending on which compiler/OS/target...

    Depending on which compiler/OS/target architecture and default options you are using to compile and link, you may need to set the EXE stack size higher than the default value. The MS linker has a...
  3. Replies
    5
    Views
    3,984

    The bugs have nothing to do with ERSET. ERSET is...

    The bugs have nothing to do with ERSET. ERSET is for use with IMSL routines that have been called correctly, but the values of the input arguments are such that something goes wrong while executing...
  4. I note that you did obtain IERR = 1 from...

    I note that you did obtain IERR = 1 from DENSE_LP. The implication is that the solution is not unique, and the solution found was x_sol = 0.

    Since there are other solutions with some components...
  5. The main point is that these rather special LP...

    The main point is that these rather special LP problems may not give you a unique solution.

    A source of errors in comparing IMSL results and other results, e.g., from Mathematica, is that the...
  6. I'd like to see a standard mathematical problem...

    I'd like to see a standard mathematical problem statement before responding further. Different software packages have different conventions, and the data may need conversion/reformatting to suit.
  7. I suspect that there is at least one error, from...

    I suspect that there is at least one error, from looking at your DATA statement for A.

    In Fortran 2-D arrays are column-major, so the first line of that DATA statement causes the 16 values to be...
  8. Replies
    2
    Views
    5,966

    I think that you have misunderstood the...

    I think that you have misunderstood the conventions in the IMSL Fortran library. LINRG_INT is not the name of a Fortran subprogram; it is the interface to the subprogram LINRG (which is a generic...
  9. Replies
    3
    Views
    4,837

    Well, if that is the "essential part", it is...

    Well, if that is the "essential part", it is wrong.

    Do you want to call the generic name CCF, or the specific name CCF?

    I think that you want the former; unfortunately, unless you include an...
  10. Replies
    3
    Views
    4,837

    Did you note the requirements that MAXLAG >= 1...

    Did you note the requirements that MAXLAG >= 1 and that CC should be of length 2*MAXLAG+1?

    I tried the manual example, modifying the first call to CALL CCF (X, X,...), and I obtained the expected...
  11. Thread: Missing Library

    by mecej4
    Replies
    2
    Views
    6,190

    The full path to the directory in which the...

    The full path to the directory in which the desired DLL resides should be added to PATH. Furthermore, if that DLL depends on other DLLs such as the RTL DLLs of Intel Fortran, the paths of the...
  12. Replies
    3
    Views
    7,890

    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...
  13. 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....
  14. 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...
  15. Replies
    4
    Views
    8,483

    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...
  16. Replies
    4
    Views
    8,483

    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...
  17. Replies
    4
    Views
    12,754

    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...
  18. Replies
    1
    Views
    11,515

    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 .
  19. Replies
    8
    Views
    14,387

    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,...
  20. 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!
  21. 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.
  22. 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.
  23. 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...
  24. 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...
  25. 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?
Results 1 to 25 of 140
Page 1 of 6 1 2 3 4