Using array method to calculate arraySizeMethod #1292
Replies: 1 comment
-
|
Hi @BrianHung, sorry for such a late reply.
Unfortunately, it is not possible because The exact size of the result of the function For reference, you can look at the Hope this answer will be helpful for you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to implement the
UNIQUEarray function but am running into a concept problem of how to implement anarraySizeMethodfor it.The confusion is that the array size for
UNIQUEdepends on the arguments, and as a result is variable. For example, [1, 1, 2] would have dimensions {width: 1, height: 2} while [1, 2, 3] would have {width: 1, height 3}.I would like to re-use the method that I implemented for
UNIQUEto calculate the arraySizeMethod for the function; is that possible?So far I have
Beta Was this translation helpful? Give feedback.
All reactions