Table of Contents

SMath API Reference

Welcome to the SMath API Reference.

SMath is designed around .NET generic math, offering allocation-free, static mathematical methods across several domains.

Namespaces

  • SMath: Core utilities, expansions, sequences, factorials, determinants, and binary integer extensions.
  • SMath.Geometry1D: 1D geometric constructs such as line segments.
  • SMath.Geometry2D: 2D points, lines, circles, ellipses, polygons, vectors, and planar shapes.
  • SMath.Geometry3D: 3D points, spherical geometry, cuboids, ellipsoids, and voxel grids.
  • SMath.Functions1: 1D mathematical functions (trigonometric, power, roots, sigmoid, logistic, etc.) with explicit parity, continuity, and derivatives.
  • SMath.Functions2: 2D test optimization functions (Ackley, Booth, etc.).
  • SMath.FunctionsN: n-dimensional test functions and vector calculations.
  • SMath.Statistics: Descriptive statistics, moments, means, covariance, correlation, and histograms with Span-based overloads.

Select a namespace or type from the navigation tree on the left to view detailed member signatures and documentation comments.