06-09-2017 09:34 AM
And why not????
Just look at the detailed help for the darned thing
06-09-2017 09:39 AM
Since it seems part of LabVIEW, it probably does something, such as adding an internal tag to the data. (similarly, remember that the compiler not always transposes a 2D array if requested during computations, but just tags it to have the indices swapped, and e.g. be autoindexed first by columns, etc. in order to avoid an expensive transpose operation if it is not really needed).
Do you know where this VI is located in the LabVIEW distribution? My guess is that it could have something to do with Mathscript, since the matlab syntax does make a distinction between row and column vectors, while native LabVIEW does not. So I could imagine that it is used in some of the linear algebra there.
Of course I am wildly guessing here an could be completely wrong 😄
06-09-2017 09:44 AM
06-09-2017 09:51 AM
@aputman wrote:
This is a standard matrix function and probably has little to do with this discussion.
06-09-2017 09:54 AM
@altenbach wrote:
@aputman wrote:
This is a standard matrix function and probably has little to do with this discussion.
....Yes but it is also a linear algebra function, as you mention above.
06-09-2017 10:21 AM
@aputman wrote:
@altenbach wrote:
@aputman wrote:
This is a standard matrix function and probably has little to do with this discussion.
....Yes but it is also a linear algebra function, as you mention above.
If the one posted by Paul is a linear algebra function for Mathscript that does the same operation (at least on a 1D matrix) as the Transpose Matrix, why are there two VI's that do the same thing? Why is it called (or labeled by Paul) as Transpose 1D Array, when we all know that has no meaning? I don't have access to 2016 to see where this came from so is Paul trolling us or is this a troll by NI? Does the VI output the same array as the input (meaning it does nothing....has no meaning)?
06-09-2017 10:25 AM
@jwscs wrote:
but what is this endeavor about? i'm curious.
I ran across it, and couldn't resist tossing it out just for fun.
Obviously it takes a vertical 1D array and converts it to s horizontal 1D array. (But what if I want to go the other way?)
06-09-2017 10:28 AM
@Ben_Manthey wrote:
These days 'Trans Rights' are all the rage. Make sure you ask it what pronouns it prefers.
If my employer ever asks me what pronoun I prefer, I'll answer: "His most supreme excellence, the imperial Grand Poobah of the entire North American continent" (after all, I can 'prefer' anything I want).
06-09-2017 10:31 AM
@altenbach wrote:
@aputman wrote:
This is a standard matrix function and probably has little to do with this discussion.
It doesn't take a matrix as input, only a 1D array.
06-09-2017 10:33 AM
It's a real built-in LabVIEW function. The output is the same as the input. I can't imagine why it's there (except to give us something silly to talk about).