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
Finance[TimeGrid] - return an object for time discretization
Calling Sequence
TimeGrid(endtime, timesteps)
TimeGrid(timeinterval, timesteps)
TimeGrid(gridpoints)
Parameters
timeinterval
-
range; length time interval in years
timesteps
positive integer; number of steps in the time interval
endtime
positive; end of the time interval
gridpoints
list or Vector; points in the time grid
Description
The TimeGrid command generates discretizing grids for the time space with the given parameters; the command returns a module representing the constructed time grid. This module can be passed to other commands of the Finance package that expect a time grid as one of the parameters; it can also be used as if it were a procedure. Assume for example that the module returned by TimeGrid was assigned to the name T. Then for any positive integer i, will return the ith member of the corresponding time grid or issue an error if i exceeds the size of the time grid. For negative i, returns the ith from the right element of the time grid. The number of time steps in the created time grid can be accessed using the timesteps export.
The calling sequence TimeGrid(endtime, timesteps) creates a uniform time grid on the interval using the specified number of timesteps.
The calling sequence TimeGrid(timesteps, timesteps) creates a uniform time grid on the interval using the specified number of timesteps. The parameter timeinterval must be a range of type , where t0 and t1 are non-negative real constants such that .
Finally, the calling sequence TimeGrid(gridpoints) can be used to create non-uniform time grids with the specified points. The parameter gridpoints can be either a list or a Vector. The elements of gridpoints must be sorted in ascending order.
Note that all time grids must contain the point , which will be added if necessary.
Compatibility
The Finance[TimeGrid] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
See Also
Finance[PathGenerator], Finance[SamplePath], Finance[SampleValues], Finance[Schedule]
Download Help Document