]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Merge remote-tracking branch 'nocreeps/master'
authorSimon Ruderich <simon@ruderich.org>
Sat, 18 Feb 2012 22:34:35 +0000 (23:34 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 18 Feb 2012 22:34:35 +0000 (23:34 +0100)
gdbinit
maxima/maxima-init.lisp
maxima/maxima-init.mac
setup.sh

diff --git a/gdbinit b/gdbinit
index 71e5ee87e541bc61426935da4b50cfbb9f1f3b12..4fdd8e63d826206f13d228d30b9cdb59e8703d25 100644 (file)
--- a/gdbinit
+++ b/gdbinit
@@ -1,5 +1,20 @@
 # GDB (GNU debugger) configuration file.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This file is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This file is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 # Save command history.
 set history save on
index 82b90d4496872321f6d4b97fa21b9fb0064d88ec..fefdadd05c1bc836ba885fd782113023e3286a2e 100644 (file)
@@ -2,8 +2,23 @@
 ;
 ; Also have a look at maxima/maxima-init.mac.
 
+; Copyright (C) 2011-2012  Simon Ruderich
+;
+; This file is free software: you can redistribute it and/or modify
+; it under the terms of the GNU General Public License as published by
+; the Free Software Foundation, either version 3 of the License, or
+; (at your option) any later version.
+;
+; This file is distributed in the hope that it will be useful,
+; but WITHOUT ANY WARRANTY; without even the implied warranty of
+; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+; GNU General Public License for more details.
+;
+; You should have received a copy of the GNU General Public License
+; along with this file.  If not, see <http://www.gnu.org/licenses/>.
+
 
 ; Set directory for temporary files to ~/.maxima (used for plotting for
-; example). Thanks to rootzlevel in #faui2k9 on IRCnet (2011-05-28 21:52).
+; example). Thanks to rootzlevel in #faui2k9 on IRCnet (2011-05-28 21:52 CET).
 (setf *maxima-tempdir*
       (namestring (merge-pathnames ".maxima/" (user-homedir-pathname))))
index f270c10f3f5bef5153c78a901547447d4fc16c57..01cf66ead41e1ce7c16e5ca4d642afd3352323ae 100644 (file)
@@ -4,6 +4,23 @@
  * Also have a look at maxima/maxima-init.mac.
  */
 
+/*
+ * Copyright (C) 2011-2012  Simon Ruderich
+ *
+ * This file is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this file.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 
 /* CUSTOM FUNCTIONS */
 
@@ -13,7 +30,7 @@ norm(x) := sqrt(transpose(x) . x);
 /* Maxima's mat_norm() can't calculate the 2-norm. Thanks to Wolfgang Lindner
  * (http://www.ma.utexas.edu/pipermail/maxima/2007/006300.html) for an
  * improved version. */
-mat_norm2(x) := sqrt(lmax(eigenvalues(transpose(conjugate(x)).x)[1]));
+mat_norm2(x) := sqrt(lmax(eigenvalues(transpose(conjugate(x)) . x)[1]));
 
 /* Shortcut to perform lu factorization. */
 lu(x) := block(x : lu_factor(x), get_lu_factors(x));
index de8761cc0b8c88824333b4724ebe4ab53302a609..6004b6c15fac18195b2899fa3557e61500ed6ff1 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -2,6 +2,21 @@
 
 # Setup script for miscellaneous configuration files.
 
+# Copyright (C) 2011-2012  Simon Ruderich
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
 
 . ../lib.sh