Laser heating of a magnetically confined plasma