Top 6 Go Math Libraries

share link

by aswini1 dot icon Updated: Mar 16, 2023

technology logo
technology logo

Guide Kit Guide Kit  

Go Math Libraries offer various features, making working with mathematical computations and analysis easy. These libraries offer various mathematical functions which can be used for performing common calculations. These functions include logarithmic functions, trigonometric functions, and many more. 


The Go Math programming language is known for offering high performance, so the math libraries built with Go are often fast and efficient. It makes it ideal for larger datasets or when performing complex calculations. They also offer various data structures which can be used for storing and manipulating mathematical data like matrices, vectors, and different data types. It also offers tools for visualizing mathematical data like charts and graphs. These tools will help make complex mathematical concepts easy to understand. 


Here is the list of the top 6 Go Math Libraries handpicked to help developers perform mathematical computations and analysis easily and efficiently. 

gonum: 

  • Offers a package for performing linear algebra operations like vector operations, matrix operations, and solving linear systems of equations. 
  • Provides a package for optimization that includes constrained, unconstrained, and gradient-based optimization algorithms. 
  • Offers a package for working with graphs, like algorithms for shortest path finding, graph traversal, and many more.  

gonumby gonum

Go doticonstar image 6622 doticonVersion:v0.13.0doticon
License: Permissive (BSD-3-Clause)

Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more

Support
    Quality
      Security
        License
          Reuse

            gonumby gonum

            Go doticon star image 6622 doticonVersion:v0.13.0doticon License: Permissive (BSD-3-Clause)

            Gonum is a set of numeric libraries for the Go programming language. It contains libraries for matrices, statistics, optimization, and more
            Support
              Quality
                Security
                  License
                    Reuse

                      stats: 

                      • Offers functions for calculating basic statistics like median, variance, standard deviation, mean, and mode. 
                      • Offers functions for working with a probability distribution, like calculating probability density functions, generating random numbers from different distributions, and cumulative distribution functions. 
                      • Offers functions for conducting hypothesis tests like chi-squared tests, ANOVA tests, and t-tests. 

                      statsby montanaflynn

                      Go doticonstar image 2759 doticonVersion:v0.7.1doticon
                      License: Permissive (MIT)

                      A well tested and comprehensive Golang statistics library package with no dependencies.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                statsby montanaflynn

                                Go doticon star image 2759 doticonVersion:v0.7.1doticon License: Permissive (MIT)

                                A well tested and comprehensive Golang statistics library package with no dependencies.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          gosl: 

                                          • Provides various numerical methods like numerical integration, optimization algorithms, and root finding. 
                                          • Provides a package for linear algebra operations like vector and matrix operations, eigenvalue and eigenvector calculations, linear systems solve, and more. 
                                          • Offers a package for solving differential equations, including partial differential equations and ordinary differential equations. 

                                          goslby cpmech

                                          Go doticonstar image 1749 doticonVersion:v1.2.11doticon
                                          License: Permissive (BSD-3-Clause)

                                          Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    goslby cpmech

                                                    Go doticon star image 1749 doticonVersion:v1.2.11doticon License: Permissive (BSD-3-Clause)

                                                    Linear algebra, eigenvalues, FFT, Bessel, elliptic, orthogonal polys, geometry, NURBS, numerical quadrature, 3D transfinite interpolation, random numbers, Mersenne twister, probability distributions, optimisation, differential equations.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              mathgl: 

                                                              • Provides various tools for creating 2D and 3D plots of mathematical data like line plots, scatter plots, contour plots, and more. 
                                                              • Offers functions for visualizing vector fields, including vector fields and streamline plots. 
                                                              • Offers a package for symbolic math operations like integration, simplification, and differentiation of mathematical equations.  

                                                              mathglby go-gl

                                                              Go doticonstar image 498 doticonVersion:v1.0.0doticon
                                                              License: Permissive (BSD-3-Clause)

                                                              A pure Go 3D math library.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        mathglby go-gl

                                                                        Go doticon star image 498 doticonVersion:v1.0.0doticon License: Permissive (BSD-3-Clause)

                                                                        A pure Go 3D math library.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  fixed: 

                                                                                  • Offers functions for performing arithmetic operations like subtraction, addition, division, and multiplication. 
                                                                                  • Provides functions for calculating trigonometric functions like cosine, sine, and tangent. 
                                                                                  • Offers functions for calculating logarithmic and exponential functions like the base 2 and natural logarithm.  

                                                                                  fixedby robaho

                                                                                  Go doticonstar image 296 doticonVersion:Currentdoticon
                                                                                  License: Permissive (MIT)

                                                                                  high performance fixed decimal place math library for Go

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            fixedby robaho

                                                                                            Go doticon star image 296 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                            high performance fixed decimal place math library for Go
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      gomatrix: 

                                                                                                      • Provides various matrix operations like matrix addition, subtraction, multiplication, division, and many more.  
                                                                                                      • Offers functions for linear algebra operations like matrix decomposition, eigenvector, and eigenvalue calculations, inversion, singular value decomposition, and many more.  
                                                                                                      • Offers functions for vector operations like cross and dot product and normalization.  

                                                                                                      gomatrixby GeertJohan

                                                                                                      Go doticonstar image 221 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (BSD-2-Clause)

                                                                                                      Displays "The Matrix" in a terminal

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                gomatrixby GeertJohan

                                                                                                                Go doticon star image 221 doticonVersion:Currentdoticon License: Permissive (BSD-2-Clause)

                                                                                                                Displays "The Matrix" in a terminal
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          See similar Kits and Libraries