Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Real and Number in ReadList incompatible?' topicStudent Support Forum > General > Archives > "Real and Number in ReadList incompatible?"

Next Comment >Help | Reply To Topic
Author Comment/Response
Martin Schroedter
05/05/03 3:53pm

Hello,

I have an ASCII list that I read in as "Number" using ReadList, call it "a". I subtract a number selected from a list containing "Real" numbers, call it "b":
Table[a[[i]]-b[[i]],{i,Length[a]}]

This simple operation takes a really long time (more than 2 minutes) if Length>249. However, if I read in the "a" list using "Real", the subtraction is done in < 1 second.

A bug?

URL: ,

Subject (listing for 'Real and Number in ReadList incompatible?')
Author Date Posted
Real and Number in ReadList incompatible? Martin Schro... 05/05/03 3:53pm
Re: Real and Number in ReadList incompatible? Forum Modera... 06/02/03 06:15am
Next Comment >Help | Reply To Topic