Skip to main content
-3 votes
0 answers
90 views

I have this part of my code where I have an array and want to compare it with other constant arrays, to find a match. As I am working with Multi-dimensional arrays, I decided to store these constants ...
grdj's user avatar
  • 1
4 votes
3 answers
81 views

I have set of data that I am pulling from another sheet with filter() function, and then I'd like to use array formula if possible (with # operator) to have formula spill dynamically for as much rows ...
ch1zra's user avatar
  • 215
3 votes
1 answer
178 views

I am attempting to move away from std::vector<std::vector<int>> types and use boost::multi_array in its place. I am struggling how to initialize such data members though. I used to have a ...
One_Cable5781's user avatar
Advice
0 votes
3 replies
97 views

I'm in C and I have an int ** (2 dimensional array, it's basically a matrix, it's actually set up a little bit complicated but there's no internal aliasing, so it's not relevant). is this int** ...
Snark's user avatar
  • 1,674
3 votes
2 answers
131 views

I'm trying to create a package of generic adjacency matrices to define graphs, and the first goal is to define a static version based on two-dimensional array: with Ada.Containers.Vectors; generic ...
tymurmchyk's user avatar
1 vote
2 answers
110 views

I have the following code to sort the items based on a timestamp. $arr = []; foreach(glob('*.json') AS $item) { $data = json_decode(file_get_contents($item), true); $arr[] = [ 'taken' =...
Airikr's user avatar
  • 6,468
1 vote
1 answer
99 views

I want to extract "email" from JSON using ADF/Synapse. Below is the JSON that I want to flatten and extract all "email" which is in an object in a multidimensional array: { "...
user31502762's user avatar
2 votes
1 answer
96 views

I want to read an Excel file without openening the file and put the result in a two dim. array. For this I use the below code Sub ReadExcelFileWithoutOpening() Dim conn As Object Dim rs As Object Dim ...
Stephan's user avatar
  • 665
-1 votes
1 answer
173 views

After some extensive search I could not find a clear answer to the following issue. When one is to compare the 1D (vector<type>) vs 2D (<vector<vector<type>>>) vector ...
rk85's user avatar
  • 163
1 vote
2 answers
191 views

In my initial question there was some confusion as to what I was really trying to do. Specifically, when I edit large images i store them in an array of pixels where Pixel image[iwid][ihei] is my ...
Vigor's user avatar
  • 11
1 vote
1 answer
110 views

I am using the following code for automatic vector/matrix template parameter deduction (I am particullarily interested in automatic deduction from passing initializer lists) template<class T, ...
Xenos's user avatar
  • 223
1 vote
2 answers
92 views

I am trying to convert an XML string into multi-dimensioned PHP array. The difficulties are that XML comes with attributes and has nested values. My code works at parent level data but I am not sure ...
user5705009's user avatar
2 votes
3 answers
192 views

I have a question about the performance tradeoffs between different ways of storing 2D arrays in memory in C. I know that if I declare a 2D matrix A with dimensions MxN by the following: int (*A)[N] = ...
Martin's user avatar
  • 85
0 votes
0 answers
93 views

I'm looking at the newly-introduced std::mdspan class template (also described here on SO). One of the template parameters is, according to cppreference: LayoutPolicy - specifies how to convert ...
einpoklum's user avatar
  • 137k
0 votes
1 answer
91 views

i would like to create a nested list of arbitrary depth (containing numerical values specifically) with uniform arbitrary lengths at each level and then compress it to a NumPy array of minimum ...
L8t Original's user avatar

15 30 50 per page
1
2 3 4 5
2412