Questions tagged [dimensional]

This tag is deprecated, use the correct tags instead: Questions related to multi[dimensional] [arrays] should use the tag [multidimensional-array], use [multidimensional] for the specific data structures, or [dimensional-modeling] for the mathematical analysis with data. Otherwise, use [dimension] where relevant.

This tag is deprecated! Please consider using the correct tags instead:

115 questions
0
votes
1 answer

How to call on a method with several parameters including a two-dimensional array

Im trying to make a method that return true if the value of mat[r][k] is positive, but the error-message say "The method println(int) in the type PrintStream is not applicable for the arguments (int[][], int, int) The call on the method: public…
j97
  • 1
0
votes
1 answer

Excel - Average of Step-wise Dynamic Range

I am aiming to take the average of two-dimensional step-wise dynamic range. Step-wise meaning one to the right and one to left of a reference cell, x number of times. For example, if I have table below, I'd like to take the average of A1, B2, C3,…
Evan
  • 1
  • 1
0
votes
1 answer

are there any advantages for CRC when compared with 2 dimentional parity?

are there any advantage for CRC when compared with 2 dimensional parity?
starcaller
  • 979
  • 3
  • 16
  • 25
0
votes
1 answer

rejuggle 1D array into multidimensional fields in python

Dears, I want to do the below in python but found no refs on how to generate data_rejuggled from data (except this for matlab): from collections import namedtuple data=[1,2,2,2,3,4,5,5,5,5] dims=[1,3,1,1,4] data_rejuggled=somefunction(data,dims)…
Staty
  • 13
  • 3
0
votes
1 answer

Can non-additive facts be part of transactional fact table

I know there are three types of facts, and I've read that Transactional-Fact tables have fully additive facts which are the most useful type, but can non-additive facts be there as well? Or even semi-additive facts for that matter. I'm asking this…
jruivo
  • 447
  • 1
  • 8
  • 22
0
votes
2 answers

Making a list containing string sentences a 2 dimensional list

In python 3, I have a list where each element of this list is a sentence string, for example list = ["the dog ate a bone", "the cat is fat"] How do I split each sentence string into an individual list while keeping everything in the individual…
0
votes
1 answer

how to make a list for 3 dimensional data in R

i have a issue related to list() i need to use 3 for loops to process data just like this for(i in 1:10){ #it is number of data group for(j in 1:5){ #it is number of sub-data group for(k in 1:2){ #it is number of sub-data group 1.data…
potatout
  • 187
  • 1
  • 11
0
votes
1 answer

how to count the netCDF for every daily file in python

i want to achieve calculate the number of event over the min of daily netCDF4 file temperature. I have a code like below, but it keep telling me the index out of bounds. The netCDf4 file a three dimensional array with 349x277x2920. the third…
alice
  • 225
  • 5
  • 14
0
votes
2 answers

Java - Strings and one dimensional arrays

I want to examine a sequence of strings, compute the average string length, and count how many strings are above the average length. So far, in my code, it only reads ints, and a string also has characters. So how do I change my code so that it…
m.daooo
  • 19
  • 4
0
votes
1 answer

Retrieve columns size of a 2D array?

public class TwoD_Array_Column_Length { public static void main(String[] args) { int numEdges = 0; String[] vertices = { "Seattle", "San Francisco", "Los Angeles", "Denver", // 0 , 1 , 2 , 3 "Kansas City",…
gimmegimme
  • 331
  • 7
  • 20
0
votes
1 answer

How to place one random ship in a gameboard

For a school assignment I have to create a battleship game where one random 4 length battleship (horizontal or vertical) is generated in a 8x8 gameboard. The player has 15 torpedoes to try and sink the ship. I used a 2D vector and have finished most…
e7kim
  • 61
  • 6
0
votes
4 answers

C# adding elements to list in the list (two dimensional list)

I have a list: List > aList = new List > (); I want add something to the list in this list like that: aList [0].Add ("item"); But I get ArgumentOutOfRangeException, why? Adding list to list works perfect: List
Konrad
  • 21,590
  • 4
  • 28
  • 64
0
votes
0 answers

Load incremental Fact tables

My source table would always be a Trucnate and load. My Dim is SCD2. MY fact will have an incremental load. Can you please let me know which would be the ideal approach for getting the desired result . Day1: StgActivity Table:{truncate and…
SuperKings
  • 89
  • 1
  • 9
0
votes
2 answers

Two Dimensional Array: C Programming

Can anyone help, I am stuck on solving this question: Write a function in C that takes three parameters: the address of a two dimensional array of type int, the number of rows in the array, and the number of columns in the array. Have the…
Fearphones
  • 19
  • 1
  • 3
0
votes
2 answers

Multidimensional Matrix in Numpy

I read something about NumPy and it's Matrix class. In the documentation the authors write, that we can create only a 2 dimensional Matrix. So I think they mean you can only write something like this: input = numpy.matrix( ((1,2), (3,4)) Is this…
Chris
  • 599
  • 3
  • 11
  • 24