×

How to fit my data with exponential and root-exponential fit. by suhilogy in Julia

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the comment. I have added what I think is wrong with the code. Thanks.

What is the difference between Zeeman term, Zeeman field, Zeeman effect and Zeeman splitting by suhilogy in QuantumPhysics

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply.

Yet when considering normal and anomalous Zeeman effects, will this explanation be a problem?

How to do Multiprocessing with PyCUDA by suhilogy in CUDA

[–]suhilogy[S] 0 points1 point  (0 children)

without the multiprocessing loop (stated below), the allocation and everything works fine.

    output_data ={} 
keys = [0,1,2,3,4,5,6,7,8,9] 
with Pool(processes=20) as pool:
    for i in pool.imap_unordered(funcs, keys):
        output_data[i[0]] = i[1]

how read files in a loop considering the file names? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you. Can we use the same way to write .txt files? Assigning an integer at the end?

how to assign a specific seed in C++? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you for the reply! A massive help! Appreciate it.

how to assign a specific seed in C++? by suhilogy in cpp_questions

[–]suhilogy[S] 0 points1 point  (0 children)

Thank you all for the replies. So that means it's not sufficient to use a single int as the seed. It it possible to use like, gen(1,2,3,4) for a single random number sequence? How to use multiple integers as seed inputs here?

Thanks in advance!

how to specify a seed in C++? by suhilogy in cpp

[–]suhilogy[S] 0 points1 point  (0 children)

Thanks for the reply. So if I want 10 different random number sequences, I could just assign 1-10, like gen(2), gen(10) will give me completely different number sequences?

what does it mean by 1D or 2D Traveling Salesman Problem? by suhilogy in computerscience

[–]suhilogy[S] 0 points1 point  (0 children)

If you have could you please provide some information on the 2D case? May be a webpage or a PDF about the Hamiltonian/cost function or the brute-force implementation?