Math Problem
Dec. 8th, 2011 10:43 pmFor once, this is not recreational, but part of the project from which I hope to make my living.
I have a matrix and a vector. Consider the vector to be vertical. I know the values of the vector and of all but one column of the matrix. I want to find the values for the remaining column. each column, including the vector, is composed of non-negative real numbers, and sums to 1. (I have a hunch constraint may not be necessary, assuming a general solution exists at all, but it is true and available if needed.) Each element of the vector is the product of all elements in the same row of the matrix, divided by the sum of all such products.
That's it. It took some work to formulate the probabilistic model and more work to recognize it as such a simply defined matrix operation, but now that I have, it's quick to state. It may not be quick to solve. If anyone cares to help, I'd be grateful.
I recognize a solution will probably be best expressed with subscripts, but standard ascii characters should be fine, using Product() and Sum() rather than capital PIs and SIGMAs.
I have a matrix and a vector. Consider the vector to be vertical. I know the values of the vector and of all but one column of the matrix. I want to find the values for the remaining column. each column, including the vector, is composed of non-negative real numbers, and sums to 1. (I have a hunch constraint may not be necessary, assuming a general solution exists at all, but it is true and available if needed.) Each element of the vector is the product of all elements in the same row of the matrix, divided by the sum of all such products.
That's it. It took some work to formulate the probabilistic model and more work to recognize it as such a simply defined matrix operation, but now that I have, it's quick to state. It may not be quick to solve. If anyone cares to help, I'd be grateful.
I recognize a solution will probably be best expressed with subscripts, but standard ascii characters should be fine, using Product() and Sum() rather than capital PIs and SIGMAs.
Doh! And Yippee!!
Date: 2011-12-09 09:55 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 06:25 am (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 11:59 am (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 06:27 am (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 12:00 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 06:17 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 06:22 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 08:04 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-10 08:34 pm (UTC)Doesn’t interest me, because I use ZShell. :) Also I don’t use Forth these days (though I might if I had embedded programming to do).
If there is such a thing as a supercomputer-optimized Forth, whoever made it should see a psychiatrist. Also so should the people who made this: https://sites.google.com/site/visualbf/
:)
Re: Doh! And Yippee!!
Date: 2011-12-11 03:31 pm (UTC)Re: Doh! And Yippee!!
Date: 2011-12-11 07:32 pm (UTC)