If \(0 \leq \mathrm{A} \leq \frac{\pi}{4}\), then \(\tan ^{-1}\left(\frac{1}{2} \tan 2 \mathrm{~A}\right)+\tan ^{-1}(\cot \mathrm{A})+\tan ^{-1}\left(\cot ^{3} \mathrm{~A}\right)\) is equal to
(A) \(\frac{\pi}{4}\)
(B) \(\pi\)
(C) 0
(D) \(\frac{\pi}{2}\)