Factorisation of a function

Most often, a function's factorisation refers to the decomposition of an arbitrary function f:A→B into gh=f, where g is a surjection A↠\Imagef and h is an injection \Imagef↣B.