Input a linear algebra expression to generate Julia code that computes it. The following operations are allowed: Multiplication (*), addition (+), subtraction (-), transposition (trans(X)), and inversion (inv(X)).


Load successful
  • Least Squares:                                     b:=(XTX)1XTy
  • Generalized Least Squares:               b:=(XTM1X)1XTM1y
  • Triangular Matrix Inversion:          X10:=L10L001X20:=L20+L221L21L111L10X11:=L111X21:=L221L21
  • Image Restoration:                          H:=HT(HHT)1yk:=Hy+(InHH)xk
  • Stochastic Newton:                         Bk:=kk1Bk1(InATWk((k1)Il+WkTABk1ATWk)1WkTABk1)
  • Least Squares
  • Generalized Least Squares
  • Triangular Matrix Inversion
  • Image Restoration
  • Stochastic Newton

Link for the expression and properties.

Linnea minimizes the number of floating-point operations. The generated algorithms are a selection of the best ones that are found within 10 seconds. Additional features of Linnea, such as a longer generation time or the option to generate a larger number of algorithms can be accessed by installing Linnea.

                    # The generated algorithm will appear here.