Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about random-walk

Read more about random-walk

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - random-walk

How can I find the average dead-end length and escape length of a self avoiding walk?

I'm building a program that takes command-line arguments n and trials and computes trials self-avoiding walks in an n-by-n lattice. For each walk, it creates a boolean array, starts the walk in the ce...
test-img

silicongolem

java

arrays

conditional-statements

simulation

random-walk

Votes: 0

Answers: 0

More efficient self-avoiding freely-jointed chain in 3D?

I am trying to create a simple self-avoiding freely-jointed chain. The chain part is already completed, it starts at a given point in 3D space (e.g. [0,0,0]). I then generate a new point by randomizin...
test-img

Teddi

python

numpy

random

random-walk

Votes: 0

Answers: 1

Latest Answer

Here is a corrected and slightly extended (initialized) version of your code sample. The vectorized loop is attached at the bottom. Note: vectorization with numpy always means: look out for any for-lo...
test-img

Ralf Ulrich

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved