Investigation on mechanical and optical properties of the Ti–doped NbAl3 compound by first–principle calculation