Skip to content

mkchandler/MathFunctionsElixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathFunctions

Build Status Coverage Status

This is a code exercise to implement the following math functions:

  • Min
  • Max
  • Average
  • Mode

The goal is to implement them in the lowest level possible without making use of built-in functions.

Usage

You can run this from iex like so:

$ iex -S mix
$ iex(1)> MathFunctions.min([5, 2, 3])
$ 2

See a detailed view of the test results by running:

$ mix test --trace

About

An example of implementing some math functions using Elixir.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages