Mathematics

Back to PastelSys

This section contains fundamental mathematical tools which are used throughout Pastel. More complicated mathematical tools, building on these, can be found from PastelMath. Much of the need for the tools at this level can be explained by the need to provide support for multi-dimensional arrays.

Learn more

Mathematical functions Tuples
Numbers Vectors
Point abstraction Why are there no Point and Normal classes?
Rectangles

Files

An aggregate file for basic mathematics

maths.h

Histograms

histogram.h

histogram.hpp

Mathematical constants

constants.h

constants.hpp

Topology enum for shapes

topology.h