Newest Questions

1 vote
1 answer
34 views

Running Mathematica Remotely on a Linux Server

This question has most likely been asked several times in the past, although I could not find the answer with a search. I am logging in remotely via Putty to a linux server that has Mathematica ...
James McLaughlin's user avatar
4 votes
1 answer
44 views

Optimization with vector constraint function

I would like to minimize a vector function subject to a vector constraint function. Unlike previous posts (Constrained FindMaximum with array valued function and Constrained optimization with a ...
Vly's user avatar
  • 428
2 votes
2 answers
73 views

Data conversion

I have data in a text file in the form of: {5,15,23,28,36}->{2,8,10,14,27} I would like to convert it to this form ...
Michel Mesedahl's user avatar
0 votes
0 answers
47 views

Fast partial shuffling?

I need a version of partial shuffling of a 2D table of reals tab that works very efficiently for large arrays and, being repeated $N\gg 1$ times, becomes analogous ...
John Taylor's user avatar
  • 5,901
6 votes
3 answers
78 views

List of available model strings for LLMEvaluator?

How to get a list of OpenAI models available for use in LLMEvaluator? For example the list of model names like "gpt-4o", "gpt-4-vision-preview", "gpt-3.5-turbo" that you ...
eb1423's user avatar
  • 143
0 votes
0 answers
40 views

Mathematica Online: real integrand gives complex results [duplicate]

I am using Mathematica online to calculate the below integral: $$\int_0^1(y(x)-p(x))^2dx$$ where $y(x)=(1-x)\sec\left(\frac{\pi}{2}x\right)$ and $p(x)=1-ax$ for $a\in\mathbb{R}$. However the result is ...
Ada Wong's user avatar
3 votes
4 answers
246 views

Why cannot "a" be 0 in this pattern matching?

Why does the pattern matching not work if k is 0 (either explicitly or implicitly)? Is there any method to make it work? ...
AStudent's user avatar
  • 103
0 votes
5 answers
117 views

Any More Flexible Pattern Matching?

I tried to define a simple function with pattern matching: F[(n_ - k)*T[n_ + 1 - k]/m_] := k*n/m But when I run ...
AStudent's user avatar
  • 103
3 votes
1 answer
94 views

Mathematica camera resolution

For some reason, Mathematica captures images in much worse resolution than available. One of camera properties listed in Mathematica is ...
Yakov Dunaev's user avatar
2 votes
1 answer
64 views

Find the average of the numerical data for each column in the list

I have a list of rows in the database that contain numerical and non-numerical data, such as: ...
Emad kareem's user avatar
  • 1,185
0 votes
1 answer
49 views

KroneckerDelta products in nested sums incorrectly evaluated?

I'm experiencing problems with Mathematica (apparently incorrectly?) evaluating expressions, that are then not equal to their source expression, as evidenced by the fact that the original evaluated ...
JustAGuy's user avatar
6 votes
1 answer
336 views

Kronecker product isn't behaving as I'm familiar with

It's my understanding that if I take $\vec{x}=\begin{pmatrix} 1\\ 0 \end{pmatrix}$ and then do $\vec{x}\otimes\vec{x}$ I should be getting$\begin{pmatrix} 1\\ 0\\ 0\\0 \end{pmatrix}$ but when I run <...
Daniel's user avatar
  • 470
2 votes
1 answer
55 views

Fast partitioning in the given case

Consider the following code: tab = RandomReal[{0, 1}, {3*10^7, 2}]; lenblock = 10^3; len = Length[tab]; tabfinal = Partition[tab, lenblock]; // AbsoluteTiming Here,...
John Taylor's user avatar
  • 5,901
1 vote
0 answers
65 views

Looking for implementation details of CylindricalDecomposition, GenericCylindricalDecomposition, SemialgebraicComponentInstances

Looking for implementation details of CylindricalDecomposition, GenericCylindricalDecomposition, ...
Ahamad's user avatar
  • 450
8 votes
1 answer
215 views

Generating natural structures with Mathematica

I am interested in Fomes Fomentarius or "Tinder Polypore" mushroom patterns (original photo, diagrams of Voronoi and Delaunay): At first it seems something simple, like a sunflower seed ...
lesobrod's user avatar
  • 2,282

15 30 50 per page
1
2 3 4 5
6464