Skip to main content

Questions tagged [array]

0 votes
0 answers
63 views

The required block matrix of block matrices can be generated as follows when none of the dimensions are zeroes. But How to create the block matrices when the dimensions of 2 or 3 or more submatrices ...
SPJ's user avatar
  • 185
3 votes
1 answer
146 views

Suppose I have a list myList of ordered pairs. The first element of each ordered pair represents a wavelength in nanometers. The second element of each ordered ...
Andrew's user avatar
  • 10.6k
1 vote
1 answer
106 views

Suppose I have three tables with index 1, 2, 3 ...
Nigel1's user avatar
  • 795
1 vote
0 answers
74 views

Mathematica 12.3.1.0 Platform: Linux x86 (64bit) I have a tensor ten Dimension[ten] ...
Tom's user avatar
  • 131
12 votes
2 answers
285 views

The fabricated example below demonstrates a bizarre case I ran into. (If it matters, this is with Mma 14.1 on Apple ARM, but I see the same behavior with Mma 12.3.1 on Intel x86.) On a whim, I tried ...
Alexander Perlis's user avatar
6 votes
3 answers
450 views

EDITED QUESTION: I edit my question to be as clear as possible, as I find the problem quite confusing and severe, and the previous answers unfortunately not helpful. I define two arrays of matrices ...
Philipp Strasberg's user avatar
3 votes
0 answers
123 views

I recently encountered unexpected behavior when computing the derivative of an inactive indexed sum in Wolfram 14.2.0. This example is taken directly from the official documentation of ...
Pei-Xin Shen's user avatar
0 votes
3 answers
173 views

Constructs, like the following x[t_]:={x1[t],x2[t]} x[t_]:=Through[{x1,x2}[t]] x[t_]:=Comap[{x1,x2},t] (* Experimental in Mathematica *) can be used, for example, ...
ghogoh's user avatar
  • 345
0 votes
0 answers
66 views

I have an array of chisquare values for two parameters \alpha and a. The array is calculated for function of two parameter \alpha, a ...
Amnish's user avatar
  • 57
3 votes
1 answer
97 views

Please, tell me, how you can move the elements of an array in a circle. For example, there is an array: ...
Vladimir's user avatar
  • 391
6 votes
5 answers
1k views

I have a list which looks like the following: list1={{{a,b,c},{a1,b1,c1},{an, bn,cn}},{{f,j,k},{f1,j1,k1},{fn, jn,kn}}} And I need it to be as follows: ...
Delaram Nematollahi's user avatar
1 vote
1 answer
178 views

What is the most elegant way of mapping an array of functions to an array of arguments of the same length? In practice I want to map {f1,f2,f3} and ...
gabo_18's user avatar
  • 73
1 vote
1 answer
101 views

I was trying to test NMinimize on $$ \int_0^1 (a+b(cx+d))^2 dx $$, then I guess it should be minimized when the integrand equals 0. It works fine when the integrand is only (a+bx)^2, I use the code: <...
何子钦's user avatar
0 votes
0 answers
62 views

I want to operate a two-dimensional array(list), use the FindFit function, do linear simulation, and find the difference between the simulated value and the original value, but it cannot be compiled. ...
Small's user avatar
  • 1
1 vote
2 answers
125 views

I've got the following mathematica code: ...
Sebastian 's user avatar

15 30 50 per page