Theory, Algorithms, and Software for Physics-Informed Deep Learning