Topic
How to create a 2D Array in FPScript?
Startseite ' Community ' FPScript ' How to create a 2D Array in FPScript?
- Dieses Thema hat 2 Antworten sowie 2 Teilnehmer und wurde zuletzt vor vor 21 Jahren, 9 Monaten von Richard Weisang aktualisiert.
-
AutorBeiträge
-
07.08.2003 um 20:02 Uhr #33436Richard WeisangAdministrator
I know that I can use this expression to create an array of 1000 element starting with 0 and Delta 1 : (1000, 0, 1)
Is it possible to use the same expression to create 2 dimensional array (matrix)?
07.08.2003 um 20:05 Uhr #33434Richard WeisangAdministratorI know that I can use this expression to create an array of 1000 element starting with 0 and Delta 1 : (1000, 0, 1)
Is it possible to use the same expression to create 2 dimensional array (matrix)?
07.08.2003 um 20:05 Uhr #33435Bernhard KantzTeilnehmerThe simplest way is to use the FPScript Multiply operator:
0. # 1000
Creates a data series (vector) of 1000 64-Bit float values.0. # 1000 # 100
Creates a data matrix with 100 coloms and 1000 rows.To create a signal series, you can optionally assign an increasing X and Z component:
Signal(0. # 1000 # 100, 1, 1)In thes example the X an Z components both start at 0 and have an increment of 1.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.