[Pkg-octave-commit] [SCM] octave-symbolic branch, master, updated. a718b53403d9f164f8c2a3df521385a01d28a11b

pkienzle pkienzle at 416fae20-06d0-4450-9b69-c6c34d4b5f03
Mon Jan 3 03:40:40 UTC 2011


The following commit has been merged in the master branch:
commit 185e238024db0201b3a56e6cbd065d4407897d32
Author: pkienzle <pkienzle at 416fae20-06d0-4450-9b69-c6c34d4b5f03>
Date:   Wed Mar 23 05:59:25 2005 +0000

    Add Sqrt.
    
    
    git-svn-id: https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/symbolic@1945 416fae20-06d0-4450-9b69-c6c34d4b5f03

diff --git a/INDEX b/INDEX
index cb3ceb4..9d0c438 100644
--- a/INDEX
+++ b/INDEX
@@ -11,7 +11,7 @@ Expression manipulation
  subs collect expand lcoeff numden findsymbols findsym
 Special Functions
  Abs Cos Cosh Exp Gcd Log Sin Sinh Tan Tanh aCos aCosh aSin aSinh
- aTan aTanh
+ aTan aTanh Sqrt
 Polynomials
  tcoeff coeff degree ldegree sym2poly poly2sym sumterms
 Calculus
diff --git a/Makefile b/Makefile
index 0446878..b95d05d 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ OBJ=$(SRC:.cc=.o)
 
 FUNCTIONS=vpa sym is_vpa is_sym is_ex to_double digits\
           Cos Sin Tan aCos aSin aTan Cosh Sinh Tanh aCosh\
-          aSinh aTanh Exp Log subs differentiate expand\
+          aSinh aTanh Exp Log Sqrt subs differentiate expand\
           collect coeff lcoeff tcoeff degree ldegree quotient\
           remainder premainder Pi ex_matrix probably_prime\
 	  findsymbols numden syminfo symlsolve sumterms
diff --git a/symbols.cc b/symbols.cc
index 96a7203..3e1f0d9 100644
--- a/symbols.cc
+++ b/symbols.cc
@@ -240,6 +240,7 @@ Pi evaluated to the current value of Digits\n\
 }
 
 
+DEFUN_DLD_EX_GINAC_FUNCTION(Sqrt,sqrt,"square root");
 DEFUN_DLD_EX_GINAC_FUNCTION(Cos,cos,"cosine");
 DEFUN_DLD_EX_GINAC_FUNCTION(Sin,sin,"sine");
 DEFUN_DLD_EX_GINAC_FUNCTION(Tan,tan,"tangent");

-- 
octave-symbolic



More information about the Pkg-octave-commit mailing list