1. A method for programming a memory device, comprising: applying a first pulse to a constituent cell of the memory device, the cell having a structural phase-change material to store the cell's data, to leave the material in a first state; and then applying a second pulse to the cell to change the material from the first state to a second, different state, the second pulse having a generally triangular shape.