From c76dce6ee2f6b6830f1087f83bf452974ce3bf09 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 4 Feb 2009 11:43:05 +0000 Subject: * algebra/algfunc.spad.pamphlet: Quote symbols. * algebra/combfunc.spad.pamphlet: Likewise. * algebra/drawopt.spad.pamphlet: Likewise. * algebra/efstruc.spad.pamphlet: Likewise. * algebra/elemntry.spad.pamphlet: Likewise. * algebra/expr.spad.pamphlet: Likewise. * algebra/exprode.spad.pamphlet: Likewise. * algebra/float.spad.pamphlet: Likewise. * algebra/gaussian.spad.pamphlet: Likewise. * algebra/intaux.spad.pamphlet: Likewise. * algebra/irexpand.spad.pamphlet: Likewise. * algebra/laplace.spad.pamphlet: Likewise. * algebra/limitps.spad.pamphlet: Likewise. * algebra/liouv.spad.pamphlet: Likewise. * algebra/list.spad.pamphlet: Likewise. * algebra/lmdict.spad.pamphlet: Likewise. * algebra/manip.spad.pamphlet: Likewise. * algebra/matcat.spad.pamphlet: Likewise. * algebra/matrix.spad.pamphlet: Likewise. * algebra/mkfunc.spad.pamphlet: Likewise. * algebra/mset.spad.pamphlet: Likewise. * algebra/oct.spad.pamphlet: Likewise. * algebra/op.spad.pamphlet: Likewise. * algebra/patmatch1.spad.pamphlet: Likewise. * algebra/pattern.spad.pamphlet: Likewise. * algebra/quat.spad.pamphlet: Likewise. * algebra/sets.spad.pamphlet: Likewise. * algebra/transsolve.spad.pamphlet: Likewise. * algebra/vector.spad.pamphlet: Likewise. --- src/algebra/algfunc.spad.pamphlet | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/algebra/algfunc.spad.pamphlet') diff --git a/src/algebra/algfunc.spad.pamphlet b/src/algebra/algfunc.spad.pamphlet index 7925927f..fbbe96dc 100644 --- a/src/algebra/algfunc.spad.pamphlet +++ b/src/algebra/algfunc.spad.pamphlet @@ -348,8 +348,8 @@ AlgebraicFunction(R, F): Exports == Implementation where dvalg: (List F, SE) -> F dalg : List F -> OutputForm - opalg := operator("rootOf"::Symbol)$CommonOperators - oproot := operator("nthRoot"::Symbol)$CommonOperators + opalg := operator('rootOf)$CommonOperators + oproot := operator('nthRoot)$CommonOperators belong? op == has?(op, ALGOP) dalg l == second(l)::OutputForm @@ -373,8 +373,8 @@ AlgebraicFunction(R, F): Exports == Implementation where inrootof(numer f, x) operator op == - is?(op, "rootOf"::Symbol) => opalg - is?(op, "nthRoot"::Symbol) => oproot + is?(op,'rootOf) => opalg + is?(op,'nthRoot) => oproot error "Unknown operator" if R has AlgebraicallyClosedField then @@ -416,7 +416,7 @@ AlgebraicFunction(R, F): Exports == Implementation where if R has RetractableTo Integer then import PolynomialRoots(IndexedExponents K, K, R, P, F) - dumvar := "%%var"::Symbol::F + dumvar := '%%var::F lzero : List F -> F dvroot : List F -> F @@ -531,6 +531,8 @@ AlgebraicFunction(R, F): Exports == Implementation where <>= --Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd. --All rights reserved. +--Copyright (C) 2007-2009, Gabriel Dos Reis. +--All rights reserved. -- --Redistribution and use in source and binary forms, with or without --modification, are permitted provided that the following conditions are -- cgit v1.2.3