-
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
Find differences in two index datasets
- This topic has 2 replies, 2 voices, and was last updated 20 years, 9 months ago by Bernward Grewe.
-
AuthorPosts
-
March 17, 2004 at 10:59 pm #12532Bernward GreweParticipant
I have two index datasets created with different kinds of event isolation. The second one is created by filtering the first one. How can I get the indices that are in the first and not in the second index dataset?
March 18, 2004 at 12:28 am #8195Bernward GreweParticipantI have two index datasets created with different kinds of event isolation. The second one is created by filtering the first one. How can I get the indices that are in the first and not in the second index dataset?
March 18, 2004 at 12:28 am #8865Bernhard KantzParticipantUsing the FPScript function IndexNot() and IndexAnd(), you’ll get the indices thar are in the one but not in the other dataset. Here is an example:
Dim aa, bb, cc, dd aa = {1,3,5,7, 11, 4, 34} bb = ValuesInInterval(aa, 0, 10, EVENT_INDEX) cc = ValuesInInterval(aa, 0, 5, EVENT_INDEX) dd = IndexNot(cc, NumberOfValues(aa)) IndexAnd(bb, dd)
The variable bb contains the indices of the values within the interval 0 to 10. The variable cc contains the indices of the values within the interval 0 to 5.
Use the IndexNot function to get all indices of the values which are not in the interval 0 to 5. The result of the IndexAnd function is a data series with the indices which appear in both arguments. In this case the result is a data series with the indices of values within the interval ]5,10]. -
AuthorPosts
- You must be logged in to reply to this topic.