Click here to Skip to main content
15,895,709 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: ceiling function bitwise operation [Solved] Pin
econy20-Nov-13 5:48
econy20-Nov-13 5:48 
GeneralRe: ceiling function bitwise operation [Solved] Pin
harold aptroot20-Nov-13 6:07
harold aptroot20-Nov-13 6:07 
GeneralRe: ceiling function bitwise operation [Solved] Pin
econy20-Nov-13 9:23
econy20-Nov-13 9:23 
QuestionSpiral Function Pin
push_coder30-Oct-13 18:41
push_coder30-Oct-13 18:41 
AnswerRe: Spiral Function Pin
Bernhard Hiller31-Oct-13 1:26
Bernhard Hiller31-Oct-13 1:26 
AnswerRe: Spiral Function Pin
Alan Balkany31-Oct-13 11:22
Alan Balkany31-Oct-13 11:22 
QuestionRandom Triangular Matrix Pin
Kyudos28-Oct-13 11:50
Kyudos28-Oct-13 11:50 
AnswerRe: Random Triangular Matrix Pin
BillWoodruff29-Oct-13 5:29
professionalBillWoodruff29-Oct-13 5:29 
The matrix you are creating would have zeroes on the diagonal, and then you insert "1's" at random on #49 pairs of "symmetric" cells of the form cell[i,j] = 1, and cell[j,i] = 1 ?

One thing that "jumped out" at me reading your code:
VB
' Randomly assign remaining entries to the current column
rndEntries = TotalEntries - curEntries
I can't see 'TotalEntries being initialized to any value in your code; is it possible that 'TotalEntries should be: 'TotalPeers ?

thanks, Bill

Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview


modified 29-Oct-13 11:59am.

GeneralRe: Random Triangular Matrix Pin
Kyudos29-Oct-13 14:01
Kyudos29-Oct-13 14:01 
QuestionPicking persons in a group algorithm Pin
Eduard Keilholz27-Oct-13 21:50
Eduard Keilholz27-Oct-13 21:50 
AnswerRe: Picking persons in a group algorithm Pin
Chris Losinger28-Oct-13 6:01
professionalChris Losinger28-Oct-13 6:01 
SuggestionRe: Picking persons in a group algorithm Pin
Richard Deeming28-Oct-13 12:57
mveRichard Deeming28-Oct-13 12:57 
AnswerRe: Picking persons in a group algorithm Pin
Richard Deeming29-Oct-13 2:45
mveRichard Deeming29-Oct-13 2:45 
GeneralRe: Picking persons in a group algorithm Pin
BillWoodruff29-Oct-13 5:22
professionalBillWoodruff29-Oct-13 5:22 
Questionusing genetic algorithms to improve voice commands recognition Pin
Member 997361615-Oct-13 0:24
Member 997361615-Oct-13 0:24 
QuestionHow to Remove duplicate files rapidly? Pin
happy liu7-Oct-13 22:35
professionalhappy liu7-Oct-13 22:35 
AnswerRe: How to Remove duplicate files rapidly? Pin
jschell8-Oct-13 10:28
jschell8-Oct-13 10:28 
GeneralRe: How to Remove duplicate files rapidly? Pin
happy liu8-Oct-13 14:51
professionalhappy liu8-Oct-13 14:51 
AnswerRe: How to Remove duplicate files rapidly? Pin
Manfred Rudolf Bihy9-Oct-13 0:14
professionalManfred Rudolf Bihy9-Oct-13 0:14 
GeneralRe: How to Remove duplicate files rapidly? Pin
happy liu9-Oct-13 16:44
professionalhappy liu9-Oct-13 16:44 
GeneralRe: How to Remove duplicate files rapidly? Pin
Manfred Rudolf Bihy9-Oct-13 16:51
professionalManfred Rudolf Bihy9-Oct-13 16:51 
GeneralRe: How to Remove duplicate files rapidly? Pin
happy liu9-Oct-13 16:52
professionalhappy liu9-Oct-13 16:52 
GeneralRe: How to Remove duplicate files rapidly? Pin
saephoed8-Jan-14 12:50
saephoed8-Jan-14 12:50 
AnswerRe: How to Remove duplicate files rapidly? Pin
Kornfeld Eliyahu Peter9-Oct-13 0:50
professionalKornfeld Eliyahu Peter9-Oct-13 0:50 
GeneralRe: How to Remove duplicate files rapidly? Pin
happy liu9-Oct-13 16:42
professionalhappy liu9-Oct-13 16:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.