MyraMath
utility Directory Reference
Directory dependency graph for utility:

Files

file  Array1.h [code]
 Container of values, allows random (i) access.
 
file  Array2.h [code]
 Container of values, allows random (i,j) access.
 
file  concatenate.h [code]
 Concatenates two std::vector<T>'s.
 
file  cumsum.h [code]
 Returns cumulative sum of a std::vector<T>. Reversible by diff()
 
file  diff.h [code]
 Returns finite difference of a std::vector<T>. Reverses cumsum()
 
file  eprintf.h [code]
 Returns a std::runtime_error() whose message has been populated using printf()-style formatting.
 
file  hashes.h [code]
 Hash functions to allow user-defined-types to be used as std::unordered_map keys.
 
file  ilinspace.h [code]
 Returns a vector of int's, over [min,max)
 
file  insertion_sort.h [code]
 Insertion sort for a contiguous range of T's.
 
file  network_sort.h [code]
 Sorting networks for small contiguous collections (array/vector). Falls back to insertion_sort() for large inputs.
 
file  Number.h [code]
 Various utility functions/classes related to scalar Number types.
 
file  Pack.h [code]
 Wraps a fixed size C-array. Think std::array, but before C++11.
 
file  random.h [code]
 Simplistic random number functions.
 
file  sortperm.h [code]
 Given a range, returns the permutation that will place it in sorted order.
 
file  sortunique.h [code]
 Reduces a std::vector to its unique entries, and sorts it.
 
file  stlprint.h [code]
 Routines for printing the contents of various std::container's to a std::ostream using operator <<.
 
file  Stopwatch.h [code]
 A multishot timing class, delegates to Timer.
 
file  stringprintf.h [code]
 A sprintf()-like function, that returns a std::string's by value instead of writing onto a char[] array.
 
file  sum.h [code]
 Returns sum of a std::vector<T>
 
file  Timer.h [code]
 Simplistic timing class, might dispatch to platform specific timers depending upon environment.
 
file  Workspace.h [code]
 Fixed size container of values. Contiguous storage, allows random access. Unlike a typical std::container, does not necessarily initialize with values.