# Search results

1. ### Combinations of a set

Thanks a lot guys.
2. ### Combinations of a set

I have a set {1,2,3,4,5} and I need all possible combinations with three elements. Example {1,2,3}, {1,2,4}, {1,2,5} etc. Can somebody help me with a 'C' program that does this. I want to store {1,2,3} etc. in an array of size three and print out every time a new combination is formed...
3. ### Conditional probaiblity

No. Analytically on paper.
4. ### Borel family

I think both of them are right. I was initially confused whether to consider (-inf,a] as closed set or not. Thanks.
5. ### Borel family

Can anybody suggest how to write an open interval (a,b) as a combination(union, intersection and compliment) of closed intervals of the form [c,d] and vice versa. What if closed intervals are half closed as following (-inf, f]. 'f' being rational.
6. ### Conditional probaiblity

Let {Nt, t>0} be a Poisson process with arrival rate \lambda. Consider a process {Xt = exp(Nt-a*t, t>0}. How to calculate E[Xt|Xs] for 0<s<t.
7. ### Correlated random variables

Thanks mathman. But what was your thought process? How did you come up with these relations?
8. ### Correlated random variables

I have two independent standard normal random variables X1,X2. Now I want to construct two new normal random variables Y1,Y2 with mean\mu1, \mu2 and variance (\sigma1)^2, (\sigma2)^2 and correlation \rho. How do I approach this problem?

Thanks
10. ### C program

Hi, Can somebody provide a link(other than numerical recipes) where I can get an optimized 'C' program for calculating eigenvalues of real nonsymmetric martix. Thanks

Thanks
12. ### DFS algorithm

Can somebody tell me how to implement(possibly C program) DFS to check whether a network is connected or not. I have network in the form of adjacency matrix. Thanks
13. ### Random Matrix

I want to generate random adjacency matrices where element ij is 1 if an edge connects node i to node j. Yes it is asymmetric.
14. ### Random Matrix

No, size of matrix is finite. Basically the problem is to generate random networks with fixed number of nodes and fixed number of links. Network is being represented by a binary matrix where the entry '1' means that a link exists between the corresponding row and column and '0' means the link...
15. ### Random Matrix

Does anybody know how to generate a random matrix with entries 0 and 1 only(binary matrix). Numbers of 1 and 0 are fixed every time matrix is generated. Possibly a program in 'C'. Thanks

Thanks Clive
17. ### GSL(GNU Scientific Library)

Does anybody know how to read and write matrices in GSL. I am confused by what is given on the website. It says something about binary format which I have no idea about. Isn't there any other simple way of reading the matrices as we do in 'C'?
18. ### Adaptive runge kutta method

I apologize for posting the problem in Diff. Eq. section. Thanks D H for the suggestions.
19. ### Adaptive runge kutta method

Thanks for the prompt replies. I am using the code in 'C' from numerical recipes. It works for small limits of integration but starts giving errors if I increase the interval of integration.
20. ### Adaptive runge kutta method

Hi I am using adaptive stepsize Runge Kutta (order4) method to solve a set of Lotka Volterra system of equations. But I am getting the errors 1) Step size too small 2) Too many steps in the routine Can somebody please help me on this.