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[ApplyRule] - apply a rounding rule to Quantity objects
Calling Sequence
ApplyRule( expr, rule )
Parameters
expr
-
expression containing Quantity objects
rule
(optional) name; rounding rule
Description
The ApplyRule( expr, rule ) command applies the specified rounding rule rule to all Quantity objects in expr.
If the optional parameter rule is given, rule is used to perform any rounding operations. Otherwise, the default rounding rule is used ('digits', or as set by UseRule).
The rule may require an index.
All Quantity objects are replaced by new Quantity objects with a central value and absolute uncertainty rounded according to the specified rule.
In the case of the rule 'digits', no rounding is performed.
A Quantity object is rounded by passing its central value and absolute uncertainty to a procedure that performs the action of the particular rule. The procedure returns the new central value and absolute uncertainty, which ApplyRule places in a new Quantity(...) object.
For more information on predefined rules in ScientificErrorAnalysis, see Predefined Rounding Rules.
Examples
See Also
combine/errors, Rounding rules, ScientificErrorAnalysis, ScientificErrorAnalysis and ScientificConstants, ScientificErrorAnalysis[ApplyRule], ScientificErrorAnalysis[GetRules], ScientificErrorAnalysis[HasRule], ScientificErrorAnalysis[Quantity], ScientificErrorAnalysis[UseRule], ScientificErrorAnalysis[UsingRule]
Download Help Document