Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

djlove

@djlove
About
Posts
7
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Intel MKL
    D djlove

    These guys have made a wrapper around the MKL: http://www.dnanalytics.net/doku.php Might help?

    Algorithms csharp tutorial question

  • Receiving WM_DEVICECHANGE message from a console app
    D djlove

    I am just guessing that you might need a message pump, like you get when you call Application.Run in a Winforms project. If you must use Console rather than Windows forms project type then you can add an Application.Run statement into your program (once you add the relevant namespaces) and then you will receive messages. Just a hunch...

    C# csharp javascript question

  • Division Algorithm
    D djlove

    Hi, I was playing around with a BigInteger class recently and so have come across the same problem. The fastest way I could think of is below, if you say x / y = z (with remainder = r). 1. Find the leading 64 bits of your big number (x) 2. Find the leading 32 bits of your divisor (y). 3. Divide (1) by (2) to give you the leading 32 bits of z. 4. Multiply (3) by y and take this number from x Continually applying steps 1-4 reduces the size of x until you are within +/- 1 of the correct value of z. This is fast because all operations are O(n) or less if you code them properly! Hope this is of some use & good luck! Russ

    Algorithms help c++ graphics algorithms

  • Rasing Asynchronous delegates in the invocation order
    D djlove

    I'm not sure you can control the order in which delegates are invoked. Instead you could use a System.Timers.Timer object (which will execute on a thread pool thread) and a synchronized list of work items. You add work items to the list and the timer routine takes them off again.

    C# tutorial

  • Redirect Console output to text file
    D djlove

    Hi all, I want my Console.WriteLine(...) output to be saved in a text file AS WELL AS displayed on the console screen. I know how to get the output to go to the text file instead of the screen (use Console.SetOut to the stream provided by a new StreamWriter, say). But I can't get the output to go to BOTH! I am probably being very stupid, and there is a simple answer, but all the google hits discuss the situation where you want the output to go to the text file instead of the console window. Thanks for anything you can suggest! Russ

    C# tutorial

  • Numerical Recipes in C#
    D djlove

    Good find. It always takes me an age to translate something from the book into CS, this is a real time saver!

    Algorithms csharp html com tools question

  • How to find permutations
    D djlove

    You might be interested in this: http://en.wikipedia.org/wiki/Factoradic [^] and there is also some code at: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/permutations.asp [^] This is a very good and general way of calculating Permutations, hope this helps!

    Algorithms tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups