in reply to Re^5: The problem of getting the unit vector "Undefined subroutine &main::Normalize"
in thread The problem of getting the unit vector "Undefined subroutine &main::Normalize"
Yeap, you are right. I thought Normalize is a function in accelrys or perl before. However, it seems it's not for both. So I am using perl to write the sub Normalize to get unit vector from vector and it doesn't have relationship to materialsscript module anymore. Because I am new to perl, it takes me time to read related rules in perl and write it
|
|---|