Top "Multidimensional-array" questions

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

How to print 2D Arrays in C++?

I am trying to print a text file out on screen using arrays, but I'm not sure why it does …

c++ arrays multidimensional-array revision
return an entire row of a multidimensional array in VBA to a one dimensional array

Is there any way to return the value of an entire row of a multidimensional array to a one dimensional …

arrays excel vba multidimensional-array assign
What is the difference between flatten and ravel functions in numpy?

import numpy as np y = np.array(((1,2,3),(4,5,6),(7,8,9))) OUTPUT: print(y.flatten()) [1 2 3 4 5 6 7 8 9] print(y.ravel()) [1 2 3 4 5 6 7 8 9] Both function return the same list. …

python numpy multidimensional-array flatten numpy-ndarray
Axes from plt.subplots() is a "numpy.ndarray" object and has no attribute "plot"

The information below may be superfluous if you are trying to understand the error message. Please start off by reading …

python numpy matplotlib multidimensional-array subplot
How do I find the size of a 2D array?

If I declare this array... string[,] a = { {"0", "1", "2"}, {"0", "1", "2"}, {"0", "1", "2"}, {"0", "1", "2"}, }; Then I can measure the length with a.Length which is 12. How do …

c# .net arrays multidimensional-array
Passing multidimensional arrays as function arguments in C

In C can I pass a multidimensional array to a function as a single argument when I don't know what …

c function multidimensional-array
How to get unique value in multidimensional array

I have done a lot of looking around on the overflow, and on google, but none of the results works …

php multidimensional-array unique-values
Javascript Map Array Last Item

I have this: map = ranks.map((row, r) => ( row.map((rank, i) => { return [element(r, i, state, rank, …

javascript arrays multidimensional-array
Sort multidimensional array by multiple keys

I'm trying to sort a multidimensional array by multiple keys, and I have no idea where to start. I looked …

php arrays sorting multidimensional-array
Transforming a row vector into a column vector in Numpy

Let's say I have a row vector of the shape (1, 256). I want to transform it into a column vector of …

python numpy multidimensional-array linear-algebra numpy-ndarray