When writing a math definition of a function, for example, the function may have different results depending on the value of the inputs. These are called cases and are grouped together with a large left curly brace. If you’re trying to typeset this in LaTeX, the cases environment makes this nice and easy. It’s easiest [...]
Posts Tagged ‘function’
Math case definitions in LaTeX
Posted: 12th December 2011 by Tim in LaTeXTags: amsmath, case, cases, definition, document, environment, function, LaTeX, layout, math, package
0
Using gnuplot with LaTeX
Posted: 28th July 2011 by Tim in Gnuplot, LaTeXTags: document, function, gnuplot, graph, graphicx, include, input, LaTeX, layout, math, maths, plot
Gnuplot is a great tool for creating plots. LaTeX is a great tool for creating documents. Both are (or at least can be) created using a text editor and compiling the source. Both work with Windows, linux/unix and Mac. Wouldn’t it be great if you could include a gnuplot plot in a LaTeX document without [...]
Calling object functions in C++ with pthreads
Posted: 13th July 2009 by Tim in C++Tags: C, call, class, coding, function, programming, pthreads, Software Development, software engineering
For various reasons, you cannot create a pthread on an object’s function. There is, however, a few ways to get around that. One of the most flexible ways of doing this is to create a wrapper function to call an object’s method, taking a pointer to the object as an argument. For example, if you [...]