Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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