If Maple's integer factor statement returns an error, the Symbolic Math Toolbox factor statement then invokes Maple's expression factoring statement. This example reveals that the factor statement first invokes Maple's integer factor ( ifactor) statement to determine whether the argument is a factorable integer. The traceon command shows how Symbolic Math Toolbox commands interact with Maple. Returns the following output because Maple's BesselK function needs two input arguments: maple('traceoff') (or maple trace off) turns this feature off.Įxamples Each of the following statements evaluate to 100 digits: maple('traceon') (or maple trace on) causes all subsequent Maple statements and results to be printed. If the execution fails, r is the corresponding warning/error message, and status is a positive integer. When the statement execution is successful, r is the result and status is 0. The largest prime factor is contained in the last piece of that data structure. The last command produced a (nested) data structure as its output. = maple(.) is an option that returns the warning/error status. > ifactor( 550550 ) Let us find a sequence of Maple commands that will compute for us the largest prime in an integer's prime factorization. Otherwise, it returns a result of class char. If the input arguments are syms, then maple returns a sym. The arguments are converted to symbolic expressions if necessary, and function is then called with the given arguments. maple('function',arg1,arg2.) accepts the quoted name of any Maple function and associated input arguments. A semicolon for the Maple syntax is appended to statement if necessary. Maple (Symbolic Math Toolbox) Symbolic Math Toolboxĭescription maple('statement') sends statement to the Maple kernel and returns the result.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |