; Maxima (computer algebra system) configuration file, lisp part.
+;
+; Also have a look at maxima/maxima-init.mac.
; Set directory for temporary files to ~/.maxima (used for plotting for
--- /dev/null
+/*
+ * Maxima (computer algebra system) configuration file, maxima part.
+ *
+ * Also have a look at maxima/maxima-init.mac.
+ */
+
+
+/* PACKAGES */
+
+/* Provides maxi() and mini() (and more). */
+load (descriptive);
+
+
+/* CUSTOM FUNCTIONS */
+
+/* Maxima's norm() can't calculate the 2-norm. Only works for non-complex
+ * matrices. */
+norm_2(x) := sqrt(maxi(eigenvalues(transpose(x) . x)[1]));
+
+/* vim: ft=maxima */