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
Cache[PermanentIndices] - return a sequence of the permanent indices
Calling Sequence
PermanentIndices( cache )
Parameters
cache
-
cache table or procedure: the object whose indices (keys) are to be returned
Description
The PermanentIndices command returns the indices of the permanent entries of the given cache table. The cache table can be given directly as cache, or cache can refer to a procedure that has, or can have, a cache remember table. If such a procedure is given and it has a cache remember table, the keys of the permanent indices from that table are returned. If the procedure does not have a table, NULL is returned.
PermanentIndices returns the indices in the same format as indices, that is, a sequence of lists where the contents of each list is an index of a permanent entry from the table.
The PermanentEntries command can be used to get the indices of the permanent entries.
For more information on cache tables, see Cache Package.
Examples
p := proc( x ) option cache; x^2; end proc;
See Also
Cache Package, Cache[AddPermanent], Cache[PermanentEntries], Cache[RemovePermanent], Cache[TemporaryEntries], Cache[TemporaryIndices]
Download Help Document