Recent content by gradnu
-
G
Create Combinations from Set {1,2,3,4,5} with 'C' Program
Thanks a lot guys.- gradnu
- Post #4
- Forum: Programming and Computer Science
-
G
Create Combinations from Set {1,2,3,4,5} with 'C' Program
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...- gradnu
- Thread
- Combinations Set
- Replies: 3
- Forum: Programming and Computer Science
-
G
Graduate Calculating Conditional Probability for Poisson Processes
No. Analytically on paper.- gradnu
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Undergrad Writing Open Intervals as Closed Intervals (-inf,f]
I think both of them are right. I was initially confused whether to consider (-inf,a] as closed set or not. Thanks.- gradnu
- Post #4
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Undergrad Writing Open Intervals as Closed Intervals (-inf,f]
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.- gradnu
- Thread
- Closed intervals Writing
- Replies: 6
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Graduate Calculating Conditional Probability for Poisson Processes
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.- gradnu
- Thread
- Conditional
- Replies: 2
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Graduate How to Construct Correlated Normal Variables from Independent Normals?
Thanks mathman. But what was your thought process? How did you come up with these relations?- gradnu
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Graduate How to Construct Correlated Normal Variables from Independent Normals?
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?- gradnu
- Thread
- Random Random variables Variables
- Replies: 3
- Forum: Set Theory, Logic, Probability, Statistics
-
G
Finding Eigenvalues of Real Non-Symmetric Matrices
Thanks- gradnu
- Post #5
- Forum: Programming and Computer Science
-
G
Finding Eigenvalues of Real Non-Symmetric Matrices
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- gradnu
- Thread
- Eigenvalues Matrices
- Replies: 4
- Forum: Programming and Computer Science
-
G
Check Connectivity of Network using DFS
Thanks- gradnu
- Post #3
- Forum: Programming and Computer Science
-
G
Check Connectivity of Network using DFS
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- gradnu
- Thread
- Network
- Replies: 2
- Forum: Programming and Computer Science
-
G
Generating a Binary Matrix in C
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.- gradnu
- Post #6
- Forum: Programming and Computer Science
-
G
Generating a Binary Matrix in C
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...- gradnu
- Post #4
- Forum: Programming and Computer Science
-
G
Generating a Binary Matrix in C
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- gradnu
- Thread
- Binary Matrix
- Replies: 7
- Forum: Programming and Computer Science