Error Messages/40882

Example error text

In the call to Function Concat, the first parameter is multi-dimensional and the 
third parameters is not specified.  It is therefore ambiguous which index the concatenation 
should occur over.

Cause

Consider an example:

Err40882.png

And suppose B := [5,6,7]

What is the result of Concat(A,B)?

Your first response may be that it is obviously this:

Err40882b.png

That would be concatenating along the J dimension of A. But, it would be just as reasonable to concatenate along the I dimension, yielding:

Err40882c.png

Hence, your intention is ambiguous.

Remedy

You simply need to include the index parameter that you want to concatenate along. For example:

Concat(A,B,I) → Err40882c.png

Concat(A,B,J) → Err40882b.png

See Also

Comments


You are not allowed to post comments.