in reply to Re: Counting PDL vectors in a PDL matrix
in thread Counting PDL vectors in a PDL matrix

Hi,

Thanks for the quick replies all. Thanks to choroba for linking to uniqvec, which I must have missed during reading the documentation.

Thanks to vr for the good example code, this clears things up a bit. I came to the conclusion that my whole approach was incorrect (which I kind of expected when learning PDL).

I am building up the matrix vector by vector, so if we consider each vector as a single entity (which is what I am doing), then rather than a 2D matrix of vectors, in essence I have a 1D vectors of entities. Therefore, I am choosing to build the lookup table during creation.

Many thanks all.

  • Comment on Re^2: Counting PDL vectors in a PDL matrix

Replies are listed 'Best First'.
Re^3: Counting PDL vectors in a PDL matrix
by etj (Priest) on May 07, 2022 at 23:08 UTC