\[w=\mathbf{K}_{\nu}\left(x\right)+AJ_{\nu}\left(x\right)+BY_{\nu}\left(x\right).\]