The generalised inverse