Top "Multidimensional-array" questions

Multidimensional-arrays can be described as multi-dimensional tables.

Convert ArrayList into 2D array containing varying lengths of arrays

So I have: ArrayList<ArrayList<String>> Which contains an x number of ArrayLists which contain another …

java multidimensional-array arraylist indexing varying
Get first element in PHP stdObject

I have an object (stored as $videos) that looks like this object(stdClass)#19 (3) { [0]=> object(stdClass)#20 (22) { ["id"]=> string(1) "123" etc... …

php object multidimensional-array
PHP - Merging two arrays into one array (also Remove Duplicates)

Hi I'm Trying to merge two arrays and also want to remove duplicate values from final Array. Here is my …

php arrays wordpress multidimensional-array
what does numpy ndarray shape do?

I have a simple question about the .shape function, which confused me a lot. a = np.array([1, 2, 3]) # Create a rank 1 …

arrays numpy multidimensional-array shape numpy-ndarray
Rotating a two-dimensional array in Python

In a program I'm writing the need to rotate a two-dimensional array came up. Searching for the optimal solution I …

python multidimensional-array
Checking if array is multidimensional or not?

What is the most efficient way to check if an array is a flat array of primitive values or if …

php arrays loops multidimensional-array element
Convert 2d numpy array into list of lists

I use an external module (libsvm), which does not support numpy arrays, only tuples, lists and dicts. But my data …

python arrays list numpy multidimensional-array
Good ways to "expand" a numpy ndarray?

Are there good ways to "expand" a numpy ndarray? Say I have an ndarray like this: [[1 2] [3 4]] And I want each …

python numpy multidimensional-array
How to get the length of row/column of multidimensional array in C#?

How do I get the length of a row or column of a multidimensional array in C#? for example: int[,] …

c# arrays multidimensional-array
How to define and work with an array of bits in C?

I want to create a very large array on which I write '0's and '1's. I'm trying to …

c arrays multidimensional-array bit-manipulation bitarray