(CNN) -- A female student shot two other women and herself Friday inside a classroom on the Baton Rouge campus of Louisiana Technical College, authorities said.

Emergency personnel gather at Louisiana Technical College in Baton Rouge, where three people died Friday.

Baton Rouge police Sgt. Don Kelly said officers responding to a 911 call at 8:36 a.m. found all three dead in a second-floor classroom.

"There was mass pandemonium, people running," Kelly told The Associated Press. "One officer -- the first into the classroom -- told me he could still smell gunpowder."

The names of the dead were not released. The women's ages were 21, 23 and 26, according to the school's Web site.

About 20 people were in the classroom at the time of the shootings, Kelly said. He would not give the room number or say what kind of class it was. Watch Kelly describe the sequence of events »

No shots were fired anywhere else, Kelly said.

"It's all self-contained in one classroom," Kelly said. The shooter was not believed to have left the room at any point, he said, and "no other students outside the classroom were in any danger."

Police interviewed the other students who were in the classroom to find out why the shootings occurred, Kelly said.

Students in other classes were kept in their rooms for about two hours and were released after brief questioning by police, student Louis Davis told the AP.

The school's Web site said classes were canceled for the day, and an announcement would be made about when they would resume next week.

"Counselors are currently on-site providing support for students, faculty, staff, and family members," the Web site said. "Our prayers are with the families of these victims."

The school offers courses in aircraft maintenance, cosmetology, industrial mechanics, nurse assisting, plumbing and other vocations. It has nine regional campuses across the state. E-mail to a friend

Copyright 2008 CNN. All rights reserved.This material may not be published, broadcast, rewritten, or redistributed. Associated Press contributed to this report.

All About School Shootings