Hello World of Programming with Linear Algebra

#artificialintelligence 

Imagine this simplified code for inventory modeling. We're using floats for prices (bad), we store the data in global state, the architecture is far from even a simple web application. But the model is familiar enough to a typical software developer.) This (imaginary) application exists to track sales. A customer puts the desired products into a cart, we calculate the total price, and, later, perform the delivery.