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

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


The following commit has been merged in the master branch:
commit ca2d75bcda1d6f976db8946bbf1d2a524f4bf306
Author: jwe <jwe at 416fae20-06d0-4450-9b69-c6c34d4b5f03>
Date:   Fri May 19 06:58:51 2006 +0000

    *** empty log message ***
    
    
    git-svn-id: https://octave.svn.sourceforge.net/svnroot/octave/trunk/octave-forge/main/symbolic@2447 416fae20-06d0-4450-9b69-c6c34d4b5f03

diff --git a/differentiate.cc b/differentiate.cc
index 1a2da2e..4832a03 100644
--- a/differentiate.cc
+++ b/differentiate.cc
@@ -42,20 +42,20 @@ supplied then a default value of 1 is used.\n\
 
   if ((nargin < 2) || (nargin > 3))
     {
-      print_usage ("differentiate");
+      print_usage ();
       return retval;
     }
   try 
     { 
       if (!get_expression (args(0), expression))
 	{
-	  print_usage ("differentiate");
+	  print_usage ();
 	  return retval;
 	}
       
       if (!get_symbol (args(1), variable))
 	{
-	  print_usage ("differentiate");
+	  print_usage ();
 	  return retval;
 	}
       
@@ -63,7 +63,7 @@ supplied then a default value of 1 is used.\n\
 	{
 	  if (!get_numeric (args(2), num))
 	    {
-	      print_usage ("differentiate");
+	      print_usage ();
 	      return retval;
 	    }
 	  order = int(num.to_double ());
diff --git a/numden.cc b/numden.cc
index f3e50f9..1fe298b 100644
--- a/numden.cc
+++ b/numden.cc
@@ -35,7 +35,7 @@ Return the numerator and denominator of symbolic expression @var{f}.\n\
 	octave_value_list retval;
 	int nargin = args.length();
 	if (nargin != 1) {
-		print_usage ("numden");
+		print_usage ();
 		return retval;
 	}
 	try { 
diff --git a/probably_prime.cc b/probably_prime.cc
index febca87..b7a7aa0 100644
--- a/probably_prime.cc
+++ b/probably_prime.cc
@@ -33,7 +33,7 @@ with error 1 in 2^100.\n\
 
   if (nargin != 1)
     {
-      print_usage("probably_prime");
+      print_usage ();
       return retval;
     }
 
@@ -41,7 +41,7 @@ with error 1 in 2^100.\n\
    {
       if(!get_numeric(args(0), value))
         {
-          print_usage("probably_prime");
+          print_usage ();
           return retval;
         }
       retval(0) = GiNaC::is_prime(value);
diff --git a/sym-create.cc b/sym-create.cc
index 55b4aed..517b061 100644
--- a/sym-create.cc
+++ b/sym-create.cc
@@ -53,7 +53,7 @@ is a number.\n\
 	}
       else
 	{
-	  print_usage("vpa");
+	  print_usage ();
 	  return retval;
 	}
 
@@ -114,7 +114,7 @@ is a number.\n\
 
   if (nargin < 2)
     {
-      print_usage("ex_matrix");
+      print_usage ();
       return retval; 
     }
 
diff --git a/symbols.cc b/symbols.cc
index abdc806..4f7659c 100644
--- a/symbols.cc
+++ b/symbols.cc
@@ -153,7 +153,7 @@ Convert a vpa, string, ex or string type to a double.\n\
 
   if (nargin != 1)
     {
-      print_usage("to_double");
+      print_usage ();
       return retval;
     }
 
@@ -161,7 +161,7 @@ Convert a vpa, string, ex or string type to a double.\n\
     {
       if (!get_numeric (args(0), num))
 	{
-	  print_usage("to_double");
+	  print_usage ();
 	  return retval;
 	}
       
@@ -202,7 +202,7 @@ Change the precision for the vpa type\n\
 	    }
 	  else
 	    {
-	      print_usage("digits");
+	      print_usage ();
 	    }
 	}
 
@@ -373,7 +373,7 @@ Expand an expression\n\
 
   if(args.length() != 1)
     {
-      print_usage("expand");
+      print_usage ();
       return retval;
     }
 
@@ -419,7 +419,7 @@ Obtain the @var{n}th coefficient of the variable @var{x} in @var{a}.\n\
 
   if(args.length () != 3)
     {
-      print_usage("coeff");
+      print_usage ();
       return retval;
     }
 
@@ -479,7 +479,7 @@ collect the terms in @var{a} as a univariate polynomial in @var{x}\n\
 
   if(args.length() != 2)
     {
-      print_usage("collect");
+      print_usage ();
       return retval;
     }
 
@@ -528,7 +528,7 @@ Collect the terms in @var{a} as a univariate polynomial in @var{x}\n\
 
   if(args.length() != 2)
     {
-      print_usage("collect");
+      print_usage ();
       return retval;
     }
 

-- 
octave-symbolic



More information about the Pkg-octave-commit mailing list