Monthly Archives: February 2013

C++ – an example of undefining min, max macro with VC++

Advertisements

Posted in C++, Programming | Leave a comment

vim commands

Cursor movement Note: Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines. Insert Mode – Inserting/Appending text Editing Marking text (visual mode) Visual commands Cut and Paste Exiting Search/Replace Working with … Continue reading

Posted in C++, Programming | Leave a comment

Markov and Viterbi – implemented by Brian Beckman

https://github.com/rebcabin/DotNetExtensionsImproved From Wikipedia – information on Markov and Viterbi: A hidden Markov model (HMM) is a statistical Markov model in which the system being modeled is assumed to be a Markov process with unobserved (hidden) states The Viterbi algorithm is … Continue reading

Posted in .NET, Programming | Leave a comment

Compiling open MPI application on Windows

When you compile OpenMPI on Windows, you should define the following preprocessor. OMPI_IMPORTS OPAL_IMPORTS ORTE_IMPORTS Example) c:\>mpicxx test.cpp -DOMPI_IMPORTS -DOPAL_IMPORTS -DORTE_IMPORTS

Posted in C++, Programming | Leave a comment