scientific-computing

c# and scientific calculation

at http://www.teacherschoice.com.au/Maths%5FLibrary/Trigonometry/solve%5Ftrig%5FSSS.htm there is "Find the inverse cos of -0.25 using a scientific calculator...C = cos-1(-0.25)= 104.478º " and "Find the inverse sin of 0.484123 using a scientific calculator...A = sin-1(0.484123)= 28.955º " I am trying to do this in c# , so i am trying t...

Is C really used for a lot of Scientific Computing?

I'm currently taking a math class in College called "Scientific Computing" and the professor told us that C is the most common language used for, well, scientific computing and am just wondering as to how accurate this professor is? ...

What is a good free (open source) BLAS/LAPACK library for .net (C#)?

Dear all I have a project written in C# where I need to do various linear algebraic operations on matrices (like LU-factorization). Since the program is mainly a prototype created to confirm a theory, a C# implementation will suffice (compared to a possibly speedier C++ one), but I would still like a good BLAS or LAPACK library availab...

best lib for vector array in c++

I have to do calculation on array of 1,2,3...9 dimensional vectors, and the number of those vectors varies significantly (say from 100 to up to couple of millions). Of course, it would be great if the data container can be easily decomposed to enable parallel algorithms. I came across blitz++(almost impossible to compile for me), but a...

Java Multi-Threading Beginner Questions

I am working on a scientific application that has readily separable parts that can proceed in parallel. So, I've written those parts to each run as independent threads, though not for what appears to be the standard reason for separating things into threads (i.e., not blocking some quit command or the like). A few questions: Does this...

Are functional programming languages good for practical tasks?

It seems to me from my experimenting with Haskell, Erlang and Scheme that functional programming languages are a fantastic way to answer scientific questions. For example, taking a small set of data and performing some extensive analysis on it to return a significant answer. It's great for working through some tough Project Euler questio...

Tools for analysing experimental data

What tools are there for analysing experimental data with a number of variables to attempt to optimise parameters for a particular parameter? This question is purposely general - I'm more asking for tools that I should look at in the future, than tools to use now. Related Questions Existence of a table generation algorithm ...

The reading list for scientific programmer

Hi all, I am working to become a scientific programmer. I have enough background in Math and Stat but rather lacking on programming background. I found it very hard to learn how to use a language for scientific programming because most of the reference for SP are close to trivial. My work involves statistical/financial modelling and ...

What can MATLAB do that R cannot do?

I often hear people complain how expensive MATLAB licenses are. Then I wonder why they don't just use R. But is it right? Can you use R to replace MATLAB? ...

Need a Python package suitable for visualizing queue simulations

I am working on a simulation in Queueing Theory, within a wxPython GUI. (Project link.) What would be a good tool for visualizing the simulations? The visualization should consist of simple objects, such as clients, servers, a facility and a population. They should all be represented by simple boxes or something like that. There will be ...

How to store "smaller than", equals and "larger than" in database

Hello, I need to store scientific information in a database (sql server). What is the best way to store a value in a database where "smaller than", larger than" is part of the information. Example: PatientId: 123 Mutation rate: <3% PatientId: 999 Mutation rate: 3% PatientId: 456 Mutation rate: 10% I need to be able to sort and filt...

How much of NumPy and SciPy is in C?

Python newbie here. Are parts of NumPy and/or SciPy programmed in C/C++? And how does the overhead of calling C from Python compare to the overhead of calling C from Java and/or C#? I'm just wondering if Python is a better option than Java or C# for scientific apps. If I look at the shootouts, Python loses by a huge margin. But I gue...

Examples of testing code by commenting out code

There's a big hullabaloo about hacked source code from the University of East Anglia's Climate Research Unit that Global Warming skeptics are saying proves that the scientists who wrote these IDL and Fortran programs were intentionally fudging data. http://wattsupwiththat.com/2009/12/05/the-smoking-code-part-2/ To rebut the claim, one ...

Couple of matplotlib newbie doubts

I am just starting to use 'matplotlib' and I have hit upon 2 major roadblocks, which I can't seem to work around from the docs/examples,etc: Here is Python source: #!/usr/bin/python import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt for i in range(0,301): print "Plotting",i # Reading a single column data ...

Matlab's griddata3 for numpy?

Hi, I realize that there is a griddata for numpy via matplotlib, but is there a griddata3 (same has griddata, but for higher dimensions). In other words, I have (x,y,z,d(x,y,z)) where (x,y,z) form an irregular grid and d(x,y,z) is a scalar function of three variables. I need to generate d(xi,yi,zi) for a new set of (xi,yi,zi) points u...

Code Smell: Configuration Nightmare

How would you identify and fix the following code smell: I've got a small scientific computing app that I'm writing that has to be able to handle lots of variations on the same theme. The inner workings of it are well-factored, mostly using the template method pattern and some higher-order functions. However, specifying how all these ...

Python parallel processing libraries

Python seems to have many different packages available to assist one in parallel processing on an SMP based system or across a cluster. I'm interested in building a client server system in which a server maintains a queue of jobs and clients (local or remote) connect and run jobs until the queue is empty. Of the packages listed above, ...

Is the order of a Python dictionary guaranteed over iterations?

I'm currently implementing a complex microbial food-web in Python using SciPy.integrate.ode. I need the ability to easily add species and reactions to the system, so I have to code up something quite general. My scheme looks something like this: class Reaction(object): def __init__(self): #stuff common to all reactions d...

Interview test for applied scientific computing job

Do you know a good and objective question/test to examine applicants for a scientific computing job? (In fact, this test comes after the candidate passed an interview.) 1st) They need to be intelligent. (Edit, thanks for the words from Trent) 2nd) They would have to deal mostly with programming (C++ and Python, using scientific librar...

Looking for info on Laboratory Information Systems

I am currently working as a programmer with LIMS (Laboratory Information Systems), in the area of Environmental Wastewater Analysis. Currently, I am using a programming language called VGL (programming language proprietary to SampleManager Application). Does anyone here work in this area? Can anyone recommend any good books for further u...