Install a Maple procedure.
Syntax
procread('filename')
Description
procread('filename') reads the specified file, which should contain the source text for a Maple procedure. It deletes any comments and newline characters, then sends the resulting string to Maple.
The Extended Symbolic Math Toolbox is required.
Examples
Suppose the file ident.src
contains the following source text for a Maple procedure.
ident := proc(A)
# ident(A) computes A*inverse(A)
local X;
X := inverse(A);
evalm(A &* X);
end;
Then the statement
procread('ident.src')
installs the procedure. It can be accessed with
maple('ident',magic(3))
or
maple('ident',vpa(magic(3)))
See Also
maple
[ Previous | Help Desk | Next ]