About 50 results
Open links in new tab
  1. How do I declare and initialize an array in Java? - Stack Overflow

    Jul 29, 2009 · The third way of initializing is useful when you declare an array first and then initialize it, pass an array as a function argument, or return an array. The explicit type is required.

  2. What does [:, :] mean on NumPy arrays - Stack Overflow

    Sorry for the stupid question. I'm programming in PHP but found some nice code in Python and want to "recreate" it in PHP. But I'm quite frustrated about the line: self.h = -0.1 self.

  3. How to create an array containing 1...N

    We'll use that fact later. Array.apply(null, [undefined, undefined, undefined]) is equivalent to Array(undefined, undefined, undefined), which produces a three-element array and assigns …

  4. Which comes first in a 2D array, rows or columns?

    Jul 25, 2012 · When creating a 2D array, how does one remember whether rows or columns are specified first?

  5. A confusion about ${array[*]} versus ${array[@]} in the context of a ...

    The difference between [@] and [*] -expanded arrays in double-quotes is that "${myarray[@]}" leads to each element of the array being treated as a separate shell-word, while "${myarray[*]}" results in a …

  6. Extract Value from Array in Power Automate - Stack Overflow

    Nov 3, 2024 · Extract Value from Array in Power Automate Asked 1 year, 4 months ago Modified 11 months ago Viewed 7k times

  7. What does `array[^1]` mean in C# compiler? - Stack Overflow

    Oct 26, 2020 · What does `array [^1]` mean in C# compiler? [duplicate] Asked 5 years, 4 months ago Modified 3 months ago Viewed 53k times

  8. How can I initialize all members of an array to the same value?

    How would you use memset to initialize a int array to some value larger than 255? memset only works if the array is byte sized.

  9. How can I remove a specific item from an array in JavaScript?

    How do I remove a specific value from an array? Something like: array.remove(value); Constraints: I have to use core JavaScript. Frameworks are not allowed.

  10. .net - printing all contents of array in C# - Stack Overflow

    I am trying to print out the contents of an array after invoking some methods which alter it, in Java I use: System.out.print(Arrays.toString(alg.id)); how do I do this in c#?