Questions tagged [n-dimensional]

n-dimensional involves computation in higher dimensions

Usually used in math,physics,machine learning and computer graphics. Its common to downgrade n-dimensional problems down to 4D/3D/2D/1D using techniques like:

  • projection
  • cross-section
  • PCA

either to lower the needed processing or storage power needed to handle it or to visualize or just to simplify.

110 questions
-1
votes
1 answer

How would I output this multiplication table with an if statement?

#include #include #include using namespace std; int main() { char response = 'y'; while (response == 'y') do { const int myarray = 144; int thearray[myarray]; for (int m =…
-1
votes
1 answer

access a specified dimension of a N-D array

I have a 3D array in MATLAB, with size(myArray) = [1400 720 120] the third dimension is 120 levels of depths : 0 - 5 - 10 .., and the 1400 and 720 is a geographic grid with values for each level of depth. I would like to get a specific layer,…
Elissar
  • 17
  • 6
-2
votes
1 answer

How to decide shape of a n-dimension array in numpy

How can i say shape of a n-dimension matrix in numpy for example import numpy as np a=np.array([[[1,2],[3,4]]]) print(a.shape) output of these is (1,2,2) How can i say it without using a computer. Thanks for any help.
Sandeep
  • 3
  • 3
-3
votes
1 answer

eOne Dimensional Array with string input on java. Do not know how to make the array stop taking input until the user enters "alldone"

I am suppose to make a one dimensional array until the user enters "alldone", however i dont know how to make it . This what i have and i know it is wrong . The instruction are "Design a solution that requests and receives student names and an exam…
ja1996
  • 11
  • 3
-6
votes
2 answers

7-dimensional vector Java

I am very new to java and I have this assignment which I have been working on very intensivly for the last 14 days. The assignement is to build a class vector with max. 7 dimensions: what I came with to make the vector multi-dimensional is that I…
Rick_C132
  • 1
  • 2
1 2 3 4 5 6 7
8