package
1.2.1
Repository: https://github.com/daltonsw/aocgo.git
Documentation: pkg.go.dev

# Functions

AbsVal calculates the absolute value of a number.
AverageListOfNums takes a list of Number elements and returns the average of all of them.
Distance2D calculates the Euclidean distance between two points in 2D space.
Distance3D calculates the Euclidean distance between two points in 3D space.
ExtractIntsFromString will find all groups of consecutive digits in a string.
FindDuplicates will find any elements that appear more than once in the slice.
FindMin finds and returns the largest value in the list.
FindMin finds and returns the smallest value in the list.
FindSubstringsOfLength takes a string and a desired length, and returns all unique substrings of that length.
FlattenList takes a slice matrix of values and will turn it into a 1D slice.
ManhattanDistance2D calculates the Manhattan distance between two points in 2D space.
ManhattanDistance3D calculates the Manhattan distance between two points in 3D space.
NthElements takes a slice of elements and an interval.
NumOccurrences counts the number of times a specific value occurs in a slice.
RemoveAtIndex removes the value at a given index from a slice.
RemoveDuplicates removes duplicate elements from a slice.
ReverseSlice reverses the order of elements in a slice.
Slope2D calculates the slope between two points in 2D space.
TransposeMatrix takes a 2D slice (matrix) and transposes it (swaps rows and columns).

# Interfaces

Number interface is a Generic wrapper around numeric types that data is commonly used in.
Value interface is a Generic wrapper around types that data is commonly used in.