scientific-computing Questions

3

Solved

I apologize upfront if this question is too broad. I come from the MATLAB world and have relatively little experience with Python. After having spent some time reading about several Python-based ...
Colville asked 16/7, 2011 at 18:20

2

Is there any general purpose physics engine that allows huge simulations of rigid bodies? I'm using PhysX from Nvidia, but the focus of this engine is game development, soft bodies. I want to know ...
Boutte asked 1/3, 2010 at 19:49

12

Solved

I've been working with a lot of FORTRAN 77 lately, and though I had reservations at first, I now see some great qualities of the language. It is: Simple to learn (no object-oriented or functional...
Gyron asked 23/8, 2010 at 16:42

4

Solved

I am currently using R for all my scientific computing and plotting, but I would like to explore Python. I have been using RStudio as an IDE for R, which as an IDE fulfills 100% of my need fo...
Luiseluiza asked 21/12, 2013 at 12:51

3

Solved

Matlab, R, and Python are powerful but either costly or slow for some data mining work I'd like to do. I'm considering using Javascript both for speed, good visualization libraries, and to b...
Mccluskey asked 25/7, 2012 at 13:40

1

Solved

The majority of scientific computing problems that we need solve by implementing a particular algorithm in C/C++ demands accuracy that are much lower than double precision. For example, 1e-6, 1e-7 ...
Rossi asked 27/10, 2013 at 13:38

5

Solved

I would like to add thousands of 4D arrays element wise and accounting for nans. A simple example using 1D arrays would be: X = array([4,7,89,nan,89,65, nan]) Y = array([0,5,4, 9, 8, 100,nan]) z =...
Secrete asked 23/8, 2012 at 17:1

6

Solved

Are there any scientific packages for Lua comparable to Scipy?
Hysterical asked 23/12, 2008 at 4:25

4

Solved

I run into the following problem when writing scientific code with Python: Usually you write the code iteratively, as a script which perform some computation. Finally, it works; now you wi...

7

Solved

Typically, I'm interested in knowing if the the standard template library incurs performance/speed overheads in codes for numerical/scientific computing. For eg. Is declaring an array as double 2...
Haggle asked 20/8, 2013 at 18:33

2

I am embedded programmer, and have no experience with desktop programming. In my project have to display and calculate no of physical parameter like pH, temp. Please suggest me which way to ...
Edithe asked 20/8, 2013 at 17:35

3

Solved

I'm trying to develop a physics simulation and I want to implement a fourth-order symplectic integration method. The problem is that I must be getting the math wrong, since my simulation is not wor...

5

I have a fair hang of programming in various languages. I have been implementing my codes for research using MATLAB (during the past few months) and for the first time really noticed the difference...
Oogonium asked 25/11, 2010 at 23:3

4

Solved

I am trying to implement a large number of matrix-matrix multiplications in Python. Initially, I assumed that NumPy would use automatically my threaded BLAS libraries since I built it against those...
Valoniah asked 10/3, 2011 at 13:10

2

Solved

How do I represent extremely large or small numbers in C with a certain amount of significant figures. For example, if I want to do calculations on 1.54334E-34, how could I do this. Also, is this a...
Ashwin asked 3/6, 2013 at 21:17

2

Solved

Is it possible to use "if" in arrayfun like the following in Octave? a = [ 1 2; 3 4]; arrayfun(@(x) if x>=2 1 else 0 end, a) And Octave complains: >>> arrayfun(@(x) if x>=2 1 els...
Sequin asked 15/5, 2013 at 2:19

2

Solved

I currently use Python for most of my programming, but I'm interested in learning Clojure. What libraries do I need to reproduce the functionality I have with scipy, numpy, and matplotlib? Is there...
Ithunn asked 22/8, 2010 at 2:25

1

Solved

I have often encountered and made long-tailed degree distributions/histograms from complex networks like the figures below. They make the heavy end of these tails, well, very heavy and crowded from...
Schizo asked 10/5, 2013 at 19:38

4

Solved

I have been playing around with writing my own physics engine in Python as an exercise in physics and programming. I started out by following the tutorial located here. That went well, but then I f...

3

Solved

I was doing the mathematical calculations with python or octave because of availability of really nice functions and libraries at hand. But recently I gained interest in ruby and I wonder if there ...
Normally asked 23/1, 2011 at 16:50

1

Solved

While I know (so I have been told) that Floating-point coprocessors work faster than any software implementation of floating-point arithmetic, I totally lack the gut feeling how large this differen...
Shofar asked 2/3, 2013 at 11:50

3

Solved

PL/I is a very old language but seemingly haven't got much publicity and appreciation as Fortran for scientific computing. Why is that? A search on the web does show that there are many PL/I ...
Gwalior asked 14/7, 2010 at 10:12

1

Solved

I am trying to extract the indices of all values of a 1D array of numbers that exceed some threshold. The array is on the order of 1e9 long. My approach is the following in NumPy: idxs = where(da...
Curhan asked 9/2, 2013 at 21:20

1

Solved

I have a large time series, say 1e10, that results from recording neural activity, i.e. voltages. Before doing further analysis I want to band pass filter that data between 300 Hz and 7000 Hz. Belo...

1

Solved

I'm refering to the following post : Using scipy.signal.spectral.lombscargle for period discovery I realize the answer given correct for certain case. Frequency for sin(x), which is 1/(2* pi) # ...

© 2022 - 2024 — McMap. All rights reserved.