Package gomath is mathematics package for Golang.
Package expr hosts the implementation of string expression evaluator to evaluate basic mathematical expression and boolean expression.
Package geo enables performing mathematical operations on locations around the Earth.
Package math provides basic constants and mathematical functions.
This package provides mathematical functions that are not provided by the default math/big package (like logarithm).
This program is copyright (C) 1982 by D. E. Knuth; all rights are reserved. Unlimited copying and redistribution of this file are permitted as long as this file is not modified. Modifications are permitted, but only if the resulting file is not named tex.web. (The WEB system provides for alterations via an auxiliary file; the master file should stay intact.) See Appendix H of the WEB manual for hints on how to install this program. And see Appendix A of the TRIP manual for details about how to validate it. TeX is a trademark of the American Mathematical Society. METAFONT is a trademark of Addison-Wesley Publishing Company. Version 0 was released in September 1982 after it passed a variety of tests. Version 1 was released in November 1983 after thorough testing. Version 1.1 fixed “disappearing font identifiers” et alia (July 1984). Version 1.2 allowed `0' in response to an error, et alia (October 1984). Version 1.3 made memory allocation more flexible and local (November 1984). Version 1.4 fixed accents right after line breaks, et alia (April 1985). Version 1.5 fixed \the\toks after other expansion in \edefs (August 1985). Version 2.0 (almost identical to 1.5) corresponds to "Volume B" (April 1986). Version 2.1 corrected anomalies in discretionary breaks (January 1987). Version 2.2 corrected "(Please type...)" with null \endlinechar (April 1987). Version 2.3 avoided incomplete page in premature termination (August 1987). Version 2.4 fixed \noaligned rules in indented displays (August 1987). Version 2.5 saved cur_order when expanding tokens (September 1987). Version 2.6 added 10sp slop when shipping leaders (November 1987). Version 2.7 improved rounding of negative-width characters (November 1987). Version 2.8 fixed weird bug if no \patterns are used (December 1987). Version 2.9 made \csname\endcsname's "relax" local (December 1987). Version 2.91 fixed \outer\def\a0{}\a\a bug (April 1988). Version 2.92 fixed \patterns, also file names with complex macros (May 1988). Version 2.93 fixed negative halving in allocator when mem_min<0 (June 1988). Version 2.94 kept open_log_file from calling fatal_error (November 1988). Version 2.95 solved that problem a better way (December 1988). Version 2.96 corrected bug in "Infinite shrinkage" recovery (January 1989). Version 2.97 corrected blunder in creating 2.95 (February 1989). Version 2.98 omitted save_for_after at outer level (March 1989). Version 2.99 caught $$\begingroup\halign..$$ (June 1989). Version 2.991 caught .5\ifdim.6... (June 1989). Version 2.992 introduced major changes for 8-bit extensions (September 1989). Version 2.993 fixed a save_stack synchronization bug et alia (December 1989). Version 3.0 fixed unusual displays; was more \output robust (March 1990). Version 3.1 fixed nullfont, disabled \write{\the\prevgraf} (September 1990). Version 3.14 fixed unprintable font names and corrected typos (March 1991). Version 3.141 more of same; reconstituted ligatures better (March 1992). Version 3.1415 preserved nonexplicit kerns, tidied up (February 1993). Version 3.14159 allowed fontmemsize to change; bulletproofing (March 1995). Version 3.141592 fixed \xleaders, glueset, weird alignments (December 2002). Version 3.1415926 was a general cleanup with minor fixes (February 2008). Version 3.14159265 was similar (January 2014). Version 3.141592653 was similar but more extensive (January 2021). A reward of $327.68 will be paid to the first finder of any remaining bug. Although considerable effort has been expended to make the TeX program correct and reliable, no warranty is implied; the author disclaims any obligation or liability for damages, including but not limited to special, indirect, or consequential damages arising out of or in connection with the use or performance of this software. This work has been a “labor of love” and the author hopes that users enjoy it. Here is TeX material that gets inserted after \input webmac
Package calculator provides basic constants and mathematical functions for stock options.
Package gorgonia is a library that helps facilitate machine learning in Go. Write and evaluate mathematical equations involving multidimensional arrays easily. Do differentiation with them just as easily. Autodiff showcases automatic differentiation Basic example of representing mathematical equations as graphs. In this example, we want to represent the following equation Gorgonia provides an API that is fairly idiomatic - most of the functions in in the API return (T, error). This is useful for many cases, such as an interactive shell for deep learning. However, it must also be acknowledged that this makes composing functions together a bit cumbersome. To that end, Gorgonia provides two alternative methods. First, the `Lift` based functions; Second the `Must` function Linear Regression Example The formula for a straight line is We want to find an `m` and a `c` that fits the equation well. We'll do it in both float32 and float64 to showcase the extensibility of Gorgonia This example showcases the reasons for the more confusing functions. This example showcases dealing with errors. This is part 2 of the raison d'être of the more complicated functions - dealing with errors SymbolicDiff showcases symbolic differentiation
Package math provides basic constants and mathematical functions.
Package math32 provides basic constants and mathematical functions related to the float32 type.
Package GLaM provides mathematical types and operations for use with OpenGL.
Package convert is a collection of mathematical conversion functions.
Tensors is a package designed for facilitating the use of many-dimensional mathematical tensors.
Package geo contains a collection of 2-D types and other mathematical functions geared towards games.
Package GLaM provides mathematical types and operations for use with OpenGL.
Package kairos provides utilities for mathematical computations and analyses related to calculus and equations.
Package provides advanced mathematical functions and tools.
Package parsefloat converts a string in go expression format into a reverse polish notation representation of its mathematical transformation, as long as it only has float64's, functions of float64 from the math package, and predefined identifiers.
Package rand implements pseudo-random number generators. Random numbers are generated by a Source. Top-level functions, such as Float64 and Int, use a default shared Source that produces a deterministic sequence of values each time a program is run. Use the Seed function to initialize the default Source if different behavior is required for each run. The default Source is safe for concurrent use by multiple goroutines, but Sources created by NewSource are not. Mathematical interval notation such as [0, n) is used throughout the documentation for this package. For random numbers suitable for security-sensitive work, see the crypto/rand package. Package rand implements pseudo-random number generators. Random numbers are generated by a Source. Top-level functions, such as Float64 and Int, use a default shared Source that produces a deterministic sequence of values each time a program is run. Use the Seed function to initialize the default Source if different behavior is required for each run. The default Source is safe for concurrent use by multiple goroutines, but Sources created by NewSource are not. Mathematical interval notation such as [0, n) is used throughout the documentation for this package. For random numbers suitable for security-sensitive work, see the crypto/rand package. This example shows the use of each of the methods on a *Rand. The use of the global functions is the same, without the receiver.
Package srp Secure Remote Password protocol The principal interface provided by this package is the SRP type. The end aim of the caller is to to have an SRP server and SRP client arrive at the same Key. See the documentation for the SRP structure and its methods for the nitty gritty of use. BUG(jpg): This does not use the same padding and hashing scheme as in RFC 5054, and therefore is not interoperable with those clients and servers. Perhaps someday we'll add an RFC 5054 mode that does that, but today is not that day. It would be nice if this package could be used without having some understanding of the SRP protocol, but too much of the language and naming depends on at least some familiarity. Here is a summary. The Secure Remote Password protocol involves a server and a client proving to each other that they know (or can derive) their long term secrets. The client long term secret is known as "x" and the corresponding server secret, the verifier, is known as "v". The verifier is mathematically related to x and is computed by the client on first enrollment and transmitted to the server. Typically the server will store the verifier and the client will derive x from a user secret such as a password. Because the verifier can used like a password hash with respect to cracking, the derivation of x should be designed to resist password cracking if the verifier is compromised. The client and the server must both use the same Diffie-Hellman group to perform their computations. The server and the client each send an ephemeral public key to each other (The client sends A; the server sends B) With their private knowledge of their own ephemeral secrets (a or b) and their private knowledge of x (for the client) and v (for the server) along with public knowledge they are able to prove to each other that they know their respective secrets and can generate a session key, K, which may be used for further encryption during the session. Quoting from http://srp.stanford.edu/design.html (with some modification for KDF) This package does not address the actual communication between client and server. But through the SRP type it not only performs the calculations needed, it also performs safety and sanity checks on its input, and it hides everything from the caller except what the caller absolutely needs to provide. The key derivation function, KDF() 1. Both client and server: Checking whether methods have returned without error. This is particularly true of SRP.Key() and SetOthersPublic() 2. Client: Using an appropriate key derivation function for deriving x from the user's password (and nudging user toward a good password) 3. Server: Storing the v securely (sent by the client on first enrollment). A captured v can be used to masquerade as the server and be used like a password hash in a password cracking attempt 4. Both: Proving to each other that both have the same key. The package includes methods that can assist with that. ExampleServerClientKey is an example.
Package math provides basic constants and mathematical functions.
Package rocketc is fast, simple and lightweight library for CSV data manipulation and mathematical computation involving 2D Matrices.
Package set provides functions and an interface to work with sets of finite or infinite mathematical sets.
This program prints out how all the numbers from 0 up to 200 exclusive can be written using 1, 2, 3, 4, and 5 along with different mathematical operators.
Package set represents the mathematical set.
Package gocalc is for evaluating mathematical expressions at runtime. See https://github.com/justinsacbibit/gocalc-cl-sample for a sample console app that uses gocalc.
Package math provides basic constants and mathematical functions.
Package meval provides a mathematical expresison parser.
Package math32 provides basic constants and mathematical functions for float32 types.
Package GLaM provides mathematical types and operations for use with OpenGL.
Package expr provides a framework for parsing and evaluating mathematical expressions.
Package ecc provides mathematical operations over elliptic curves.
Mathematical art based on: https://blogs.scientificamerican.com/guest-blog/making-mathematical-art/
Package geo contains a collection of 2-D types and other mathematical functions geared towards games.
Package geo contains a collection of 2-D types and other mathematical functions geared towards games.
Package gomath contains an advanced mathematics library for the Go programming language.
Package math provides basic constants and mathematical functions.
Package mym -- provides miscellaneous mathematical functions.
Package gomathx provides high-performance mathematical operations for Go. GoMathX is a comprehensive mathematical library featuring generic vectors, matrices, and linear algebra operations. It's designed for scientific computing, data analysis, and machine learning applications.
Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Package lpstats provides an interface for simple statistics in Go. The interface contains mathematical and statistical functions - Absolute value - Arithmetic mean of a discrete value array - Equal for slices of signed integers - Expected value for a uniform distribution - Near equal (for float types) - Sign - Square - Sum - Variance of a discrete value array - Variance of a uniform distribution Most functions take integer and float values as arguments. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file. Copyright (c) 2023 thorstenrie All rights reserved. Use is governed with GNU Affero General Public License v3.0 that can be found in the LICENSE file.
Package conway implements Conway polyhedron notation, a mathematical system for describing complex polyhedra through systematic transformations of simple seed shapes.
Package kmosaic is the root of the kMOSAIC post-quantum cryptographic library: a key encapsulation mechanism and a digital signature built by composing standard post-quantum constructions over distinct hard problems, so that a mathematical break of one problem does not break the primitive.
Package gochart makes numerical charts of mathematical functions.
Package eval provides mathematical expression evaluation.
Package stackage implements a flexible stack type optimized for use in creating and presenting conditional Boolean statements, abstract mathematical constructs, or simple lists: the possibilities are endless!