Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ScientificErrorAnalysis[UseRule] - set the default rounding rule
Calling Sequence
UseRule( name )
Parameters
name
-
symbol; name of a rounding rule
Description
The UseRule( name ) command sets the default rounding rule used by ScientificErrorAnalysis to the rule name for the current session.
To set the default rounding rule for all future Maple sessions, add the UseRule command to your Maple initialization file. For more information, see Create Maple Initialization File.
The rule name may require an index.
If the rule name is specified with an index, UseRule checks the validity of the index. If the index is invalid, the stored procedure for the rule throws an error and the default rule is not changed.
To check, the rule is applied to Quantity( 0.0, 1.0 ). If no error is triggered, the result is discarded.
For more information on predefined rules in ScientificErrorAnalysis, see Predefined Rounding Rules.
Examples
The index to the rule round must be a positive integer. If another value is used, UseRule returns an error and the default rule is not changed.
Error, (in ScientificErrorAnalysis:-UseRule) invalid index to `round`
See Also
Create Maple Initialization File, Rounding rules, ScientificErrorAnalysis, ScientificErrorAnalysis[ApplyRule], ScientificErrorAnalysis[GetRules], ScientificErrorAnalysis[HasRule], ScientificErrorAnalysis[Quantity], ScientificErrorAnalysis[UsingRule]
Download Help Document