[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vector index selector
From: |
Marcus Müller |
Subject: |
Re: vector index selector |
Date: |
Mon, 15 Nov 2021 11:43:50 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 |
Hi!
Not in itself, but you can do
---vector-->
[Vector to Stream, num items = n]
--->
[Keep M in N, M=1, N=n, initial offset=index]
---->
Best regards,
Marcus
PS: A PR to improve "keep M in N" to directly deal with vectors, or to add a block "Vector
Extract" that does what you describe (take vectors in, and have a parameter with indices
to extract) to master, would certainly be welcome.
On 14.11.21 07:55, Ali G. Dezfuli wrote:
Hi all,
is there a block in GRC to get a vector and output a vector with selected indexes (as a
parameter)?
thanks,
AGD
smime.p7s
Description: S/MIME Cryptographic Signature