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!
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!
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!
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...
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...
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_'...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.