Top "Multidimensional-array" questions

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

PHP - recursive Array to Object?

Is there a way to convert a multidimensional array to a stdClass object in PHP? Casting as (object) doesn't seem …

php object multidimensional-array stdclass
How can I find the maximum or minimum of a multi-dimensional matrix in MATLAB?

I have a 4D array of measurements in MATLAB. Each dimension represents a different parameter for the measurement. I want …

matlab multidimensional-array indexing max min
What is the safe way to fill multidimensional array using std::fill?

Here is what I am using: class something { char flags[26][80]; } a; std::fill(&a.flags[0][0], &a.flags[0][0] + 26 * 80, 0); (Update: …

c++ arrays algorithm multidimensional-array fill
Double pointer vs array of pointers(**array vs *array[])

Im not clearly sure what is the difference between those 2. My professor wrote that **array is same as *array[] and …

c pointers multidimensional-array dynamic-memory-allocation
Count occurrences of a value in a column of an array of object arrays

Does anyone know how to count the occurrences of "photo" in this array: Array ( [0] => stdClass Object ( [type] => photo […

php facebook-graph-api multidimensional-array count find-occurrences
How does reduce_sum() work in tensorflow?

I am learning tensorflow, I picked up the following code from the tensorflow website. According to my understanding, axis=0 is …

python tensorflow multidimensional-array reduce tensor
Indexing a numpy array with a list of tuples

Why can't I index an ndarray using a list of tuple indices like so? idx = [(x1, y1), ... (xn, yn)] X[…

numpy multidimensional-array indices
In php how does usort() function works

I have looked at the php documentation, tutorials online and none of them how usort is actually working. I have …

php sorting multidimensional-array usort
How to convert list of arrays into a multidimensional array

I need to convert the following collection into double[,]: var ret = new List<double[]>(); All the arrays in …

c# linq multidimensional-array jagged-arrays
Using column value as array index in doctrine

I am using doctrine 2.1 in order to create a model for settings table: id | arg | value | category 1 | name | foo | general_…

php multidimensional-array doctrine-orm doctrine