Top "Multidimensional-array" questions

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

PHP Multidimensional Array Searching (Find key by specific value)

I have this multidimensional array. I need to search it and return only the key that matches the value of …

php search multidimensional-array key
How to re-index all subarray elements of a multidimensional array?

The question is how to reset key e.g. for an array: Array ( [1_Name] => Array ( [1] => leo [4] => NULL ) [1_…

php multidimensional-array reindex
JavaScript push to array

How do I push new values to the following array? json = {"cool":"34.33","alsocool":"45454"} I tried json.push("coolness":"34.33");, but it …

javascript arrays json multidimensional-array
What is the purpose of meshgrid in Python / NumPy?

Can someone explain to me what is the purpose of meshgrid function in Numpy? I know it creates some kind …

python numpy multidimensional-array mesh numpy-ndarray
2D array values C++

I wanted to declare a 2D array and assign values to it, without running a for loop. I thought I …

c++ c multidimensional-array initialization shortcut
push() a two-dimensional array

I'm trying to push to a two-dimensional array without it messing up, currently My array is: var myArray = [ [1,1,1,1,1], [1,1,1,1,1], [1,1,1,1,1] ] And my …

javascript arrays for-loop multidimensional-array push
How does numpy.newaxis work and when to use it?

When I try numpy.newaxis the result gives me a 2-d plot frame with x-axis from 0 to 1. However, when I …

python numpy multidimensional-array array-broadcasting numpy-ndarray
How do I Sort a Multidimensional Array in PHP

I have CSV data loaded into a multidimensional array. In this way each "row" is a record and each "column" …

php sorting multidimensional-array
Multi-dimensional arrays in Bash

I am planning a script to manage some pieces of my Linux systems and am at the point of deciding …

arrays bash shell multidimensional-array
How to sort 2 dimensional array by column value?

Can any one help me sort a 2 dimensional Array in JavaScript? It will have data in the following format: [12, AAA] [58, …

javascript arrays sorting multidimensional-array