algorithms

command
v0.0.0-...-d0c3f23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

evaluating to an AST tree by walking in a prefix/infix/postfix manner gives the prefix/infix/postfix notation respectively

given a known list of numbers, try to match a hash function that perfectly hashes all the input with minimal table size

https://en.wikipedia.org/wiki/Goertzel_algorithm https://web.archive.org/web/20180628024641/http://en.dsplib.org/content/goertzel/goertzel.html provides an efficient way to calculate a DFT term if we don't care about the full spectrum it is slower than the FFT for the full frequency spectrum, but it is faster if we only care about a few terms

https://www.geeksforgeeks.org/horners-method-polynomial-evaluation/

algorithm described at https://en.wikipedia.org/wiki/Operator-precedence_parser

algorithm described here, parses math expressions https://www.engr.mun.ca/~theo/Misc/exp_parsing.htm

https://en.wikipedia.org/wiki/Reservoir_sampling

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL