A rotary electric machine comprising an annular stator and a rotor arranged on a rotational shaft arranged rotationally about a rotational axis in the stator to extend longitudinally through the stator with an air gap between the stator and the rotor, the rotor having at least one rare earth permanent magnet arranged with a lengthwise direction parallel with the rotational axis, said rare-earth magnet including a first surface extending in said lengthwise direction, a second surface distant in a thickness direction from the first surface and extending in the lengthwise direction, and end surfaces located in the opposite end portions as seen in the direction of the lengthwise direction, at least one of the end surfaces being projected beyond a corresponding end surface of the stator toward a lengthwise outward direction; wherein: said rare-earth permanent magnet comprises magnet material particles containing rare-earth materials sintered and formed into a shape with a trapezoidal cross-section and having at least one of the end surfaces formed into a first slanted surface which is slanted and extends from the lengthwise end portion of the first surface toward the lengthwise outward direction so that the magnet has a predetermined three dimensional shape having a length of the first surface shorter than the second surface; said rare-earth permanent magnet includes divided regions at least including a lengthwise central region, and a first end region which extends from the aforementioned at least one end surface to a portion apart from the end surface for a predetermined lengthwise distance; in the central region, the magnet material particles in the central region are such that easy magnetization axes of the magnet material particles included in the central region are oriented in a manner of parallel orientation wherein the easy magnetization axes of the magnet material particles are oriented perpendicularly to the first surface which extends in the lengthwise direction; said magnet material particles in the first end region are oriented in a portion adjacent to the at least one end surface toward the first surface in such a manner that the easy magnetization axes of the magnet material particles are oriented along the slanted angle of the first slanted surface, but in a portion adjacent to the central region, the magnet material particles are oriented such that the easy magnetization axes of the magnet material particles are oriented perpendicularly to the first surface, and in a portion between the at least one end surface and the central region, the easy magnetization axes of the magnet material particles are oriented such that the orientation angle of the easy magnetization axes of the magnet material particles are gradually changed from the end surface to the central region and converged toward the first surface. said rare-earth permanent magnet comprises magnet material particles containing rare-earth materials sintered and formed into a shape with a trapezoidal cross-section and having at least one of the end surfaces formed into a first slanted surface which is slanted and extends from the lengthwise end portion of the first surface toward the lengthwise outward direction so that the magnet has a predetermined three dimensional shape having a length of the first surface shorter than the second surface; said rare-earth permanent magnet includes divided regions at least including a lengthwise central region, and a first end region which extends from the aforementioned at least one end surface to a portion apart from the end surface for a predetermined lengthwise distance; in the central region, the magnet material particles in the central region are such that easy magnetization axes of the magnet material particles included in the central region are oriented in a manner of parallel orientation wherein the easy magnetization axes of the magnet material particles are oriented perpendicularly to the first surface which extends in the lengthwise direction; said magnet material particles in the first end region are oriented in a portion adjacent to the at least one end surface toward the first surface in such a manner that the easy magnetization axes of the magnet material particles are oriented along the slanted angle of the first slanted surface, but in a portion adjacent to the central region, the magnet material particles are oriented such that the easy magnetization axes of the magnet material particles are oriented perpendicularly to the first surface, and in a portion between the at least one end surface and the central region, the easy magnetization axes of the magnet material particles are oriented such that the orientation angle of the easy magnetization axes of the magnet material particles are gradually changed from the end surface to the central region and converged toward the first surface.