-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
How to create a 2D Array in FPScript?
- This topic has 2 replies, 2 voices, and was last updated 21 years, 4 months ago by Richard Weisang.
-
AuthorPosts
-
August 7, 2003 at 8:02 pm #12545Richard WeisangKeymaster
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)?
August 7, 2003 at 8:05 pm #8208Richard WeisangKeymasterI 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)?
August 7, 2003 at 8:05 pm #8879Bernhard KantzParticipantThe 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.
-
AuthorPosts
- You must be logged in to reply to this topic.