11.07.2015 Views

Advanced Programming Guide

Advanced Programming Guide

Advanced Programming Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

184 • Chapter 4: Input and Outputare always output, regardless of the specified width. The precision isignored. The digits corresponding to the decimal numbers 10 through15 are represented by the letters "A" through "F" if uppercase Y wasspecified, or "a" through "f" if lowercase y was specified.c Outputs the object, which must be a Maple string containing exactlyone character, as a single character.s Outputs the object, which must be a Maple string of at least widthcharacters (if specified) and at most precision characters (if specified).a or A Outputs the object, which can be any Maple object, in correctMaple syntax. Maple outputs at least width characters (if specified)and at most precision characters (if specified). Note: Truncating aMaple expression by specifying a precision can result in an incompleteor syntactically incorrect Maple expression in the output.The "%a" and "%A" formats are identical, except that "%A" omitsany quotes that would normally appear around Maple symbols thatrequire them.q or Q These are similar to "%a" or "%A", except that "%q" or "%Q" ignoresall remaining arguments and print them as an expression sequence,with each element formatted in "%a" or "%A" format respectively. Noadditional format specifiers can appear after "%q" or "%Q", since thereare no arguments to format.m The object, which can be any Maple object, is output in the Maple.m file format. Maple outputs at least width characters (if specified),and at most precision characters (if specified). Note: Truncating aMaple .m format expression by specifying a precision can result in anincomplete or incorrect Maple expression in the output.% A percent symbol is output verbatim.Maple outputs characters that are in format but not within a formatspecification verbatim.All the formats apply to Arrays (type Array), Matrices (type Matrix),Vectors (type Vector), and hfarrays (type hfarray), all of which areobjects of type rtable.• If no rtable-specific formatting options are specified (via the {...} option,see ?rtable_printf), the %a, %A, %m, and %M format codes printa representation of the rtable structure itself. For example, the formatcode %a prints a Matrix, Vector, or Array call.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!