zeroth

Denmark

Age: 29

3h
awarded Nice Answer
Jan
23
awarded Guru
Jan
13
reviewed No Action Needed Missing = inserted for \ifnum
Jan
13
reviewed No Action Needed Align equal sign in algorithm in vertical line
Jan
6
comment Efficient algorithm for iterative ranking of a vector
@David have you tried this? I think it is the fastest of the versions currently posted.
Jan
5
comment Efficient algorithm for iterative ranking of a vector
So did it work? I have just tested with the algorithm you provided, your implementation and mine yield the same result.
Jan
5
revised Efficient algorithm for iterative ranking of a vector
fixed error in initialization
Jan
5
comment Efficient algorithm for iterative ranking of a vector
I have not tried it because I have no function to generate the data... I have only tried on a 10 element case (which works). However, there is one error which is now corrected.
Jan
4
comment Efficient algorithm for iterative ranking of a vector
@David you could try the edit which perhaps is slightly faster, however, it is more dependent on input and fluctuations in speed may occur.
Jan
4
revised Efficient algorithm for iterative ranking of a vector
added new algorithm.
Jan
4
comment Efficient algorithm for iterative ranking of a vector
@David, hint, there is a difference ;)
Jan
4
comment Efficient algorithm for iterative ranking of a vector
Please decipher how many read and writes there are in your code, opposed to my code. This should clarify where the difference comes from.
Jan
4
revised Efficient algorithm for iterative ranking of a vector
wrong
Jan
4
revised Efficient algorithm for iterative ranking of a vector
EDIT should be order n
Jan
4
answered Efficient algorithm for iterative ranking of a vector
Dec
22
comment One problem in my reference
check your bib file, generally bib only capitalises the first letter. To circumvent simply add a second brace pair around the title and/or author names.
Dec
7
comment Turn gfortran runtime errors into warnings
You could compile your own code with -fcheck-bounds -g the other code with -g (not -fcheck-bounds) and lastly, link with -fcheck-bounds, but as HPM, if bounds errors occur in the main program, chances are that it is doing something wrong is extremely high, I would never trust a program like that... :(
Nov
17
comment arc length of a curve in Fortran
@NikosEllinakis I can assure you, learn by trying is the way to learn programming.
Nov
17
answered arc length of a curve in Fortran
Nov
9
comment Is Python Object Instance a unique object in the language?
you have to define how they are compared using __eq__. Basically locates the myclass1 == example.container element and removes that.
1 2 3 4 5