Gain-current relation for GaAs lasers with n-type and undoped active layers | Synapse