Markov chains in C? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Markov chains in C?

Does anyone have a good algorithm for Markov chains in C? For any size matrix using an array? I can make it for fixed matrix and just program in the operations , but I didn’t know if there was a more systematic way. The first multiplication works from and array but going through a repeated “for” loop the values get off. Thank you!

19th Oct 2019, 4:02 PM
Steven Bryan
Steven Bryan - avatar
1 Answer
+ 4
Have you searched GitHub?
24th Oct 2019, 7:29 AM
Da2
Da2 - avatar