Skip to content

texstremists/Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming

Numbersigns, quotes and ampersands.

GitHub license

Crafty

Tiny, useful codes go here, not fitting to any of the other categories.

  • startup: MATLAB startup file to add user's toolbox to the MATLAB path
  • Makefile-Matlab, simple makefile to build C++ MEX files outside MATLAB
  • colorname2RGB, normalized RGB representation of color names
  • swap, swap two input arguments

Computational-geometry

  • polysample, uniformly distributed points in a polygon. Use cases: Monte Carlo integration, constrained Voronoi tessellation.
  • triangulate, partition a convex or concave polygon into non-overlapping triangles. Use cases: integration on polygons, etc.
  • collinear, determines whether a set of points in $\mathbb{R}^n$ are collinear.

Post-processing

  • XML-colorMap-creator, a color map generator for Paraview

  • VTKWritter, a Matlab code for writing .vtk output files. Please read the comments for details.