Repositories
In this section, repositories are summarized by programming languages.
C++
Libraries
“dualcomplex” is a cross-platform C++ template library that provides operations for dual complex numbers. It can be used as a header-only library and supports C++11 or later.
“dualquat” is a cross-platform C++ template library that provides operations on dual quaternions using Eigen. It can be used as a header-only library and supports C++11 and later.
“plucker” is a cross-platform C++ template library that provides operations on Plücker coordinates of lines. It can be used as a header-only library and supports C++11 and later.
Examples
This is a collection of examples that use CMake for each case of a C++ project.
This is a collection of examples that use C++11.
- BitonicSort
- ComparingFloatingPointNumbers
- ConvertString
- ExpressionTemplate
- HalfPrecisionFloatingPoint
- LUDecomposition
- Logger
- PimplIdiom
- ParseFntFile
- Range
- ServiceLocator
- Singleton
- SpecificInterface
- ThreadPool
- Other
This is a collection of examples that use C++14 or C++17.
circular_buffer
Circular buffer implemented using only the standard library.
stack_resource
A stack memory allocator using only the standard library.
pubsub_event
This is a Publish-Subscribe messaging model implemented using only the standard library.
dual
Header-only class template for dual numbers using only the standard library.
This is an example of a simple mark-and-sweep garbage collection using C++.
This is a collection of examples of real-time rendering techniques using OpenGL.
It supports C++11 or later and OpenGL 4.x.
- AdaptiveTerrainTessellation
- BillboardBeam
- Bloom
- Dithering
- KawaseBlur
- LightStreak
- RadialBlur
- ToneMapping
- Other
Java
Examples
This is an example of Recursive Dimensional Clustering, one of the fast algorithms for finding collisions or clusters in a dataset.
Python
Modules
This package provides modules for manipulating floating point numbers quantization using NumPy.
Pack multiple images of different sizes or formats into one image.
This is a debugging tool for tracing malloc that occurs inside a function or class.
perfbench measures execution time of code snippets with Timeit and uses Plotly to visualize the results.
Examples
A simple example of how to use pyenv + poetry + tox + pytest.
This package provides a class for manipulating quaternion objects.
Code snippets
This section summarizes code snippets by themes/topics.
Mathematics
Topic | Links | Language / Libraries |
---|---|---|
Complex number | Representation and interpolation of rotations | C++ |
Geometry | Delaunay triangulation | Python |
Normal vectors to a 2D curve | Python (matplotlib / numpy / sympy) | |
Normal vectors to a surface | Python (matplotlib / numpy / sympy) | |
Analysis | Taylor series | Python (matplotlib / numpy / sympy) |
Vector calculus | Laplacian (utils) | Python (matplotlib / numpy) |
Frenet–Serret formulas in 2D | Python (matplotlib / numpy / sympy) | |
Frenet–Serret formulas | Python (matplotlib / numpy / sympy) | |
Set theory | Pairing function | Python (matplotlib / numpy) |
Probability theory | Inverse transform sampling | Python (matplotlib / numpy) |
Monte Carlo Integration | Python (matplotlib / numpy / scipy) |
Physics
Topic | Links | Language / Libraries |
---|---|---|
Rigid body dynamics | Translational and rotational motions | Python (numpy) |
Translational and rotational motions (using quaternion) | Python (numpy) |
Computer science
Topic | Links | Language / Libraries |
---|---|---|
Floating point number | Floating-point comparison | C++ |
Color | CIE1931_color_space CIE_daylight_components, BabelColor_spectral_data | Python (matplotlib / numpy / pandas / scipy) |
Noise | Perlin noise - 1D/2D/3D/4D | Python (matplotlib / numpy) |
Sort | Bitonic sort | C++ |
Python
Topic | Links | Language / Libraries |
---|---|---|
Python | How to limit concurrency with asyncio | |
How to hook properties with Python3 dataclasses | ||
matplotlib | Customized colormap | |
Discrete colormap | ||
pytorch | Differential | |
Confusion matrix |