Internal friction in a Ni–Ti-based glassy-crystal alloy