08-03-2012 09:11 AM
That gives a completely different result to what he actually marked as solution. It now uses the entire input array, not just the first element and the boolean output array is more than 10 elements unles "samples" is changed to 10.
It is completely obscure what he really wants.
08-03-2012 09:15 AM
@altenbach wrote:
That gives a completely different result to what he actually marked as solution. It now uses the entire input array, not just the first element and the boolean output array is more than 10 elements unles "samples" is changed to 10.
It is completely obscure what he really wants.
I was aiming for what he obscurely stated as the intent, not the true current functionality. I know fully well that the while loop should not be autoindexing. That was the first thing I noticed after reducing the windows to something that would fit my screen (and I have 2 large monitors). Though, it would help a lot if we could see some actual code of what the OP is trying to do. I was just giving a suggestion saying that the second loop might not even be necessary and therefore clear up a lot of this mess.
08-03-2012 09:26 AM
I agree, we need to have more information. Currently things don't make sense.
08-03-2012 04:04 PM
I have no idea what "multiplayer" you are referring to.
i mean "multiply " two number.
what "stochastic logic" is supposed to mean.
For more information on this topic i will give you the link of the wiki and address of the first research gave the idea
http://en.wikipedia.org/wiki/Stochastic_computing
Gaines, B. (1967). "Stochastic Computing"
if you need more about subject contact me
You really should mark Altenbach's post as the solution to your problem rather than your own message.
ok
08-03-2012 08:17 PM
dear
i give here pic explain the exact operation
this is the main idea
08-04-2012 10:06 AM
Ok, based on that diagram, something like this should get you started:
-Kevin P