aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2004-11-27 04:13:08 +0000
committerJay Belanger2004-11-27 04:13:08 +0000
commit79d2746f47d96a071510319a84e3891d5cd4547a (patch)
treedcb079aa79511fcdecac3ea13aab033cdecadac9
parent388df0be56c59f062a57d437c02c60ee21201b72 (diff)
downloademacs-79d2746f47d96a071510319a84e3891d5cd4547a.tar.gz
emacs-79d2746f47d96a071510319a84e3891d5cd4547a.zip
(math-expr-parts, math-try-solve-sign, math-solve-b, math-int-factors)
(math-double-roots): Declare them (for real this time).
-rw-r--r--lisp/calc/calcalg2.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/calc/calcalg2.el b/lisp/calc/calcalg2.el
index b7c837c7b4f..e1198bab8b3 100644
--- a/lisp/calc/calcalg2.el
+++ b/lisp/calc/calcalg2.el
@@ -3,8 +3,7 @@
3;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. 3;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc.
4 4
5;; Author: David Gillespie <daveg@synaptics.com> 5;; Author: David Gillespie <daveg@synaptics.com>
6;; Maintainers: D. Goel <deego@gnufans.org> 6;; Maintainer: Jay Belanger <belanger@truman.edu>
7;; Colin Walters <walters@debian.org>
8 7
9;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
10 9
@@ -1319,6 +1318,7 @@
1319 1318
1320;; The variable math-expr-parts is local to math-expr-rational-in, 1319;; The variable math-expr-parts is local to math-expr-rational-in,
1321;; but is used by math-expr-rational-in-rec 1320;; but is used by math-expr-rational-in-rec
1321(defvar math-expr-parts)
1322 1322
1323(defun math-expr-rational-in (expr) 1323(defun math-expr-rational-in (expr)
1324 (let ((math-expr-parts nil)) 1324 (let ((math-expr-parts nil))
@@ -2279,6 +2279,7 @@
2279;; math-decompose-poly, but used by math-solve-poly-funny-powers.) 2279;; math-decompose-poly, but used by math-solve-poly-funny-powers.)
2280(defvar math-solve-lhs) 2280(defvar math-solve-lhs)
2281(defvar math-solve-rhs) 2281(defvar math-solve-rhs)
2282(defvar math-try-solve-sign)
2282 2283
2283(defun math-try-solve-for 2284(defun math-try-solve-for
2284 (math-solve-lhs math-solve-rhs &optional math-try-solve-sign no-poly) 2285 (math-solve-lhs math-solve-rhs &optional math-try-solve-sign no-poly)
@@ -2565,6 +2566,7 @@
2565;;; This deals with negative, fractional, and symbolic powers of "x". 2566;;; This deals with negative, fractional, and symbolic powers of "x".
2566;; The variable math-solve-b is local to math-decompose-poly, 2567;; The variable math-solve-b is local to math-decompose-poly,
2567;; but is used by math-solve-poly-funny-powers. 2568;; but is used by math-solve-poly-funny-powers.
2569(defvar math-solve-b)
2568 2570
2569(defun math-solve-poly-funny-powers (sub-rhs) ; uses "t1", "t2" 2571(defun math-solve-poly-funny-powers (sub-rhs) ; uses "t1", "t2"
2570 (setq math-t1 math-solve-lhs) 2572 (setq math-t1 math-solve-lhs)
@@ -2798,6 +2800,8 @@
2798;; The variables math-int-scale, math-int-factors and math-double-roots 2800;; The variables math-int-scale, math-int-factors and math-double-roots
2799;; are local to math-poly-all-roots, but are used by math-poly-integer-root. 2801;; are local to math-poly-all-roots, but are used by math-poly-integer-root.
2800(defvar math-int-scale) 2802(defvar math-int-scale)
2803(defvar math-int-factors)
2804(defvar math-double-roots)
2801 2805
2802(defun math-poly-all-roots (var p &optional math-factoring) 2806(defun math-poly-all-roots (var p &optional math-factoring)
2803 (catch 'ouch 2807 (catch 'ouch
@@ -3136,6 +3140,7 @@
3136 3140
3137;; The variable math-solve-simplifying is local to math-solve-system 3141;; The variable math-solve-simplifying is local to math-solve-system
3138;; and math-solve-system-rec, but is used by math-solve-system-subst. 3142;; and math-solve-system-rec, but is used by math-solve-system-subst.
3143(defvar math-solve-simplifying)
3139 3144
3140(defun math-solve-system (exprs math-solve-vars math-solve-full) 3145(defun math-solve-system (exprs math-solve-vars math-solve-full)
3141 (setq exprs (mapcar 'list (if (Math-vectorp exprs) 3146 (setq exprs (mapcar 'list (if (Math-vectorp exprs)