Top "Multidimensional-array" questions

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

Submitting a multidimensional array via POST with php

I have a php form that has a known number of columns (ex. top diameter, bottom diameter, fabric, colour, quantity), …

php forms post multidimensional-array submit
Get the size of a 2D array

Okay, so I have a 2D array z[50][50] and z's size is therefore 50 * 50, but if I say z.length I …

java arrays multidimensional-array
Selecting specific rows and columns from NumPy array

I've been going crazy trying to figure out what stupid thing I'm doing wrong here. I'm using NumPy, and I …

python arrays numpy multidimensional-array numpy-slicing
Map a 2D array onto a 1D array

I want to represent a 2D array with a 1D array. A function will pass the two indicies (x,y) …

c arrays multidimensional-array
Return a 2d array from a function

Hi I am a newbie to C++ I am trying to return a 2d array from a function. It is …

c++ multidimensional-array
Which comes first in a 2D array, rows or columns?

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

java multidimensional-array
Matrix multiplication using arrays

I'm trying to make a simple matrix multiplication method using multidimensional arrays ([2][2]). I'm kinda new at this, and I just …

java arrays matrix multidimensional-array matrix-multiplication
PHP combine two associative arrays into one array

$array1 = array("$name1" => "$id1"); $array2 = array("$name2" => "$id2", "$name3" => "$id3"); I need a new array combining all …

php arrays multidimensional-array associative-array
GCC: Array type has incomplete element type

I have declared a struct, and I try to pass an array of those structs (as well as a double …

arrays c gcc multidimensional-array incomplete-type
Matrix Transpose in Python

I am trying to create a matrix transpose function for python but I can't seem to make it work. Say …

python list multidimensional-array