Scientific Machine Learning: Foundations, Algorithms and Applications,