I have used LabVIEW for laser propagation analysis and beam delivery system design (matrix based), but I don't think this is what you are looking for. LabVIEW can be used for just about any programming task, so it is certainly possible. You may find it easier to use the mathscript node if you are more familiar with text based languages.