  An analytical formulation to compute a magnetic field generated from an
uniformly magnetized cylinder ferromagnet is developed. Exact solutions of the
magnetic field generated from the magnetization pointing in an arbitrary
direction are derived, which are applicable both inside and outside the
ferromagnet. The validities of the present formulas are confirmed by comparing
them with demagnetization coefficients estimated in earlier works. The results
will be useful for designing practical applications, such as high-density
magnetic recording and microwave generators, where nanostructured ferromagnets
are coupled to each other through the dipole interactions and show cooperative
phenomena such as synchronization. As an example, the magnetic field generated
from a spin torque oscillator for magnetic recording based on microwave
assisted magnetization reversal is studied.
