Source code for mathematics

#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Mathematical functions.

:Date: 2019-10-30

.. module:: mathematics
  :platform: *nix, Windows
  :synopsis: Mathematical functions.

.. moduleauthor:: Daniel Weschke <daniel.weschke@directbox.de>
"""
from math import gcd

[docs]def lcm(a, b): """Compute the lowest common multiple of a and b""" return a/gcd(a, b)*b