Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. ignacio82

    Multivariate normal pdf code?

    I'm looking for Fortran code that calculates the multivariate normal pdf. If someone is willing to share or point me in the right direction I would appreciate it. Thanks!
  2. ignacio82

    generate a matrix of possible combinations using fortran

    You are awesome salgerman! I have one more question. Can this be extended to write the cartesian product of n sets is the set of ordered n-tuples containing one element from each set? I found some C code, but I don't know any C :_( Thanks a lot!
  3. ignacio82

    generate a matrix of possible combinations using fortran

    salgerman, I think that is exactly what I'm doing with my nested loops
  4. ignacio82

    generate a matrix of possible combinations using fortran

    Sure. I have X1, X2, X3,..., X9. Each one can take 2 values (i.e. X1=(X11,X22)). Therefore, in total i can create 2^9 vectors of length 9 in which the first element is X1, the second X2, etc. That is, B(1,:)=(X11, X21, X31, ..., X91) That makes more sense? Thanks!
  5. ignacio82

    generate a matrix of possible combinations using fortran

    I have an array X(9,2) and I want to generate another array B(512,9) with all the possible combinations. I thought about doing 9 do loops, but I was hoping for a more efficient way. This is what I have do i1=1, 2 do i2=1, 2 do i3=1,2 do i4=1,2 do i5=1,2...
  6. ignacio82

    IMSL

    Hi everyone, I'm trying to learn how to use IMSL. I have a very simple program that finds a minimum and I would like to make a modification to it. Right now the function I'm minimizing is F = 1.0E2*(X(2)-X(1)*X(1))**2 + (1.0E0-X(1))**2 I'm trying to figure out whether is possible to write my...
  7. ignacio82

    [FGSL] [Brent's method]?

    Thanks for the help! I found all the bugs
  8. ignacio82

    [FGSL] [Brent's method]?

    I made some progress. Now I'm getting this error when I try to compile. <code> ifort -L/share/apps/contrib/fgsl/intel12/lib64 -o dissertation.X agents.o dissertation.o -lfgsl_ifort -lgsl -lgslcblas agents.o: In function `agents_mp_c_child_': agents.f90:(.text+0x2f8b): undefined reference to `m_'...
  9. ignacio82

    [FGSL] [Brent's method]?

    I'm trying to use FGSL to maximize a function. My problem is that the function I'm trying to maximize is a combination of many other functions and I don't know how to set the paremeters of those and then pass everything into FGSL. For example, in line 212 I declare the first function that is...

Part and Inventory Search

Back
Top