Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Cache[Resize] - resize a cache table
Calling Sequence
Resize( n, c )
Parameters
n
-
integer: new size for the cache table
c
cache table or procedure: cache table to resize
Description
The Resize command creates a new cache table that is a resized version of an existing table. The new cache table is created so that it can store at least n elements. If c is a cache table, the new cache table is returned. If c is a procedure with a cache remember table, the remember table is resized and the new table replaces the old one. A reference to the new table is returned.
All the permanent elements of the existing table are added to the new table. Each temporary element of the existing table is inserted into the new table. However, due to the nature of cache tables there is no guarantee that all temporary elements from the existing table will be present in the new table.
For more information on cache tables, see Cache Package.
Examples
p := proc(x) return 1; end proc;
See Also
Cache Command, Cache Package, Cache[AddPermanent], Cache[AddTemporary], Cache[RemovePermanent], Cache[RemoveTemporary]
Download Help Document