New pages
From ProgrammingExamples
(newest | oldest) View (newer 50 | older 50) (20 | 50 | 100 | 250 | 500)
- 21:21, 21 November 2016 CPP/OpenMP/ParallelFor (hist) [616 bytes] Daviddoria (Talk | contribs) (Created page with "==ParallelFor.cpp== <source lang="cpp"> #include <iostream> int main(int,char*[]) { #pragma omp parallel for for(int x=0; x < 100; x++) { std::cout << x <...")
- 21:21, 21 November 2016 OpenMP (hist) [81 bytes] Daviddoria (Talk | contribs) (Created page with "Simple OpenMP examples. * Perform a parallel for loop")
- 08:59, 20 November 2016 CPP/decltype (hist) [566 bytes] Daviddoria (Talk | contribs) (Created page with "==decltype.cpp== <source lang="cpp"> #include <iostream> void variable() { float a = 1.2f; decltype(a) b = a + .3; std::cout << b << std::endl; } float f() {...")
- 09:49, 19 November 2016 CPP/bind (hist) [810 bytes] Daviddoria (Talk | contribs) (Created page with "==bind.cpp== <source lang="cpp"> #include <iostream> #include <functional> void add(int a, int b) { std::cout << "a: " << a << " b: " << b << std::endl; } int main(int,c...")
- 07:45, 10 November 2016 CPP/Boost/BGL/PrimMST (hist) [2,728 bytes] Daviddoria (Talk | contribs) (Created page with "==DijkstraDirected.cpp== <source lang="cpp"> #include <iostream> #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/prim_...")
- 09:02, 15 May 2015 OpenCV/ImageProcessing/ExtractChannel (hist) [1,027 bytes] Daviddoria (Talk | contribs) (Created page with "You will want to make sure that you include the imgproc, highgui, and core, libraries in your project settings. ==ExtractChannel.cpp== <source lang="cpp"> #include "highgui.h...")
- 06:20, 15 May 2015 CPP/Eigen/SimplicialLDLT (hist) [1,484 bytes] Daviddoria (Talk | contribs) (Created page with "==SimplicialLDLT.cpp== <source lang="cpp"> #include <iostream> #include <Eigen/Sparse> int main(int, char *[]) { // Create matrix typedef Eigen::SparseMatrix<double> Spa...")
- 15:36, 12 May 2015 CPP/Boost/ClassFunctionPointer (hist) [876 bytes] Daviddoria (Talk | contribs) (Created page with "==Function.cpp== <source lang="cpp"> #include <boost/function.hpp> #include <boost/bind.hpp> #include <iostream> class MyClass { private: double Update1() { std::cou...")
- 11:38, 21 March 2013 Matlab/ReadTextFile (hist) [116 bytes] Daviddoria (Talk | contribs) (Created page with '==ReadTextFile.m== <source lang="bash"> data=textread('LocalizationError.txt'); plot(data(:,1), data(:,2)) </source>')
- 11:38, 21 March 2013 Matlab (hist) [72 bytes] Daviddoria (Talk | contribs) (Created page with '* Read a space separated text file into a matrix')
- 13:45, 25 September 2012 CPP/Boost/Geometry/CoordinateConversion (hist) [2,150 bytes] Daviddoria (Talk | contribs) (Created page with '==Spherical.cpp== <source lang="cpp"> #include <boost/geometry/geometry.hpp> #include <iostream> static void CartesianToSpherical(); static void SphericalToCartesian(); int ma…')