/matsa

a Go Language library that includes collections, statistics, sets, and linear algebra

Primary LanguageGoApache License 2.0Apache-2.0

matsa

A Go Language library that includes collections, statistics, sets, and linear algebra.

You can learn more about me at https://www.linkedin.com/in/mtmoses

This was created to fill the need to have a way to calculate and manipulate lists (Go Slices) with chaining capability. The library includes:

Collections

  • Map
  • Reduce
  • Filter
  • Reject
  • All
  • Any
  • Contains
  • Shuffle

Statistics

  • Sum
  • Mean
  • GeometricMean
  • HarmonicMean
  • Median
  • Mode
  • StandardDeviation
  • Variance
  • Percentile
  • Quartile
  • InterQuartileRange
  • Correlation
  • Pearson
  • Covariance

Sets

  • Without
  • Union
  • Intersection
  • Difference
  • Uniq

Linear

  • Abs
  • Add
  • Sub
  • Mul
  • Dot
  • Distance
  • Norm

Sort

  • QuickSort
  • ShellSort

Copyright 2015 Todd Moses

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.