Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14471 > unrolled thread
| Started by | "djmpark" <djmpark@comcast.net> |
|---|---|
| First post | 2013-05-12 07:28 +0000 |
| Last post | 2013-06-04 03:14 +0000 |
| Articles | 20 on this page of 83 — 28 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-12 07:28 +0000
Re: Work on Basic Mathematica Stephen! psycho_dad <s.nesseris@gmail.com> - 2013-05-13 07:47 +0000
Re: Work on Basic Mathematica Stephen! psycho_dad <s.nesseris@gmail.com> - 2013-05-13 09:40 +0000
Re: Work on Basic Mathematica Stephen! "Nasser M. Abbasi" <nma@12000.org> - 2013-05-14 07:14 +0000
Re: Work on Basic Mathematica Stephen! Szabolcs Horvát <szhorvat@gmail.com> - 2013-05-15 06:54 +0000
Re: Work on Basic Mathematica Stephen! Szabolcs Horvát <szhorvat@gmail.com> - 2013-05-16 07:28 +0000
Re: Work on Basic Mathematica Stephen! Peter Klamser <klamser@googlemail.com> - 2013-05-16 07:28 +0000
Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-17 08:34 +0000
Re: Work on Basic Mathematica Stephen! Murray Eisenberg <murray@math.umass.edu> - 2013-05-17 08:34 +0000
Re: Work on Basic Mathematica Stephen! Peter Klamser <klamser@googlemail.com> - 2013-05-17 08:34 +0000
Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-18 06:38 +0000
Re: Work on Basic Mathematica Stephen! Peter Klamser <klamser@googlemail.com> - 2013-05-18 06:37 +0000
Re: Work on Basic Mathematica Stephen! Murray Eisenberg <murray@math.umass.edu> - 2013-05-19 09:46 +0000
Re: Work on Basic Mathematica Stephen! paulmchale7@gmail.com - 2013-05-19 09:47 +0000
Re: Work on Basic Mathematica Stephen! paulmchale7@gmail.com - 2013-05-19 09:47 +0000
Re: Work on Basic Mathematica Stephen! Szabolcs Horvát <szhorvat@gmail.com> - 2013-05-23 07:51 +0000
Re: Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-24 09:26 +0000
Re: Work on Basic Mathematica Stephen! ?iso-8859-1?Q?J=E1nos_L=F6bb?= <janos@lobb.com> - 2013-05-19 09:47 +0000
Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-20 09:03 +0000
Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-20 09:03 +0000
Re: Work on Basic Mathematica Stephen! "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> - 2013-05-20 09:03 +0000
Re: Work on Basic Mathematica Stephen! Ingolf Dahl <ingolf.dahl@telia.com> - 2013-05-20 09:03 +0000
Re: Work on Basic Mathematica Stephen! David Annetts <david.annetts@iinet.net.au> - 2013-05-20 09:03 +0000
Re: Work on Basic Mathematica Stephen! "mathgroup " <fizzymath@knology.net> - 2013-05-22 06:18 +0000
expanding the use of symbolic computation in engineering .. was Re: Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-23 07:51 +0000
Re: expanding the use of symbolic computation in engineering .. was Re: W Craig Carter <ccarter@MIT.EDU> - 2013-05-24 09:23 +0000
Re: Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-23 07:54 +0000
Re: Work on Basic Mathematica Stephen! "mathgroup " <fizzymath@knology.net> - 2013-05-23 07:56 +0000
Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-24 09:27 +0000
Re: Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-25 09:35 +0000
Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@eecs.berkeley.edu> - 2013-05-25 09:35 +0000
Re: Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-25 09:35 +0000
Re: Work on Basic Mathematica Stephen! "mathgroup " <fizzymath@knology.net> - 2013-05-24 09:28 +0000
Re: Work on Basic Mathematica Stephen! Murray Eisenberg <murray@math.umass.edu> - 2013-05-24 09:23 +0000
Re: Work on Basic Mathematica Stephen! "djmpark" <djmpark@comcast.net> - 2013-05-24 09:26 +0000
Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-25 09:34 +0000
Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-26 08:38 +0000
more problems in Warsaw plan? Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-26 08:36 +0000
Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-05-28 07:47 +0000
Re: Work on Basic Mathematica Stephen! John Doty <noqsiaerospace@gmail.com> - 2013-05-27 08:21 +0000
Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-06-02 04:24 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! John Doty <noqsiaerospace@gmail.com> - 2013-05-27 08:21 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-28 07:49 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-05-31 07:19 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-01 10:06 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-06-02 04:22 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-03 07:25 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-06-04 03:14 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-04 09:59 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Richard Fateman <fateman@eecs.berkeley.edu> - 2013-06-04 03:15 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Ingolf Dahl <ingolf.dahl@telia.com> - 2013-05-27 08:21 +0000
Re: Work on Basic Mathematica Stephen! fd <fdimer@gmail.com> - 2013-05-28 07:46 +0000
Re: Work on Basic Mathematica Stephen! David Bailey <dave@removedbailey.co.uk> - 2013-05-31 07:19 +0000
Re: Work on Basic Mathematica Stephen! fd <felipe.dimer-de-oliveira@mq.edu.au> - 2013-05-28 07:47 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! fd <fdimer@gmail.com> - 2013-05-29 07:47 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-29 07:48 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! János Löbb <janos@lobb.com> - 2013-05-30 10:07 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! "Nasser M. Abbasi" <nma@12000.org> - 2013-05-31 07:15 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! Murray Eisenberg <murray@math.umass.edu> - 2013-05-30 10:08 +0000
Applying Mathematica to practical problems John Doty <noqsiaerospace@gmail.com> - 2013-05-30 10:09 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-31 07:15 +0000
Re: Applying Mathematica to practical problems "Kevin J. McCann" <kjm@KevinMcCann.com> - 2013-05-31 07:18 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-05-31 07:16 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-01 10:07 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-01 10:07 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-02 04:23 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-03 07:24 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-04 03:11 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-04 03:11 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@eecs.berkeley.edu> - 2013-06-04 03:10 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-04 03:11 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-04 03:13 +0000
Mathematica numerics and... Re: Applying Mathematica to practical problems Daniel Lichtblau <danl@wolfram.com> - 2013-06-01 10:06 +0000
Interval vs default, was Re: Mathematica numerics and... Re: Applying Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-02 04:24 +0000
Re: Applying Mathematica to practical problems Andrzej Kozlowski <akozlowski@gmail.com> - 2013-06-02 04:23 +0000
Re: Applying Mathematica to practical problems James Stein <mathgroup@stein.org> - 2013-06-02 04:26 +0000
Re: Applying Mathematica to practical problems Mark McClure <mcmcclur@unca.edu> - 2013-06-02 04:23 +0000
Re: Applying Mathematica to practical problems Richard Fateman <fateman@cs.berkeley.edu> - 2013-06-03 07:25 +0000
Re: Applying Mathematica to practical problems Joe Gwinn <joegwinn@comcast.net> - 2013-06-03 07:26 +0000
Re: Applying Mathematica to practical problems Waclaw Kusnierczyk <waku@idi.ntnu.no> - 2013-06-03 07:24 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Leonid Shifrin <lshifr@gmail.com> - 2013-06-04 03:12 +0000
Re: Warsaw Univ. course, was Re: Work on Basic Leonid Shifrin <lshifr@gmail.com> - 2013-06-04 03:13 +0000
Re: Interval vs default, was Re: Mathematica numerics and... Re: Applying Daniel Lichtblau <danl@wolfram.com> - 2013-06-04 03:14 +0000
Page 3 of 5 — ← Prev page 1 2 [3] 4 5 Next page →
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2013-06-02 04:24 +0000 |
| Message-ID | <koehed$2so$1@smc.vnet.net> |
| In reply to | #14647 |
On 27/05/2013 09:21, John Doty wrote: > I'm another Mathematica old-timer. In early versions, Mathematica had a simple basic vocabulary of definitions, augmentable by "add-ons". This was a good thing. The basics could be covered by an actual book you could hold in your hand. But now, Mathematica has a vast flat vocabulary supported by vast flat documentation. This is not a big problem for those of us who are already familiar with it, but I can't see how a new user can cope. > This is a very valid criticism, and indeed, one reason I stopped giving introductory Mathematica courses, was that the language had become so big, that I couldn't possibly cover even a "basic subset" of its functionality. Certain weed killers operate by promoting wild uncoordinated growth - which kills the plant. The sheer range of functions available, can give rise to some ludicrous misconceptions. For example, I came across one person who was using SelectionEvaluate as his way of "calling a function in another notebook"! At the very least, someone needs to classify the functions in some way so as to ease the burden on the beginner. The classification tags could include: Foundation Programming Basic maths Notebook manipulation <Various domain specific topics> The tags might also contain some indication of the level of sophistication expected - beginner, intermediate, advanced. Users might even find it helpful to hide functionality that they decided was not appropriate to them. This might have solved the example I gave above. David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | John Doty <noqsiaerospace@gmail.com> |
|---|---|
| Date | 2013-05-27 08:21 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <knv52t$j93$1@smc.vnet.net> |
| In reply to | #14471 |
On Sunday, May 26, 2013 2:38:23 AM UTC-6, Richard Fateman wrote: > As has been pointed out in the past, Mathematica has numerous > disadvantages for use in computer science. By "computer science" you seem to mean "the ideology of my academic clique". A real computer science education would expose the student to a wide variety of models of computation. Mathematica's model is both eccentric and very productive, so in that sense it's a good candidate for an educational tool in computer science. > For example, it > misconstrues common terms like List. "List" is a perfectly good English word, with multiple meanings. Lisp lists have strange properties and historical baggage that grocery lists lack, so an English major might object that it's *you* who are abusing the word. Mathematica's List[] expressions are suitable for a pattern replacement system that repeatedly evaluates by default. If you don't like Mathematica's lists, I suppose you really must hate Haskell's ;-) > Its algorithms are secret. I think it highly probable that the processor you're using to read this is of secret, proprietary design. Even if it's "open hardware" (unlikely), it's almost certainly implemented in silicon using a secret, proprietary process. You're a "black box" user just like the rest of us. In every case, you have to decide when to go past an interface for more insight, and when the implementation details are unimportant. > > Its arithmetic is unique. Another advantage. Do you really believe that there's a single model of computer arithmetic that suits all purposes?
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2013-05-28 07:49 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko1nhc$r3t$1@smc.vnet.net> |
| In reply to | #14650 |
On 5/27/2013 1:21 AM, John Doty wrote: > On Sunday, May 26, 2013 2:38:23 AM UTC-6, Richard Fateman wrote: > >> As has been pointed out in the past, Mathematica has numerous >> disadvantages for use in computer science. > > By "computer science" you seem to mean "the ideology of my academic clique". I suppose each academic clique (as you say) has its own ideology. Perhaps yours is mathematics or physics. Suppose that I wrote a text book that purported to "do all of mathematics" but defined zero as a fuzz-ball (oops, Mathematica already does that).. etc etc. > A real computer science education would expose the student to a wide > variety of models of computation. Learning Mathematica (only) exposes a student to a singularly erroneous model of computation, compatible with ordinary consistent computing in a few areas (like integer arithmetic, small precision floats, sometimes) > Mathematica's model is both eccentric and very productive, Nice that you concede it is eccentric. Productive perhaps if you do not encounter a quirk. Especially a hidden quirk that gives the wrong answer but no warning. And if you are not in a hurry for numerical results. > so in that sense it's a good candidate for an educational tool in computer science. Educational in the sense of showing a computer science student studying compilers and programming languages a design gone wrong. Harmful if it is used as an example of how to design an algorithmic language. Probably OK in its sub-language for specifying graphics. > >> For example, it >> misconstrues common terms like List. > > "List" is a perfectly good English word, with multiple meanings. So are Group, Ring, Field, Set, Union. In fact, most technical terms in mathematics are common words with multiple meanings in some natural language (often English, but sometimes French, e.g. clique) > Lisp lists have strange properties and historical baggage that grocery lists lack, >so an English major might object that it's *you* who are abusing the word. >Mathematica's List[] expressions are suitable for a pattern replacement >system that repeatedly evaluates by default. I do not see any connection here. It is possible to write a linked list in Mathematica and still use its evaluation. e.g. consider using node[element,RestOfList]. Instead of [A,B,C] use node[A,node[B,node[C,Nil]]]. A node here is like a lisp "cons" cell. In fact there are other computer algebra systems written in lisp that use lisp lists and have similar evaluation strategies to Mathematica. > > If you don't like Mathematica's lists, I suppose you really must hate Haskell's ;-) > >> Its algorithms are secret. As compared to the algorithms in alternative programs, some of which are described in detail, and perhaps even shown in open source. > > I think it highly probable that the processor you're using to read this is of secret, > proprietary design. Even if it's "open hardware" (unlikely), it's almost certainly >implemented in silicon using a secret, proprietary process. You're a "black box" > user just like the rest of us. In every case, you have to decide when to go past >an interface for more insight, and when the implementation details are unimportant. > The processor I'm using may of course have non-deterministic aspects. Indeed it might be struck by a cosmic ray and do something bizarre. However, its expected behavior is described in sufficient detail that Intel and AMD chips can be claimed to be, at some level indistinguishable. >> >> Its arithmetic is unique. Perhaps I should have said "unique and discredited by the academic clique that goes by the name Numerical Analysis." > > Another advantage. Do you really believe that there's a single model of > computer arithmetic that suits all purposes? I cannot say what "all purposes" might encompass. For example, a fraudulent accountant might want something "special". I will say that for scientific computing it is probably a bad feature to have finite numbers x such that x ==0 and x+1 == x. RJF >
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2013-05-31 07:19 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko9ito$kf1$1@smc.vnet.net> |
| In reply to | #14660 |
On 28/05/2013 08:49, Richard Fateman wrote: > > I do not see any connection here. It is possible to write a linked list > in Mathematica and still use its evaluation. e.g. > consider using node[element,RestOfList]. Instead of [A,B,C] use > node[A,node[B,node[C,Nil]]]. A node here is like a lisp "cons" cell. > In fact there are other computer algebra systems written in lisp that > use lisp lists and have similar evaluation strategies to Mathematica. > Yes you could, and you might find it instructive to do this, because you would then see exactly why Stephen Wolfram chose to implement lists in a different way! Try using your implementation to implement some 1000 x 1000 matrix algebra! OK - perhaps you wouldn't want to use your new list implementation for linear algebra, but in that case, where would you want to use it? Lisp lists are expensive to use unless the algorithm is tailored to generate lists in reverse order, and consume them in forward order (OK you can reverse a Lisp list, but that consumes space for a copy, but random access is still inefficient). Since the Lisp language was designed very early on, I would imagine its list structure reflects the tiny memory spaces available at that time. Garbage collection of varying sized objects is more complex and tends to need some slack memory. The decision to implement lists the Mathematica way, has been amply vindicated in recent years. Because the mechanisms supplied to access lists are not skewed towards sequential access, it has been possible to produce packed arrays (and indeed sparse arrays) that work as drop in replacements for the equivalent list structures - with enormous performance gains. Mathematica also gains from the decision to make lists mutable - again this simplifies the design of algorithms and increases performance. Clearly Mathematica lists also score in they must help internally to avoid repeated evaluation. Clearly Mathematica must store some information in the head of every object to keep track of objects that need reevaluation, and you wouldn't want each list node to be bloated out in that way. Yes you could implement Lisp-style lists in Mathematica, and with a bit more effort, you could also supply them with a nice syntax for input/output, so try it and see how many people find them useful! David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2013-06-01 10:06 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <koch3o$t5j$1@smc.vnet.net> |
| In reply to | #14691 |
On 5/31/2013 12:19 AM, David Bailey wrote:
> On 28/05/2013 08:49, Richard Fateman wrote:
>>
>> I do not see any connection here. It is possible to write a linked list
>> in Mathematica and still use its evaluation. e.g.
>> consider using node[element,RestOfList]. Instead of [A,B,C] use
>> node[A,node[B,node[C,Nil]]]. A node here is like a lisp "cons" cell.
>> In fact there are other computer algebra systems written in lisp that
>> use lisp lists and have similar evaluation strategies to Mathematica.
>>
>
> Yes you could, and you might find it instructive to do this, because you
> would then see exactly why Stephen Wolfram chose to implement lists in a
> different way!
I have no objection to a data type that might reasonably be called
Vector, or perhaps Sequence, that implements a data structure that uses
sequential storage. I object to calling it List.
>
> Try using your implementation to implement some 1000 x 1000 matrix algebra!
I would not particularly advise using linked lists for a dense matrix,
but linked lists for small matrices might be just fine, or sparse
matrices of large dimension but few entries. In the context of SYMBOLIC
matrices, one generally ends up using smallish sizes because of
explosive growth in costs for doing non-trivial operations with them.
In a numeric context, 1000x1000 or much much larger is more likely.
>
> OK - perhaps you wouldn't want to use your new list implementation for
> linear algebra, but in that case, where would you want to use it?
You think that linked lists are of no use? If you have access to
a computer science text on data structures, I suggest you look. Or
use Google for ... applications linked lists.
> Lisp
> lists are expensive to use unless the algorithm is tailored to generate
> lists in reverse order, and consume them in forward order (OK you can
> reverse a Lisp list, but that consumes space for a copy, but random
> access is still inefficient).
This is a silly argument. If you know in advance that the size of a
vector is n then you can allocate space for it in Mathematica or in Lisp
as a vector.
If you don't know the size,
adding one more element beyond the allocated space n requires O(n)
time for copying. For a linked list it is O(1) to add an element.
This has consequences for many applications including building queues,
algebraic expression trees, storage management etc. Perhaps you are
familiar with the related notion of a pointer, in the C language.
It is quite possible to write a lisp program that appends to the end of
a list in time O(1). If you have access to information on lisp, look up
nconc. It is, however a "destructive" operation, and not my favorite
way of building a list. If I want to reverse a list that I know is not
shared (i.e. I just constructed it!) I can use nreverse which is
quite fast, and reverses a list IN PLACE. Accessing elements in a linked
list of just a few elements (say, 8 or 10?) may be faster than accessing
elements in a vector, where array indexes may have to be translated into
byte addresses, checked against array bounds, before retrieving.
Note that once a linked list is stored in memory cache, accesses can be
quite fast.
If a lisp programmer wants to use an array, that is available in the
language. If a lisp programmer wants to use a linked list, that is
available too. If a Mathematica programmer wants to use a linked list,
there is the (admittedly clumsy) construction I suggested previously,
but basically it not an advertised option.
If you want to look for ways in which lisp can be expensive, I
suggest you learn more about it, for example understanding boxed/unboxed
numbers.
The idea that someone might write a slow program in a language
is not an indictment of the language if a slightly more experienced or
skilled or knowledgeable person could write an equivalent computation
that runs very fast. It would be nice if even naive programs written
by naive programmers were magically "optimized" into better programs.
This is a challenge in the design and implementation of languages.
E.g. "automatic parallelization" ...
My criticisms of Mathematica's language (EF) are
based on situations in which the language itself interferes with the
writing of efficient or mathematically consistent or even numerically
accurate programs. And it misuses names...
>
> Since the Lisp language was designed very early on, I would imagine its
> list structure reflects the tiny memory spaces available at that time.
> Garbage collection of varying sized objects is more complex and tends to
> need some slack memory.
Lisps on modern computers tend to have pointers that are close to the
normal size of words in the architecture. That is 32 or 64 bits.
Usually a few bits in a pointer are treated as tags.
But on the other hand there is usually no need to address individual
bytes -- if you address only words, you can mask off some of those bits
anyway.
>
> The decision to implement lists the Mathematica way, has been amply
> vindicated in recent years.
Um, I don't care that vectors work OK in Mathematica. They work OK
in Lisp too. In fact they provide a very efficient mechanism if you
declare them to be vectors of elements with a particular type. Then
they can be unboxed (which you could read about). If you have a vector
of elements of arbitrary stuff, you generally store pointers, just as
you have in Mathematica. Lisp declared vectors or arrays appear
to correspond to a generalization of PackedArray in Mathematica.
This notion in Lisp goes back quite a way, at least 1984.
I don't know of any reason to say that the use of the name List has
been vindicated. In seems to be potentially a source of confusion
to anyone who knows (say) programming in C, Lisp, ...
> Because the mechanisms supplied to access
> lists are not skewed towards sequential access, it has been possible to
> produce packed arrays (and indeed sparse arrays) that work as drop in
> replacements for the equivalent list structures - with enormous
> performance gains.
Um, if you want to argue that there are advantages to packed arrays
or sparse arrays, you will have to find someone else to argue with.
I agree.
>
> Mathematica also gains from the decision to make lists mutable - again
> this simplifies the design of algorithms and increases performance.
I have no idea what you are arguing about. Lists in lisp are mutable.
e.g. (setf x '(a b c)) (setf (second x) 'q) --->
x is the list (a q c)
"Lists" in Mathematica may not be. e.g.
f[n_]:=(Print[n];Hold[f[n]]);
q=Table[f[i],{i,1,3}]
q[2]= 2
FAILS.
ReleaseHold[q[2]] re-evaluates not just q[2], but every element in q.
It prints 1,2,3
>
> Clearly Mathematica lists also score in they must help internally to
> avoid repeated evaluation.
Just as arrays help? Oh, I forgot. They are the same as arrays.
> Clearly Mathematica must store some
> information in the head of every object to keep track of objects that
> need reevaluation, and you wouldn't want each list node to be bloated
> out in that way.
It actually works the other way. If some element of a "List" is
altered, then every element in that array must be re-evaluated. So it
is a big disadvantage. See the example above, with q[2].
If you wish to implement a "re-evaluate if it might matter" strategy,
you can do so by noting the dependency of variables on symbols. A linked
list cell is not a variable or a symbol. At least 2 other computer
algebra systems use such a strategy (one optionally).
>
> Yes you could implement Lisp-style lists in Mathematica, and with a bit
> more effort,
I showed how to do it.
you could also supply them with a nice syntax for
> input/output,
Surely.
so try it and see how many people find them useful!
The point I was making regarding "Lists" is that Wolfram is using a
word for something quite different from the list data structure.
This is one among a number of reasons to not use Mathematica for
computer science.
Linked lists are used all the time in Mathematica. g[h[x]] is a linked
list.
By the way f[x] or Sin[x] looks sort of like a "function" but with
square brackets. But it is not really. It has something to do with
rules, patterns, evaluation, etc. As I recall, in SMP, Wolfram's prior
CAS before Mathematica, such things were called Projections.
This was probably too confusing, In any case the term was dropped.
Maybe the people who knew other meanings for projection were able to
get to him (e.g. graphics people?) in a way that computer scientists
could not.
http://www.stephenwolfram.com/publications/articles/computing/81-smp/1/text.html
RJF
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2013-06-02 04:22 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <koehai$2s1$1@smc.vnet.net> |
| In reply to | #14696 |
On 01/06/2013 11:06, Richard Fateman wrote: > > I have no objection to a data type that might reasonably be called > Vector, or perhaps Sequence, that implements a data structure that uses > sequential storage. I object to calling it List. Indeed, the essence of your criticism seems to be merely that Mathematica gives a slightly different technical meaning to the English word 'List' than that of Lisp! If the head of a Mathematica list was LinkedList, you might have a point, as it is, your criticism is absurd. I might as well claim that either the physics concept of field or the pure maths concept of a field is wrong because they are not the same! If anything, Mathematica's use of the term 'List' is a little closer to its English meaning, in as much as you can access its elements in random order - just as you can with a shopping list! John McCarthy didn't get to coin the computer science meaning of the word 'List' for ever more! Indeed, perhaps the very fact that he chose the word 'List', rather than something more descriptive like 'Chain' meant that he wanted people to concentrate on what it represented, rather than just on how it was implemented. David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2013-06-03 07:25 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <kohgcg$c9l$1@smc.vnet.net> |
| In reply to | #14702 |
On 6/1/2013 9:22 PM, David Bailey wrote: > On 01/06/2013 11:06, Richard Fateman wrote: >> >> I have no objection to a data type that might reasonably be called >> Vector, or perhaps Sequence, that implements a data structure that uses >> sequential storage. I object to calling it List. > > Indeed, the essence of your criticism seems to be merely that > Mathematica gives a slightly different technical meaning to the English > word 'List' than that of Lisp! No, my point, though I may have worn it out with repetition, is that using Mathematica for computer science, or implying that it represents computer science best practices has many hazards. One of which is that it misuses common terms in ways that are wrong. For example List is used for a vector or array. > > If the head of a Mathematica list was LinkedList, you might have a > point, as it is, your criticism is absurd. It would be perfectly reasonable to believe that List in Mathematica is implemented as a linked list. See for example Append, Prepend, Rest. > I might as well claim that > either the physics concept of field or the pure maths concept of a field > is wrong because they are not the same! Actually it is not analogous. Let us say that you wrote a math text and decided that YOUR book would not use the ordinary math definition of field, but would use field to denote, say, quotient ring. Then proved a bunch of theorems about fields, theorems that were true of quotient rings but generally FALSE about the "usual math" field. That would be more like it. Not too many people would be confused by the use of field as in "field of corn" and an algebraic system. > > If anything, Mathematica's use of the term 'List' is a little closer to > its English meaning, in as much as you can access its elements in random > order - just as you can with a shopping list! Ah, that would make it right, do you think? That your math text which defines field as a quotient ring also says (oh by the way, fields in my text book are usually green, so my definition is better...) > > John McCarthy didn't get to coin the computer science meaning of the > word 'List' for ever more! Of course not. It was in use well before Lisp. I don't know the earliest use, but IPL-V used it (look it up on wikipedia), circa 1954. The notion of linked list is kind of implicit in machine architectures with indirect addressing. Indeed, perhaps the very fact that he chose > the word 'List', rather than something more descriptive like 'Chain' > meant that he wanted people to concentrate on what it represented, > rather than just on how it was implemented. Perhaps. We cannot ask the late John McCarthy. However, it is more likely that he was merely using the conventional term at the time. The implementers of Lisp were not very big on abstraction in the language per se. After all, CAR and CDR, operations that we would call first() and rest() were named for acronyms addressing parts of a machine register. I suggest you learn more about Lisp if you wish to comment on it. RJF >
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2013-06-04 03:14 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <kojm2g$kbt$1@smc.vnet.net> |
| In reply to | #14717 |
On 03/06/2013 08:25, Richard Fateman wrote:
> On 6/1/2013 9:22 PM, David Bailey wrote:
>> On 01/06/2013 11:06, Richard Fateman wrote:
>>>
>>> I have no objection to a data type that might reasonably be called
>>> Vector, or perhaps Sequence, that implements a data structure that uses
>>> sequential storage. I object to calling it List.
>>
>> Indeed, the essence of your criticism seems to be merely that
>> Mathematica gives a slightly different technical meaning to the English
>> word 'List' than that of Lisp!
>
> No, my point, though I may have worn it out with repetition, is that
> using Mathematica for computer science, or implying that it represents
> computer science best practices has many hazards. One of which is that
> it misuses common terms in ways that are wrong. For example List
> is used for a vector or array.
>>
The point is that almost every technical subject usurps a few common
words, and gives them special meanings. Every computer language does
this, and some of them aren't consistent with other languages. Think of
the number of partially consistent definitions of the word 'Module' that
exist! Formats exist in Fortran, C, and Mathematica, but they aren't the
same!
If Lisp had used a neologism like CARCDRTUPLE, it would be reasonable to
leave that word alone - and any use of CAR, CDR, CDDR, CONS, etc should
be avoided unless the meaning is essentially the same as in Lisp.
However, the motivation behind the use of words like 'List', 'Module'
and 'Format' is English, and you simply can't expect to achieve
consistency across different usages.
Incidentally, I once saw a book about physical fields classified in the
library in the pure maths section. I brought this to the attention of
the librarian, who couldn't seem to see my point, and did nothing. The
word 'field' also seems to crop up in signal processing texts in the
maths sense, where it could indeed confuse physics students. Every
re-definition of a word has a potential cost.
Calling Mathematica lists 'vectors', or even 'tuples' would be extremely
confusing to many people in certain contexts, and would almost certainly
upset you! I think you would object that a 'vector' such as
{"alpha",23,{}} wasn't a vector in the maths sense at all! Perhaps you
would prefer the syntax WolframList[1,2,3], or Obj652[1,2,3]! That
syntax would be perfect (from your point of view) because it would make
Mathematica code unreadable and much less attractive!
David Bailey
http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | Andrzej Kozlowski <akozlowski@gmail.com> |
|---|---|
| Date | 2013-06-04 09:59 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <kokdph$n6f$1@smc.vnet.net> |
| In reply to | #14717 |
On 4 Jun 2013, at 08:00, David Bailey <dave@removedbailey.co.uk> wrote: > library in the pure maths section. I brought this to the attention of > the librarian, who couldn't seem to see my point, and did nothing. The > word 'field' also seems to crop up in signal processing texts in the > maths sense, where it could indeed confuse physics students. Every > re-definition of a word has a potential cost. I once saw an (unreliably autobiographical) book by the Irish comedian Spike Milligan entitled "Mussolini: His Part in My Downfall" in the "history of fascism" section of a very famous academic bookshop. I wondered is I should bring this up to the attention of someone in the bookshop, but decided that it was the kind of thing Spike Milligan would have loved, and so decided it was best to leave it as it was. Which I think is usually the best policy in such situations. Andrzej Kozlowski
[toc] | [prev] | [next] | [standalone]
| From | Richard Fateman <fateman@eecs.berkeley.edu> |
|---|---|
| Date | 2013-06-04 03:15 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica |
| Message-ID | <kojm3p$kc4$1@smc.vnet.net> |
| In reply to | #14691 |
On 6/3/2013 9:25 AM, Leonid Shifrin wrote:
<long message>
Thanks for what I consider a most agreeable contribution.
I was not aware of your material on stackexchange, which seems
to be rather nice.
You are right that my example regarding mutable Lists in Mathematica
was incorrect. Actually on two grounds. The syntax was not right and
I did not mean to say that Lists in Mathematica are not mutable, since
they certainly are.
Just that Lists have the uncomfortable property that if you access one
element,
all the others are re-evaluated. Here is an example, which I think is
free of
mis-used syntax...
( q=Table[f[i],{i,1,3}];
f[n_]:=(Print[n];g[n]))
q[[2]]
evaluates to display
1
2
3
g[2]
Changing q by, for example, q[[2]]=hello
does not re-evaluate the elements.
However, referring to in again as q[[2]] does this:
1
3
hello
Thanks for pointing out the original error.
RJF
[toc] | [prev] | [next] | [standalone]
| From | Ingolf Dahl <ingolf.dahl@telia.com> |
|---|---|
| Date | 2013-05-27 08:21 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <knv51k$j8v$1@smc.vnet.net> |
| In reply to | #14471 |
Andrzej, I think this really sounds interesting, and hope to hear more about your experiences later here. Of course there are questions and problems with it, all new projects are "impossible" in one or another way. The really interesting thing is to know if these impossibilities can be handled in some good way. Good luck! Ingolf Dahl Sweden > -----Original Message----- > From: Andrzej Kozlowski [mailto:akozlowski@gmail.com] > Sent: den 25 maj 2013 11:42 > To: mathgroup@smc.vnet.net > Subject: Re: Work on Basic Mathematica Stephen! > > Well, to disappoint everyone I have to confess that here, at Warsaw University, we are > going to have a university wide course in Mathematica, open to all students of mathematics, > natural sciences, economics and finance and even (oh horror!) computer science (in fact, I > am not in the process of trying to "sell" this course to my the students in my analysis for > computer science class). We have actually received a grant, quite substantial by Polish > standards, to implement such a course, and, of course, since everyone likes extra money, this > has meant that there has been no opposition or grumbling about it from any "old fogies" > (except perhaps one guy who complained that Mathematica was not open source but we > quickly stifled him). > > An even greater heresy: the course also is going to involve some knowledge of Wolfram > Alpha: in fact it is entitled "Mathematics with Mathematica and Wolfram Alpha". (To RJF - > no, we are not going to teach anything about any other CAS. If anyone likes to use > something other than Mathematica they can learn it itself, but won't get any credit for it). > Actually, our course is going to be a "supervised, self-study and Internet based course". In > other words, we (the project authors, who are getting paid for designing and realising it) will > prepare study materials (scripts, videos, problems in different disciplines that can be solved > with the help of Mathematica or Wolfram|Alpha, tests, etc. but there won't be any lectures. > There will however be tests and students will be able to get credit for passing them - > otherwise, of course, it would be hard to get them interested. > > A large part of the grant is for buying a fairly large number of copies of Mathematica (in > addition to the ones that are already here). > > Our motives for designing this project are quite selfish (and I don't only mean the fact that > we are going to be paid for this). There are several of us who want to use Mathematica in > our courses and it is a pain to have to waste time on teaching students the basics of > Mathematica. Soon there will be several new courses available to math and science students > in which Mathematica will be used. One of them is a new course on the differential > geometry of curves and surfaces, which will be offered in addition to the already existing > one which does not use any computer software. (Students will be able to take both > sequentially - they are going to be sufficiently different for this to make sense). There is also > a course that I have taught in the past, for which there has been a big demand among > students of finance - on modelling jump processes. Contrary to the strange ideas RJF got > from my earlier post, this is not something that statistics packages have been doing for years, > actually it involves things that are pretty new (so much that there are still unresolved > problems with some of the > algorithms) and, in fact, I am proud to admit to having played a certain role in this > implementation in Mathematica. > > We actually have quite a few people here who although they themselves don't use > Mathematica or CAS systems at all, have shown a lot of interest in having students learn > such things. The main interest is, in fact, not so much in symbolic computation but in > graphics used to illustrate various phenomena in topology, complex analysis etc. Although > one might expect that there should already be lots of such illustrations available on the > Internet (or even on Wolfram's Demonstrations Site" > this does not seem to be actually the case. > > Of course, all of this is at this time only in its infancy. About a year from now I should be > able to say something about the success or failure of this project. At this time the thing that > worries me the most is the amount of work I foresee in trying to realise all we have promised > in the proposal. > > Andrzej Kozlowski > > > > On 24 May 2013, at 12:27, mathgroup <fizzymath@knology.net> wrote: > > > I had to chuckle at your use of the word 'conceal'.....unfortunately, > > I agree with your comment....mentioning Mathematica seems akin to > > treason.....that was the reaction I felt... > > > > > > jb > > > > > > -----Original Message----- > > From: Murray Eisenberg > > Sent: Thursday, May 23, 2013 10:00 AM > > To: mathgroup > > Subject: Re: Work on Basic Mathematica Stephen! > > > > This is not an uncommon situation at colleges and universities. > > > > Too many of the old fogies -- and, more dangerously, the "young > > fogies" -- know about Ma. . t. .b and cannot imagine why anybody who > > needs to do computing would use anything else. After all, it was good enough for them. > > (Exception: Canadians who thing the same about M . . . e.) > > > > Similarly, too many mathematicians cannot see why their students > > should not learn how to carry out long and complex symbolic > > calculations, e.g., symbolic integration, with paper and pencil; after all, they had to do it. > > Oddly enough, some of these same mathematicians use powerful symbolic > > programs to do their own research in number theory, algebraic geometry, etc. > > > > But I'm sympathetic to the view that there shouldn't be a course in a > > mathematics department on Mathematica per se. Just as there shouldn't > > be a course there in LaTeX per se. Just as Computer Science > > departments say they don't have a course in any programming language. > > > > So if one is to make any headway, then one has to almost conceal the > > Mathematica within a mathematics course whose subject is some > > mathematical topics, or an engineering course whose subject is some > > engineering topic, etc. Just as, e.g., in some "junior year writing" > > courses taught by math departments, LaTeX is introduced and students > > have to do some or all of their papers in LaTeX. Or a mathematics > > department course in complex analysis where small teams of students do > > projects presenting some topic via a Mathematica notebook (where a > > couple of the projects might be teaching some Mathematica basics). > > > > Perhaps this "sneaky" way is not the most efficient way for teaching > > and learning Mathematica, but it can work. In fact, Stephen Wolfram > > wrote in "The Mathematica Book" some years ago that, after learning a > > few basics and trying some simple examples from the book (today, the > > Documentation Center), "You will probably find it best to start by > > picking a specific problem to work on. Pick a problem that you > > understand well. . . Then go through each step in solving the problem, > > learning what you need to know about Mathematica to do it." > > > > > > On May 23, 2013, at 4:10 AM, mathgroup <fizzymath@knology.net> wrote: > > > >> David... > >> > >> But that was exactly my point...I tried so hard with our Community > >> College and University to get Mathematica into the curriculum....or, > >> as I said, to give some lectures and examples on the use of > >> Mathematica....and ALL of them, Engineering, Math and Physics Depts > >> said 'Thanks but No Thanks', as if they have something against > >> Mathematica....It seemed that the idea that students would not use > >> pencil and paper in as laborious a manner as possible really bothered > >> them....Not once did they think perhaps this might lead to a real > >> enjoyment of technical subjects and perhaps to much better > >> understanding of their course work......even when I was working I was > >> affectionately known as 'The Mathematica Nut'...although, I'm > >> reminded of something that Nietzsche said.... > >> > >> "Overzealousness on the part of one person can lead the others to > >> Apostasy"..... > >> > >> jerry blimbaum > >> > >> -----Original Message----- > >> From: djmpark > >> Sent: Wednesday, May 22, 2013 9:28 AM > >> To: 'mathgroup ' ; mathgroup@smc.vnet.net > >> Subject: Re: Work on Basic Mathematica Stephen! > >> > >> It will be done by example. Several people will work together, > >> exchanging Mathematica notebooks or working on a common notebook. The > >> notebooks will be what I call "literate"; they will look something > >> like a technical paper or report, but they will take advantage of all > >> the active and dynamic features of Mathematica, and contain generated > >> knowledge in the form of active and immediately accessible routines > >> and definitions developed in the course of the effort. > >> > >> The notebooks will be of higher integrity than paper and pencil work, > >> or using Mathematica as a programmed calculator and copying out > >> because of all the self-proofing and additional checks that can be > >> performed. (Of course, one can still make errors but they should be > >> rarer and not the common > >> variety.) > >> > >> That all this can be done in a single application is a tremendous > >> advantage. > >> > >> Someday other people will see what they are doing and the advantages > >> are so great they will want to do the same thing. The task is getting > >> more people to write and use good examples. > >> > >> > >> David Park > >> djmpark@comcast.net > >> http://home.comcast.net/~djmpark/index.html > >> > >> > >> > >> > >> From: mathgroup [mailto:fizzymath@knology.net] > >> > >> I want to comment on my experience , limited of course, with > >> students of Engineering, Engineers and Professors of > >> Engineering.....my background is Physics... > >> > >> First, I get the impression that , in the main, Symbolic > >> Computation, etc. > >> is not something they are really interested in......After I retired, > >> I took several courses in Electromagnetics, one Graduate and the > >> other Undergraduate......No one suggested the use of or taught the > >> potential applications of Mathematica....Even in the Graduate course, > >> I was the only student using Symbolic software ......in fact, the > >> students did everything by hand and whenever something required > >> software, such as Antenna patterns, out came M-------b with some code > >> , etc....and that was the end of it....So, the students knew no > >> better....and the Professors didn't care or weren't interested > >> themselves in the benefits of learning and solving problems > >> Symbolically....I asked one Professor if I could give a class lecture > >> on the > >> use of Mathematica for Electromagnetics...He agreed but than said 'I can > >> only give you about ten minutes'....I respectfully declined the offer.... > >> > >> So, how does WRI expand its market?....IMO, there have to be > >> dedicated Teachers on how to use Mathematica in what I'll call the > >> Research Mode not just define given functions from the text and plot > >> it.......from what I have seen of the attitude of Instructors and > >> Professors I'm anything but Optimistic....I went to our local > >> Colleges and suggested a sequence of courses in Mathematica ending > >> with Animation and Simulation....That got me nowhere especially with > >> the Math Depts...so, in part, I see people who are stuck in pencil > >> and paper and refuse to get out of it.... > >> > >> Again, of course, this is my limited experience...Perhaps others have > >> had different and better ones... > >> > >> Jerry Blimbaum > >> > >> > >> > >> -----Original Message----- > >> From: paulmchale7@gmail.com > >> Sent: Sunday, May 19, 2013 4:50 AM > >> To: mathgroup@smc.vnet.net > >> Subject: Re: Work on Basic Mathematica Stephen! > >> > >> I have (maybe) a minority perspective on Mathematica being an > >> engineer. I used it long ago at university at version 1. The next > >> time I would use it would be a wolfram approved ebay purchase of > >> version 4. I have used it ever since, but am still rookie in some > >> ways. > >> > >> I believe WRI is attempting to broaden the user base rather than > >> deepen the product. They are doing this by adding (from our > >> perspective) non-value add features to lure people in. The argument > >> is the learning curve is less which should lead to greater sales. > >> This is not how it works at any place I have been. > >> > >> The only engineering sales force that matters is engineers. If they > >> can't argue for the product, it will not happen. Engineers can't > >> argue for something they are unable use until after purchase and > >> additional training. > >> If you want engineers to demonstrate something or argue for it, you > >> have to do more than offer wizards and connections to WolframAlpha > >> which only apply after the sale. Engineers need to show > >> understanding and capability. > >> Managers have to show accounting they are saving money by buying > >> Mathematica. Improvements in quality of OUR products or ability to > >> address greater problems is not quantifiable to the brigade of MBAs > >> who run modern businesses. There has to be quantifiable savings. > >> This has to be demonstrated by engineering staff before purchase and > >> framed in terms of reduced need for time (salary expense). > >> > >> I think this can only be achieved by making the online education > >> material targeted to a specific audience. This material must solve > >> real problems in a way that conveys the underlying capability. > >> > >> I have been told by WRI that most users will only use 5% (at most) of > >> Mathematicas total ability. LoL, if only everyone would use the same 5%. > >> > >> If you want us to be able to sell it, you have to provide training > >> for free so we can get started solving engineering problems prior to > >> purchase. > >> Combine this with a 60 day trial and you could save a lot of WRI > >> development dollars on bells and whistles that won't increase sales. > >> Help us help you! > >> Stop trying to treat sales tools as a profit center! > >> > > > > --- > > Murray Eisenberg murray@math.umass.edu > > Mathematics & Statistics Dept. > > Lederle Graduate Research Tower phone 413 549-1020 (H) > > University of Massachusetts 413 545-2838 (W) > > 710 North Pleasant Street fax 413 545-1801 > > Amherst, MA 01003-9305 > > > > > > > > > > >
[toc] | [prev] | [next] | [standalone]
| From | fd <fdimer@gmail.com> |
|---|---|
| Date | 2013-05-28 07:46 +0000 |
| Message-ID | <ko1ndi$r38$1@smc.vnet.net> |
| In reply to | #14471 |
All, This is a very interesting debate. I wrote a longer answer with some experiences I had while mentoring a colleague into Mathematica, but apparently google groups lost it. The core point I'd like to make is that the greatest things about Mathematica are, in my opinion, its language and its principles. I think Mathematica structure is far truer to mathematics than other languages. The missing bit for me is deployability; Mathematica would be more useful to me in my work if its deployment aspect worked more like a true programming language, like java applets or iPad apps, without restrictions to import user data and so on, which is a similar point others have already made in this thread. Best
[toc] | [prev] | [next] | [standalone]
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Date | 2013-05-31 07:19 +0000 |
| Message-ID | <ko9it4$kev$1@smc.vnet.net> |
| In reply to | #14655 |
On 28/05/2013 08:46, fd wrote:> All, > > This is a very interesting debate. I wrote a longer answer with some experiences I had while mentoring a colleague into Mathematica, but apparently google groups lost it. > > The core point I'd like to make is that the greatest things about Mathematica are, in my opinion, its language and its principles. I think Mathematica structure is far truer to mathematics than other languages. The missing bit for me is deployability; Mathematica would be more useful to me in my work if its deployment aspect worked more like a true programming language, like java applets or iPad apps, without restrictions to import user data and so on, which is a similar point others have already made in this thread. > > Best > > I am wondering in what way you think Mathematica restricts your ability to import user data! I would say there are a lot of options, and the link to Java also gives you access to all of Java's I/O if necessary. David Bailey http://www.dbaileyconsultancy.co.uk
[toc] | [prev] | [next] | [standalone]
| From | fd <felipe.dimer-de-oliveira@mq.edu.au> |
|---|---|
| Date | 2013-05-28 07:47 +0000 |
| Message-ID | <ko1ne7$r3a$1@smc.vnet.net> |
| In reply to | #14471 |
djmpark I'm getting a bit late, but, anyway, hope it's relevant. I couldn't agree more with you djmpark. Only recently I've been using Mathematica (4 years+ of use) and it is my favorite software and working tool. But the truth is that it has stability and memory issues; I have often lost work because it crashed in the middle of a small computation, it consumed my machine's memory and so on. Conceptually, I think it is a tool well ahead its time and I grant that it shouldn't be easy to implement, but my main critic is less the implementation and more the business model WRI uses to market Mathematica and to expand its user basis. One basic fact WRI doesn't seem to understand is: Mathematica is disadvantaged because people are used to another programming paradigm. This could explain why another system, a far inferior software, is the prime modelling tool in universities (at least to the extend I've seen, I'm the only heavy Mathematica user I know). I'm mentoring a newcomer in my work and it was hard to convince her that Mathematica was better for what we do. At the end, and that's more to the point I intend to make, she only set for Mathematica because it allowed her to connect to databases without having to buy expensive toolboxes. After a bit of a struggle to overcome the learning barrier, I (hopefully) enlisted another soldier to the Mathematica ranks, but so far it is the two of us against the department :-) I guess the point I'd like to make is that people usually decide for a tool not because of some philosophical reason, but based on what they can get their hands on and make work. But Mathematica's paradigm already scares people away, and, apart the database example I gave above, it also seems to try to tie users' hands as much as possible. Another example that comes to mind are the CDFs: it is a great idea, but when it comes to deployment, for example, it restricts the user from displaying external data. One example that comes to mind is gapminder, whose graphs are more or less trivially done in Mathematica... except for the deployment, which requires CDF enterprise; not really easy for any user to implement. A few years back we were approached by another institution to help create a similar thing; they were blown away by the graphs I produced with Mathematica, but would we be able to deploy it easily for a non-Mathematica user (the project was cut-off for other reasons)? Anyway, I'm NOT advocating that Mathematica should be open source. In fact I'd be quite unhappy about it. But there's something missing on it that's hindering its adoption. I think it could be a great tool for people to, say, publish visualisations online quickly for their simulation results, currently people think about Java for such tasks. I'd love to see, for example, away of Mathematica producing compiled 'applets', which work independent of Wolfram interpreters. After all, if Mathematica is more than a software - it wants to be a language and a programming paradigm - users should be able to freely express the products of that language to others, without WRI trying to be the middle men.
[toc] | [prev] | [next] | [standalone]
| From | fd <fdimer@gmail.com> |
|---|---|
| Date | 2013-05-29 07:47 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko4bps$5sv$1@smc.vnet.net> |
| In reply to | #14471 |
Without getting too much into a polemic here, there's one point I think deserves defense: "The processor I'm using may of course have non-deterministic aspects. Indeed it might be struck by a cosmic ray and do something bizarre. However, its expected behavior is described in sufficient detail that Intel and AMD chips can be claimed to be, at some level indistinguishable." As far as I know none of the algorithms in Mathematica are outside reach the of ordinary mathematical knowledge. I believe that a big chunk of Mathematica could be reimplemented only with what's on maths handbooks. Their view on how to name functions, however, is much better than the usual on the numerical analysis community.
[toc] | [prev] | [next] | [standalone]
| From | Andrzej Kozlowski <akozlowski@gmail.com> |
|---|---|
| Date | 2013-05-29 07:48 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko4bsd$5td$1@smc.vnet.net> |
| In reply to | #14471 |
First, I would like to thank everyone who has written with expressions of support for our project and wishes for its success. It is still a very early stage and obviously success is not guaranteed. However, I think that if the results do not turn out as we expect we will have only ourselves to blame, for the starting conditions are almost ideal. Essentially we have got now everything that I have ever wanted and could expect to get for this sort of purpose and I think we have a very good plan so I think it is now a question of whether we still have enough energy for the implementation and how much our other commitments interfere with this. Fortunately my main partner in this enterprise is a young female mathematician (about the same age as my daughter) who is quite knowledgable about Mathematica, has been using it for a few years for really serious research work and (unlike me) is full of energy and not so easily distracted. The idea of this project has been maturing in my mind for many years, most of which I spent teaching at universities in Japan. In my last Japanese university Mathematica was used quite extensively but basically only for teaching calculus. That worked about as well as described by others in many posts recently and in more distant past. There were the usual problems: the competition for time between mathematics and Mathematica, the fact that a Mathematica based course had to be taught by a Mathematica enthusiast or it would not be taught at all, and, perhaps the most serious, that, since Mathematica could not be used in the examinations, students had little incentive to devote enough time to it to get to the point where they could do things that were non trivial enough to be enjoyable. Already then I had some ideas of how one could attempt to overcome these difficulties but being a "gaijin" I was a little too isolated even to get an opportunity to test them. The situation changed quite radically in this respect when I moved over here. The main idea, not particularly original but, it seems to me, rather rarely tried, is that students should be the main "driving force" of this kind of project. The problems with faculty driven projects have already been discussed many times and they seem to be the same everywhere. The situation here is similar to other places: in the mathematics department we have a few mathematica users, a few users of other mathematical programs and a lot more people who use computers mainly for e-mail and perhaps Latex (there are also some who still prefer pen and paper). But almost everybody I have talked to, is in favour of the idea of students being able to use math software for the purpose of illustrating geometrically the concepts taught in lectures (almost everyone likes this aspect and most people with they had more skill in this area, but of course are not willing to spend any time on acquiring them). Using software for computations, as have been noted, is more controversial. Generally most mathematicians are indeed opposed to computers being used for computations in the "normal course" but are quite happy about additional "computation centred" courses in the same are being available, so this is another thing we are attempting to realise. Returning to "conceptual illustrations" (rather than straight "computations"): although as has been noted, there is an enormous number of all kinds of mathematical illustrations on the Internet, including Java animations and the Wolfram Demonstrations site, yet what is available is very often not quite what is wanted. One reason for that is probably that the maths department at Warsaw University sees itself as a rather elite institution. One result of that is that many of our courses are "monographical" and lecturers try to avoid "standard" examples or "cliche" problems. We do not, in fact, teach calculus in the sense that this term is used in the US - instead we have analysis courses with detailed proofs even for computer science students. Topics such as "integration techniques" are dealt with in one lecture, and we never have exam problems in which students are simply asked to compute some integral. It is assumed that many of these techniques they had already learned in high school or, if not, can learn by themselves from textbooks. So the issue of using (or not using) Mathematica to do this sort of calculations hardly arises. Instead one needs to find, what I would say are, more subtle ways of using Mathematica. One such "technique" that I try to stress to students is in connection with proofs of and counterexamples to mathematical statements. Problems here are rarely formulated in the form "prove the following statement". Instead, the usual form is "prove the following statement, if it is true, and if not, find a counter-example." Now, in this sort of situation, which resembles real research in mathematics, often the hardest thing is to decide whether one should attempt to prove a result or to look for a counter-example. It is in this sort of situation that looking at sophisticated graphic illustrations, or computing special cases, and generally experimenting with Mathematica can very often (particularly in problems in real and complex analysis) be very helpful. In fact this is how I myself almost always approach any problem that is susceptible to this sort of treatment (unfortunately a lot of my own research, being concerned with infinite dimensional objects, is not). One important element in this idea of "making students the driving force" is that we have many rather good students, which means they are capable of taking an additional work-load and that (and this is based on experience) the majority of them enjoy Mathematica. It will probably be incomprehensible to RJF, but this seems particularly true of many of our computer science students. One reason is that quite a few of them are naturally inclined to mathematics as well as computer science. In fact, every year, some of them decide that they would rather be mathematicians (which is perhaps why we teach them all this abstract mathematics, a lot of which is probably irrelevant to computer science) and some end up with two degrees - in math and in computer science. Often for these students, probably for reasons that are very similar to those described by David Bailey in his very insightful post) find an approach to mathematics via Mathematica more congenial to their way of thinking than the traditional somewhat "Bourbakist" approaches which still prevail among mathematicians. Another reason why computer science students are natural audience of Mathematica based mathematics courses is that none of them suffer from "computer allergy" that is still quite common among older mathematicians and is sometimes found among younger ones, and that, of course, they find programming very easy, which is not necessarily true of all mathematics students. In fact, I have noticed that computer science students, who often are already familiar with quite many different languages (they often start programming long before entering university) find programming in Mathematica intriguing and fun and quickly learn to do (for me) quite amazing things. Of course, another important thing was making sure that students can actually get credit for doing work in Mathematica. The fact that they also enjoy it helps, but students are human and like other humans are not likely to do much serious work for nothing. Well, there is plenty more I could still say on this topic, but I have to get back to other things. So I just wanted to make a final comment on one other matter. It's nothing new, I have written this before and it is something that I differ about with some of the persons who have posted in this thread. Briefly, I am not an enthusiast of using Mathematica for "simple" symbolic manipulation. I am sure that may view of this is the same as that of the great majority of mathematicians and that the reason for this is not "conservatism". Generally we believe that in mathematics computers should be used to do things that are too hard or too time consuming for humans and human beings should do the things that humans find easy. The reasons for this are practical (this is the only way to really remain "in control" of your work - which is essential to avoid producing nonsense) and educational (doing symbolic and even numerical computations by hand is an essential activity that is needed to acquire understanding of concepts). Of course I do not object to Mathematica having capabilities I do not need or intend to use or teach. If other people find them useful, they could be a selling point for Mathematica and help to pay for the development of more features that I want (of course, as long as the issue of excessive complexity of interface is kept under control). Andrzej Kozlowski On 27 May 2013, at 10:24, Ingolf Dahl <ingolf.dahl@telia.com> wrote: > Andrzej, > I think this really sounds interesting, and hope to hear more about your > experiences later here. Of course there are questions and problems with it, > all new projects are "impossible" in one or another way. The really > interesting thing is to know if these impossibilities can be handled in some > good way. Good luck! > > Ingolf Dahl > Sweden > >> -----Original Message----- >> From: Andrzej Kozlowski [mailto:akozlowski@gmail.com] >> Sent: den 25 maj 2013 11:42 >> To: mathgroup@smc.vnet.net >> Subject: Re: Work on Basic Mathematica Stephen! >> >> Well, to disappoint everyone I have to confess that here, at Warsaw > University, we are >> going to have a university wide course in Mathematica, open to all > students of mathematics, >> natural sciences, economics and finance and even (oh horror!) computer > science (in fact, I >> am not in the process of trying to "sell" this course to my the students > in my analysis for >> computer science class). We have actually received a grant, quite > substantial by Polish >> standards, to implement such a course, and, of course, since everyone > likes extra money, this >> has meant that there has been no opposition or grumbling about it from any > "old fogies" >> (except perhaps one guy who complained that Mathematica was not open > source but we >> quickly stifled him). >> >> An even greater heresy: the course also is going to involve some knowledge > of Wolfram >> Alpha: in fact it is entitled "Mathematics with Mathematica and Wolfram > Alpha". (To RJF - >> no, we are not going to teach anything about any other CAS. If anyone > likes to use >> something other than Mathematica they can learn it itself, but won't get > any credit for it). >> Actually, our course is going to be a "supervised, self-study and Internet > based course". In >> other words, we (the project authors, who are getting paid for designing > and realising it) will >> prepare study materials (scripts, videos, problems in different > disciplines that can be solved >> with the help of Mathematica or Wolfram|Alpha, tests, etc. but there won't > be any lectures. >> There will however be tests and students will be able to get credit for > passing them - >> otherwise, of course, it would be hard to get them interested. >> >> A large part of the grant is for buying a fairly large number of copies of > Mathematica (in >> addition to the ones that are already here). >> >> Our motives for designing this project are quite selfish (and I don't only > mean the fact that >> we are going to be paid for this). There are several of us who want to use > Mathematica in >> our courses and it is a pain to have to waste time on teaching students > the basics of >> Mathematica. Soon there will be several new courses available to math and > science students >> in which Mathematica will be used. One of them is a new course on the > differential >> geometry of curves and surfaces, which will be offered in addition to the > already existing >> one which does not use any computer software. (Students will be able to > take both >> sequentially - they are going to be sufficiently different for this to > make sense). There is also >> a course that I have taught in the past, for which there has been a big > demand among >> students of finance - on modelling jump processes. Contrary to the strange > ideas RJF got >> from my earlier post, this is not something that statistics packages have > been doing for years, >> actually it involves things that are pretty new (so much that there are > still unresolved >> problems with some of the >> algorithms) and, in fact, I am proud to admit to having played a certain > role in this >> implementation in Mathematica. >> >> We actually have quite a few people here who although they themselves > don't use >> Mathematica or CAS systems at all, have shown a lot of interest in having > students learn >> such things. The main interest is, in fact, not so much in symbolic > computation but in >> graphics used to illustrate various phenomena in topology, complex > analysis etc. Although >> one might expect that there should already be lots of such illustrations > available on the >> Internet (or even on Wolfram's Demonstrations Site" >> this does not seem to be actually the case. >> >> Of course, all of this is at this time only in its infancy. About a year > from now I should be >> able to say something about the success or failure of this project. At > this time the thing that >> worries me the most is the amount of work I foresee in trying to realise > all we have promised >> in the proposal. >> >> Andrzej Kozlowski >> >> >> >> On 24 May 2013, at 12:27, mathgroup <fizzymath@knology.net> wrote: >> >>> I had to chuckle at your use of the word 'conceal'.....unfortunately, >>> I agree with your comment....mentioning Mathematica seems akin to >>> treason.....that was the reaction I felt... >>> >>> >>> jb >>> >>> >>> -----Original Message----- >>> From: Murray Eisenberg >>> Sent: Thursday, May 23, 2013 10:00 AM >>> To: mathgroup >>> Subject: Re: Work on Basic Mathematica Stephen! >>> >>> This is not an uncommon situation at colleges and universities. >>> >>> Too many of the old fogies -- and, more dangerously, the "young >>> fogies" -- know about Ma. . t. .b and cannot imagine why anybody who >>> needs to do computing would use anything else. After all, it was good > enough for them. >>> (Exception: Canadians who thing the same about M . . . e.) >>> >>> Similarly, too many mathematicians cannot see why their students >>> should not learn how to carry out long and complex symbolic >>> calculations, e.g., symbolic integration, with paper and pencil; after > all, they had to do it. >>> Oddly enough, some of these same mathematicians use powerful symbolic >>> programs to do their own research in number theory, algebraic geometry, > etc. >>> >>> But I'm sympathetic to the view that there shouldn't be a course in a >>> mathematics department on Mathematica per se. Just as there shouldn't >>> be a course there in LaTeX per se. Just as Computer Science >>> departments say they don't have a course in any programming language. >>> >>> So if one is to make any headway, then one has to almost conceal the >>> Mathematica within a mathematics course whose subject is some >>> mathematical topics, or an engineering course whose subject is some >>> engineering topic, etc. Just as, e.g., in some "junior year writing" >>> courses taught by math departments, LaTeX is introduced and students >>> have to do some or all of their papers in LaTeX. Or a mathematics >>> department course in complex analysis where small teams of students do >>> projects presenting some topic via a Mathematica notebook (where a >>> couple of the projects might be teaching some Mathematica basics). >>> >>> Perhaps this "sneaky" way is not the most efficient way for teaching >>> and learning Mathematica, but it can work. In fact, Stephen Wolfram >>> wrote in "The Mathematica Book" some years ago that, after learning a >>> few basics and trying some simple examples from the book (today, the >>> Documentation Center), "You will probably find it best to start by >>> picking a specific problem to work on. Pick a problem that you >>> understand well. . . Then go through each step in solving the problem, >>> learning what you need to know about Mathematica to do it." >>> >>> >>> On May 23, 2013, at 4:10 AM, mathgroup <fizzymath@knology.net> wrote: >>> >>>> David... >>>> >>>> But that was exactly my point...I tried so hard with our Community >>>> College and University to get Mathematica into the curriculum....or, >>>> as I said, to give some lectures and examples on the use of >>>> Mathematica....and ALL of them, Engineering, Math and Physics Depts >>>> said 'Thanks but No Thanks', as if they have something against >>>> Mathematica....It seemed that the idea that students would not use >>>> pencil and paper in as laborious a manner as possible really bothered >>>> them....Not once did they think perhaps this might lead to a real >>>> enjoyment of technical subjects and perhaps to much better >>>> understanding of their course work......even when I was working I was >>>> affectionately known as 'The Mathematica Nut'...although, I'm >>>> reminded of something that Nietzsche said.... >>>> >>>> "Overzealousness on the part of one person can lead the others to >>>> Apostasy"..... >>>> >>>> jerry blimbaum >>>> >>>> -----Original Message----- >>>> From: djmpark >>>> Sent: Wednesday, May 22, 2013 9:28 AM >>>> To: 'mathgroup ' ; mathgroup@smc.vnet.net >>>> Subject: Re: Work on Basic Mathematica Stephen! >>>> >>>> It will be done by example. Several people will work together, >>>> exchanging Mathematica notebooks or working on a common notebook. The >>>> notebooks will be what I call "literate"; they will look something >>>> like a technical paper or report, but they will take advantage of all >>>> the active and dynamic features of Mathematica, and contain generated >>>> knowledge in the form of active and immediately accessible routines >>>> and definitions developed in the course of the effort. >>>> >>>> The notebooks will be of higher integrity than paper and pencil work, >>>> or using Mathematica as a programmed calculator and copying out >>>> because of all the self-proofing and additional checks that can be >>>> performed. (Of course, one can still make errors but they should be >>>> rarer and not the common >>>> variety.) >>>> >>>> That all this can be done in a single application is a tremendous >>>> advantage. >>>> >>>> Someday other people will see what they are doing and the advantages >>>> are so great they will want to do the same thing. The task is getting >>>> more people to write and use good examples. >>>> >>>> >>>> David Park >>>> djmpark@comcast.net >>>> http://home.comcast.net/~djmpark/index.html >>>> >>>> >>>> >>>> >>>> From: mathgroup [mailto:fizzymath@knology.net] >>>> >>>> I want to comment on my experience , limited of course, with >>>> students of Engineering, Engineers and Professors of >>>> Engineering.....my background is Physics... >>>> >>>> First, I get the impression that , in the main, Symbolic >>>> Computation, etc. >>>> is not something they are really interested in......After I retired, >>>> I took several courses in Electromagnetics, one Graduate and the >>>> other Undergraduate......No one suggested the use of or taught the >>>> potential applications of Mathematica....Even in the Graduate course, >>>> I was the only student using Symbolic software ......in fact, the >>>> students did everything by hand and whenever something required >>>> software, such as Antenna patterns, out came M-------b with some code >>>> , etc....and that was the end of it....So, the students knew no >>>> better....and the Professors didn't care or weren't interested >>>> themselves in the benefits of learning and solving problems >>>> Symbolically....I asked one Professor if I could give a class lecture >>>> on the >>>> use of Mathematica for Electromagnetics...He agreed but than said 'I > can >>>> only give you about ten minutes'....I respectfully declined the > offer.... >>>> >>>> So, how does WRI expand its market?....IMO, there have to be >>>> dedicated Teachers on how to use Mathematica in what I'll call the >>>> Research Mode not just define given functions from the text and plot >>>> it.......from what I have seen of the attitude of Instructors and >>>> Professors I'm anything but Optimistic....I went to our local >>>> Colleges and suggested a sequence of courses in Mathematica ending >>>> with Animation and Simulation....That got me nowhere especially with >>>> the Math Depts...so, in part, I see people who are stuck in pencil >>>> and paper and refuse to get out of it.... >>>> >>>> Again, of course, this is my limited experience...Perhaps others have >>>> had different and better ones... >>>> >>>> Jerry Blimbaum >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: paulmchale7@gmail.com >>>> Sent: Sunday, May 19, 2013 4:50 AM >>>> To: mathgroup@smc.vnet.net >>>> Subject: Re: Work on Basic Mathematica Stephen! >>>> >>>> I have (maybe) a minority perspective on Mathematica being an >>>> engineer. I used it long ago at university at version 1. The next >>>> time I would use it would be a wolfram approved ebay purchase of >>>> version 4. I have used it ever since, but am still rookie in some >>>> ways. >>>> >>>> I believe WRI is attempting to broaden the user base rather than >>>> deepen the product. They are doing this by adding (from our >>>> perspective) non-value add features to lure people in. The argument >>>> is the learning curve is less which should lead to greater sales. >>>> This is not how it works at any place I have been. >>>> >>>> The only engineering sales force that matters is engineers. If they >>>> can't argue for the product, it will not happen. Engineers can't >>>> argue for something they are unable use until after purchase and >>>> additional training. >>>> If you want engineers to demonstrate something or argue for it, you >>>> have to do more than offer wizards and connections to WolframAlpha >>>> which only apply after the sale. Engineers need to show >>>> understanding and capability. >>>> Managers have to show accounting they are saving money by buying >>>> Mathematica. Improvements in quality of OUR products or ability to >>>> address greater problems is not quantifiable to the brigade of MBAs >>>> who run modern businesses. There has to be quantifiable savings. >>>> This has to be demonstrated by engineering staff before purchase and >>>> framed in terms of reduced need for time (salary expense). >>>> >>>> I think this can only be achieved by making the online education >>>> material targeted to a specific audience. This material must solve >>>> real problems in a way that conveys the underlying capability. >>>> >>>> I have been told by WRI that most users will only use 5% (at most) of >>>> Mathematicas total ability. LoL, if only everyone would use the same > 5%. >>>> >>>> If you want us to be able to sell it, you have to provide training >>>> for free so we can get started solving engineering problems prior to >>>> purchase. >>>> Combine this with a 60 day trial and you could save a lot of WRI >>>> development dollars on bells and whistles that won't increase sales. >>>> Help us help you! >>>> Stop trying to treat sales tools as a profit center! >>>> >>> >>> --- >>> Murray Eisenberg > murray@math.umass.edu >>> Mathematics & Statistics Dept. >>> Lederle Graduate Research Tower phone 413 549-1020 (H) >>> University of Massachusetts 413 45-2838 > (W) >>> 710 North Pleasant Street fax 413 545-1801 >>> Amherst, MA 01003-9305 >>> >>> >>> >>> >>> >> > > >
[toc] | [prev] | [next] | [standalone]
| From | János Löbb <janos@lobb.com> |
|---|---|
| Date | 2013-05-30 10:07 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko78df$dui$1@smc.vnet.net> |
| In reply to | #14471 |
I think this course will be successful only if the majority of the students already learned Mathematica in high school. So to make it successful, about five more enthusiastic assistant lecturer should start Saturday classes in those high schools right away, which feed into Warsaw University. J=E1nos On May 29, 2013, at 3:58 AM, Andrzej Kozlowski <akozlowski@gmail.com> wrote: > First, I would like to thank everyone who has written with expressions > of support for our project and wishes for its success. It is still a > very early stage and obviously success is not guaranteed. However, I > think that if the results do not turn out as we expect we will have only > ourselves to blame, for the starting conditions are almost ideal. > Essentially we have got now everything that I have ever wanted and could > expect to get for this sort of purpose and I think we have a very good > plan so I think it is now a question of whether we still have enough > energy for the implementation and how much our other commitments > interfere with this. Fortunately my main partner in this enterprise is a > young female mathematician (about the same age as my daughter) who is > quite knowledgable about Mathematica, has been using it for a few years > for really serious research work and (unlike me) is full of energy and > not so easily distracted. > > The idea of this project has been maturing in my mind for many years, > most of which I spent teaching at universities in Japan. In my last > Japanese university Mathematica was used quite extensively but basically > only for teaching calculus. That worked about as well as described by > others in many posts recently and in more distant past. There were the > usual problems: the competition for time between mathematics and > Mathematica, the fact that a Mathematica based course had to be taught > by a Mathematica enthusiast or it would not be taught at all, and, > perhaps the most serious, that, since Mathematica could not be used in > the examinations, students had little incentive to devote enough time to > it to get to the point where they could do things that were non trivial > enough to be enjoyable. Already then I had some ideas of how one could > attempt to overcome these difficulties but being a "gaijin" I was a > little too isolated even to get an opportunity to test them. The > situation changed quite radically in this respect when I moved over > here. > > The main idea, not particularly original but, it seems to me, rather > rarely tried, is that students should be the main "driving force" of > this kind of project. The problems with faculty driven projects have > already been discussed many times and they seem to be the same > everywhere. The situation here is similar to other places: in the > mathematics department we have a few mathematica users, a few users of > other mathematical programs and a lot more people who use computers > mainly for e-mail and perhaps Latex (there are also some who still > prefer pen and paper). But almost everybody I have talked to, is in > favour of the idea of students being able to use math software for the > purpose of illustrating geometrically the concepts taught in lectures > (almost everyone likes this aspect and most people with they had more > skill in this area, but of course are not willing to spend any time on > acquiring them). Using software for computations, as have been noted, is > more controversial. Generally most mathematicians are indeed opposed to > computers being used for computations in the "normal course" but are > quite happy about additional "computation centred" courses in the same > are being available, so this is another thing we are attempting to > realise. > > Returning to "conceptual illustrations" (rather than straight > "computations"): although as has been noted, there is an enormous number > of all kinds of mathematical illustrations on the Internet, including > Java animations and the Wolfram Demonstrations site, yet what is > available is very often not quite what is wanted. One reason for that is > probably that the maths department at Warsaw University sees itself as a > rather elite institution. One result of that is that many of our courses > are "monographical" and lecturers try to avoid "standard" examples or > "cliche" problems. We do not, in fact, teach calculus in the sense that > this term is used in the US - instead we have analysis courses with > detailed proofs even for computer science students. Topics such as > "integration techniques" are dealt with in one lecture, and we never > have exam problems in which students are simply asked to compute some > integral. It is assumed that many of these techniques they had already > learned in high school or, if not, can learn by themselves from > textbooks. So the issue of using (or not using) Mathematica to do this > sort of calculations hardly arises. Instead one needs to find, what I > would say are, more subtle ways of using Mathematica. One such > "technique" that I try to stress to students is in connection with > proofs of and counterexamples to mathematical statements. > > Problems here are rarely formulated in the form "prove the following > statement". Instead, the usual form is "prove the following statement, > if it is true, and if not, find a counter-example." Now, in this sort of > situation, which resembles real research in mathematics, often the > hardest thing is to decide whether one should attempt to prove a result > or to look for a counter-example. It is in this sort of situation that > looking at sophisticated graphic illustrations, or computing special > cases, and generally experimenting with Mathematica can very often > (particularly in problems in real and complex analysis) be very helpful. > In fact this is how I myself almost always approach any problem that is > susceptible to this sort of treatment (unfortunately a lot of my own > research, being concerned with infinite dimensional objects, is not). > > One important element in this idea of "making students the driving > force" is that we have many rather good students, which means they are > capable of taking an additional work-load and that (and this is based on > experience) the majority of them enjoy Mathematica. It will probably be > incomprehensible to > RJF, but this seems particularly true of many of our computer science > students. One reason is that quite a few of them are naturally inclined > to mathematics as well as computer science. In fact, every year, some of > them decide that they would rather be mathematicians (which is perhaps > why we teach them all this abstract mathematics, a lot of which is > probably irrelevant to computer science) and some end up with two > degrees - in math and in computer science. Often for these students, > probably for reasons that are very similar to those described by David > Bailey in his very insightful post) find an approach to mathematics via > Mathematica more congenial to their way of thinking than the traditional > somewhat "Bourbakist" approaches which still prevail among > mathematicians. Another reason why computer science students are natural > audience of Mathematica based mathematics courses is that none of them > suffer from "computer allergy" that is still quite common among older > mathematicians and is sometimes found among younger ones, and that, of > course, they find programming very easy, which is not necessarily true > of all mathematics students. In fact, I have noticed that computer > science students, who often are already familiar with quite many > different languages (they often start programming long before entering > university) find programming in Mathematica intriguing and fun and > quickly learn to do (for me) quite amazing things. > > Of course, another important thing was making sure that students can > actually get credit for doing work in Mathematica. The fact that they > also enjoy it helps, but students are human and like other humans are > not likely to do much serious work for nothing. > > Well, there is plenty more I could still say on this topic, but I have > to get back to other things. So I just wanted to make a final comment on > one other matter. It's nothing new, I have written this before and it is > something that I differ about with some of the persons who have posted > in this thread. Briefly, I am not an enthusiast of using Mathematica for > "simple" symbolic manipulation. I am sure that may view of this is the > same as that of the great majority of mathematicians and that the reason > for this is not "conservatism". Generally we believe that in mathematics > computers should be used to do things that are too hard or too time > consuming for humans and human beings should do the things that humans > find easy. The reasons for this are practical (this is the only way to > really remain "in control" of your work - which is essential to avoid > producing nonsense) and educational (doing symbolic and even numerical > computations by hand is an essential activity that is needed to acquire > understanding of concepts). > Of course I do not object to Mathematica having capabilities I do not > need or intend to use or teach. If other people find them useful, they > could be a selling point for Mathematica and help to pay for the > development of more features that I want (of course, as long as the > issue of excessive complexity of interface is kept under control). > > Andrzej Kozlowski > > > > > > > > > > On 27 May 2013, at 10:24, Ingolf Dahl <ingolf.dahl@telia.com> wrote: > >> Andrzej, >> I think this really sounds interesting, and hope to hear more about your >> experiences later here. Of course there are questions and problems with it, >> all new projects are "impossible" in one or another way. The really >> interesting thing is to know if these impossibilities can be handled in some >> good way. Good luck! >> >> Ingolf Dahl >> Sweden >> >>> -----Original Message----- >>> From: Andrzej Kozlowski [mailto:akozlowski@gmail.com] >>> Sent: den 25 maj 2013 11:42 >>> To: mathgroup@smc.vnet.net >>> Subject: Re: Work on Basic Mathematica Stephen! >>> >>> Well, to disappoint everyone I have to confess that here, at Warsaw >> University, we are >>> going to have a university wide course in Mathematica, open to all >> students of mathematics, >>> natural sciences, economics and finance and even (oh horror!) computer >> science (in fact, I >>> am not in the process of trying to "sell" this course to my the students >> in my analysis for >>> computer science class). We have actually received a grant, quite >> substantial by Polish >>> standards, to implement such a course, and, of course, since everyone >> likes extra money, this >>> has meant that there has been no opposition or grumbling about it from any >> "old fogies" >>> (except perhaps one guy who complained that Mathematica was not open >> source but we >>> quickly stifled him). >>> >>> An even greater heresy: the course also is going to involve some knowledge >> of Wolfram >>> Alpha: in fact it is entitled "Mathematics with Mathematica and Wolfram >> Alpha". (To RJF - >>> no, we are not going to teach anything about any other CAS. If anyone >> likes to use >>> something other than Mathematica they can learn it itself, but won't get >> any credit for it). >>> Actually, our course is going to be a "supervised, self-study and Internet >> based course". In >>> other words, we (the project authors, who are getting paid for designing >> and realising it) will >>> prepare study materials (scripts, videos, problems in different >> disciplines that can be solved >>> with the help of Mathematica or Wolfram|Alpha, tests, etc. but there won't >> be any lectures. >>> There will however be tests and students will be able to get credit for >> passing them - >>> otherwise, of course, it would be hard to get them interested. >>> >>> A large part of the grant is for buying a fairly large number of copies of >> Mathematica (in >>> addition to the ones that are already here). >>> >>> Our motives for designing this project are quite selfish (and I don't only >> mean the fact that >>> we are going to be paid for this). There are several of us who want to use >> Mathematica in >>> our courses and it is a pain to have to waste time on teaching students >> the basics of >>> Mathematica. Soon there will be several new courses available to math and >> science students >>> in which Mathematica will be used. One of them is a new course on the >> differential >>> geometry of curves and surfaces, which will be offered in addition to the >> already existing >>> one which does not use any computer software. (Students will be able to >> take both >>> sequentially - they are going to be sufficiently different for this to >> make sense). There is also >>> a course that I have taught in the past, for which there has been a big >> demand among >>> students of finance - on modelling jump processes. Contrary to the strange >> ideas RJF got >>> from my earlier post, this is not something that statistics packages have >> been doing for years, >>> actually it involves things that are pretty new (so much that there = are >> still unresolved >>> problems with some of the >>> algorithms) and, in fact, I am proud to admit to having played a = certain >> role in this >>> implementation in Mathematica. >>> >>> We actually have quite a few people here who although they = themselves >> don't use >>> Mathematica or CAS systems at all, have shown a lot of interest in = having >> students learn >>> such things. The main interest is, in fact, not so much in symbolic >> computation but in >>> graphics used to illustrate various phenomena in topology, complex >> analysis etc. Although >>> one might expect that there should already be lots of such = illustrations >> available on the >>> Internet (or even on Wolfram's Demonstrations Site" >>> this does not seem to be actually the case. >>> >>> Of course, all of this is at this time only in its infancy. About a = year >> from now I should be >>> able to say something about the success or failure of this project. = At >> this time the thing that >>> worries me the most is the amount of work I foresee in trying to = realise >> all we have promised >>> in the proposal. >>> >>> Andrzej Kozlowski >>> >>> >>> >>> On 24 May 2013, at 12:27, mathgroup <fizzymath@knology.net> wrote: >>> >>>> I had to chuckle at your use of the word = 'conceal'.....unfortunately, >>>> I agree with your comment....mentioning Mathematica seems akin to >>>> treason.....that was the reaction I felt... >>>> >>>> >>>> jb >>>> >>>> >>>> -----Original Message----- >>>> From: Murray Eisenberg >>>> Sent: Thursday, May 23, 2013 10:00 AM >>>> To: mathgroup >>>> Subject: Re: Work on Basic Mathematica Stephen! >>>> >>>> This is not an uncommon situation at colleges and universities. >>>> >>>> Too many of the old fogies -- and, more dangerously, the "young >>>> fogies" -- know about Ma. . t. .b and cannot imagine why anybody = who >>>> needs to do computing would use anything else. After all, it was = good >> enough for them. >>>> (Exception: Canadians who thing the same about M . . . e.) >>>> >>>> Similarly, too many mathematicians cannot see why their students >>>> should not learn how to carry out long and complex symbolic >>>> calculations, e.g., symbolic integration, with paper and pencil; = after >> all, they had to do it. >>>> Oddly enough, some of these same mathematicians use powerful = symbolic >>>> programs to do their own research in number theory, algebraic = geometry, >> etc. >>>> >>>> But I'm sympathetic to the view that there shouldn't be a course in = a >>>> mathematics department on Mathematica per se. Just as there = shouldn't >>>> be a course there in LaTeX per se. Just as Computer Science >>>> departments say they don't have a course in any programming = language. >>>> >>>> So if one is to make any headway, then one has to almost conceal = the >>>> Mathematica within a mathematics course whose subject is some >>>> mathematical topics, or an engineering course whose subject is some >>>> engineering topic, etc. Just as, e.g., in some "junior year = writing" >>>> courses taught by math departments, LaTeX is introduced and = students >>>> have to do some or all of their papers in LaTeX. Or a mathematics >>>> department course in complex analysis where small teams of students = do >>>> projects presenting some topic via a Mathematica notebook (where a >>>> couple of the projects might be teaching some Mathematica basics). >>>> >>>> Perhaps this "sneaky" way is not the most efficient way for = teaching >>>> and learning Mathematica, but it can work. In fact, Stephen Wolfram >>>> wrote in "The Mathematica Book" some years ago that, after learning = a >>>> few basics and trying some simple examples from the book (today, = the >>>> Documentation Center), "You will probably find it best to start by >>>> picking a specific problem to work on. Pick a problem that you >>>> understand well. . . Then go through each step in solving the = problem, >>>> learning what you need to know about Mathematica to do it." >>>> >>>> >>>> On May 23, 2013, at 4:10 AM, mathgroup <fizzymath@knology.net> = wrote: >>>> >>>>> David... >>>>> >>>>> But that was exactly my point...I tried so hard with our Community >>>>> College and University to get Mathematica into the = curriculum....or, >>>>> as I said, to give some lectures and examples on the use of >>>>> Mathematica....and ALL of them, Engineering, Math and Physics = Depts >>>>> said 'Thanks but No Thanks', as if they have something against >>>>> Mathematica....It seemed that the idea that students would not use >>>>> pencil and paper in as laborious a manner as possible really = bothered >>>>> them....Not once did they think perhaps this might lead to a real >>>>> enjoyment of technical subjects and perhaps to much better >>>>> understanding of their course work......even when I was working I = was >>>>> affectionately known as 'The Mathematica Nut'...although, I'm >>>>> reminded of something that Nietzsche said.... >>>>> >>>>> "Overzealousness on the part of one person can lead the others to >>>>> Apostasy"..... >>>>> >>>>> jerry blimbaum >>>>> >>>>> -----Original Message----- >>>>> From: djmpark >>>>> Sent: Wednesday, May 22, 2013 9:28 AM >>>>> To: 'mathgroup ' ; mathgroup@smc.vnet.net >>>>> Subject: Re: Work on Basic Mathematica Stephen! >>>>> >>>>> It will be done by example. Several people will work together, >>>>> exchanging Mathematica notebooks or working on a common notebook. = The >>>>> notebooks will be what I call "literate"; they will look something >>>>> like a technical paper or report, but they will take advantage of = all >>>>> the active and dynamic features of Mathematica, and contain = generated >>>>> knowledge in the form of active and immediately accessible = routines >>>>> and definitions developed in the course of the effort. >>>>> >>>>> The notebooks will be of higher integrity than paper and pencil = work, >>>>> or using Mathematica as a programmed calculator and copying out >>>>> because of all the self-proofing and additional checks that can be >>>>> performed. (Of course, one can still make errors but they should = be >>>>> rarer and not the common >>>>> variety.) >>>>> >>>>> That all this can be done in a single application is a tremendous >>>>> advantage. >>>>> >>>>> Someday other people will see what they are doing and the = advantages >>>>> are so great they will want to do the same thing. The task is = getting >>>>> more people to write and use good examples. >>>>> >>>>> >>>>> David Park >>>>> djmpark@comcast.net >>>>> http://home.comcast.net/~djmpark/index.html >>>>> >>>>> >>>>> >>>>> >>>>> From: mathgroup [mailto:fizzymath@knology.net] >>>>> >>>>> I want to comment on my experience , limited of course, with >>>>> students of Engineering, Engineers and Professors of >>>>> Engineering.....my background is Physics... >>>>> >>>>> First, I get the impression that , in the main, Symbolic >>>>> Computation, etc. >>>>> is not something they are really interested in......After I = retired, >>>>> I took several courses in Electromagnetics, one Graduate and the >>>>> other Undergraduate......No one suggested the use of or taught the >>>>> potential applications of Mathematica....Even in the Graduate = course, >>>>> I was the only student using Symbolic software ......in fact, the >>>>> students did everything by hand and whenever something required >>>>> software, such as Antenna patterns, out came M-------b with some = code >>>>> , etc....and that was the end of it....So, the students knew no >>>>> better....and the Professors didn't care or weren't interested >>>>> themselves in the benefits of learning and solving problems >>>>> Symbolically....I asked one Professor if I could give a class = lecture >>>>> on the >>>>> use of Mathematica for Electromagnetics...He agreed but than said = 'I >> can >>>>> only give you about ten minutes'....I respectfully declined the >> offer.... >>>>> >>>>> So, how does WRI expand its market?....IMO, there have to be >>>>> dedicated Teachers on how to use Mathematica in what I'll call the >>>>> Research Mode not just define given functions from the text and = plot >>>>> it.......from what I have seen of the attitude of Instructors and >>>>> Professors I'm anything but Optimistic....I went to our local >>>>> Colleges and suggested a sequence of courses in Mathematica = ending >>>>> with Animation and Simulation....That got me nowhere especially = with >>>>> the Math Depts...so, in part, I see people who are stuck in pencil >>>>> and paper and refuse to get out of it.... >>>>> >>>>> Again, of course, this is my limited experience...Perhaps others = have >>>>> had different and better ones... >>>>> >>>>> Jerry Blimbaum >>>>> >>>>> >>>>> >>>>> -----Original Message----- >>>>> From: paulmchale7@gmail.com >>>>> Sent: Sunday, May 19, 2013 4:50 AM >>>>> To: mathgroup@smc.vnet.net >>>>> Subject: Re: Work on Basic Mathematica Stephen! >>>>> >>>>> I have (maybe) a minority perspective on Mathematica being an >>>>> engineer. I used it long ago at university at version 1. The = next >>>>> time I would use it would be a wolfram approved ebay purchase of >>>>> version 4. I have used it ever since, but am still rookie in some >>>>> ways. >>>>> >>>>> I believe WRI is attempting to broaden the user base rather than >>>>> deepen the product. They are doing this by adding (from our >>>>> perspective) non-value add features to lure people in. The = argument >>>>> is the learning curve is less which should lead to greater sales. >>>>> This is not how it works at any place I have been. >>>>> >>>>> The only engineering sales force that matters is engineers. If = they >>>>> can't argue for the product, it will not happen. Engineers can't >>>>> argue for something they are unable use until after purchase and >>>>> additional training. >>>>> If you want engineers to demonstrate something or argue for it, = you >>>>> have to do more than offer wizards and connections to WolframAlpha >>>>> which only apply after the sale. Engineers need to show >>>>> understanding and capability. >>>>> Managers have to show accounting they are saving money by buying >>>>> Mathematica. Improvements in quality of OUR products or ability = to >>>>> address greater problems is not quantifiable to the brigade of = MBAs >>>>> who run modern businesses. There has to be quantifiable savings. >>>>> This has to be demonstrated by engineering staff before purchase = and >>>>> framed in terms of reduced need for time (salary expense). >>>>> >>>>> I think this can only be achieved by making the online education >>>>> material targeted to a specific audience. This material must = solve >>>>> real problems in a way that conveys the underlying capability. >>>>> >>>>> I have been told by WRI that most users will only use 5% (at most) = of >>>>> Mathematicas total ability. LoL, if only everyone would use the = same >> 5%. >>>>> >>>>> If you want us to be able to sell it, you have to provide training >>>>> for free so we can get started solving engineering problems prior = to >>>>> purchase. >>>>> Combine this with a 60 day trial and you could save a lot of WRI >>>>> development dollars on bells and whistles that won't increase = sales. >>>>> Help us help you! >>>>> Stop trying to treat sales tools as a profit center! >>>>> >>>> >>>> --- >>>> Murray Eisenberg >> murray@math.umass.edu >>>> Mathematics & Statistics Dept. >>>> Lederle Graduate Research Tower phone 413 549-1020 (H) >>>> University of Massachusetts 413 = 45-2838 > (W) >>>> 710 North Pleasant Street fax 413 = 545-1801 >>>> Amherst, MA 01003-9305 >>>> >>>> >>>> >>>> >>>> >>> >> >> >> > >
[toc] | [prev] | [next] | [standalone]
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Date | 2013-05-31 07:15 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko9ind$kd7$1@smc.vnet.net> |
| In reply to | #14674 |
On 5/30/2013 5:07 AM, János Löbb wrote: > I think this course will be successful only if the majority of the > students already learned Mathematica in high school. I do not think so. I've taken a Mathematica based course myself. It was 100% Mathematica, i.e. everything from HW's to exams was done using notebooks. I had the feeling I was the only student in the class who even knew that Mathematica existed before the class started. Many students did not even know how to type a command in the notebook when the course started, and many other basic things. So the first 2 weeks were are introduction to Mathematica. It was a great course, and everyone seems at the end to have learned many things. Did not see any one drop out or scream or anything. It was a fun course actually even thought it was very hard work, because we used Mathematica as a tool to learn physics. It was a physics course at UCI. The teacher Dr Peter Taborek, is an expert in Mathematica as well as being a Physics professor,and had his own book and software based on Mathematica which we used. http://alturl.com/qtq45 --Nasser >So to make it > successful, about five more enthusiastic assistant lecturer should start > Saturday classes in those high schools right away, which feed into > Warsaw University. > > J=E1nos >
[toc] | [prev] | [next] | [standalone]
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Date | 2013-05-30 10:08 +0000 |
| Subject | Re: Warsaw Univ. course, was Re: Work on Basic Mathematica Stephen! |
| Message-ID | <ko78ep$dv8$1@smc.vnet.net> |
| In reply to | #14471 |
"Spot on"! Of course the key here is what "simple" means. Where one draws the line as to what must be done with paper and pencil and what may be done by computer depends on who's drawing the line. Here's an example of using Mathematica, due to Frank Wattenberg, that I may have mentioned in other threads earlier: It's the standard Calculus I problem of minimizing the total travel time when you are going to rescue a drowning person first run along the edge of an ocean beach and then swim out towards him. There are many variants (some involving a dog, others concerning a utility line). Once the student sets up the model and calculates the derivative of the target function, finding critical points may be easy or it may be hard -- Depending on what the parameters are. A particularly interesting version of the problem, the one Frank included in his calculus textbook, is to minimize the travel time of a light ray going at an angle first through air and then water, or vice versa. By solving the problem, you see what the refraction is as the light passes from one medium to the other. It so happens that the velocities of light in air and water, even when rounded, are not too nice to deal with: you get a 4th degree polynomial. There is a formula/method for solving quartic equations exactly, but trying to implement it, without error, with paper and pencil is not especially to be recommended. That's where Mathematica can come into play: either get the exact critical points symbolically in terms of coordinates of the two ends of the light ray, then for particular pairs of coordinates take N; or else use FindRoot. By avoiding the distraction of solving the quartic, whether symbolically or numerically and instead relegating that to the computer, one may now ask and quickly answer many questions about the behavior of light. For example, where do your toes appear to be as you soak in a tub of water? On May 29, 2013, at 3:58 AM, Andrzej Kozlowski <akozlowski@gmail.com> wrote: > . . .I just wanted to make a final comment on > one other matter. It's nothing new, I have written this before and it is > something that I differ about with some of the persons who have posted > in this thread. Briefly, I am not an enthusiast of using Mathematica for > "simple" symbolic manipulation. I am sure that may view of this is the > same as that of the great majority of mathematicians and that the reason > for this is not "conservatism". Generally we believe that in mathematics > computers should be used to do things that are too hard or too time > consuming for humans and human beings should do the things that humans > find easy. The reasons for this are practical (this is the only way to > really remain "in control" of your work - which is essential to avoid > producing nonsense) and educational (doing symbolic and even numerical > computations by hand is an essential activity that is needed to acquire > understanding of concepts). > Of course I do not object to Mathematica having capabilities I do not > need or intend to use or teach. If other people find them useful, they > could be a selling point for Mathematica and help to pay for the > development of more features that I want (of course, as long as the > issue of excessive complexity of interface is kept under control). --- Murray Eisenberg murray@math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2838 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
[toc] | [prev] | [next] | [standalone]
| From | John Doty <noqsiaerospace@gmail.com> |
|---|---|
| Date | 2013-05-30 10:09 +0000 |
| Subject | Applying Mathematica to practical problems |
| Message-ID | <ko78g2$dvd$1@smc.vnet.net> |
| In reply to | #14471 |
Changing the topic here. On Tuesday, May 28, 2013 1:49:00 AM UTC-6, Richard Fateman wrote: > Learning Mathematica (only) exposes a student to a singularly erroneous > model of computation, A personal, subjective judgement. However, I would agree that exposing the student to *any* single model of computation, to the exclusion of others, is destructive. > Nice that you concede it is eccentric. Concede? I praise its eccentricity! It takes me places other tools cannot easily go. > Productive perhaps if you do not > encounter a quirk. There is no nontrivial quirk-free software. > Especially a hidden quirk that gives the wrong > answer but no warning. Mathematica applied to real problems is pretty good here. > And if you are not in a hurry for numerical > results. OK, let's consider how I use Mathematica in mixed-signal chip design. For my video chain chips, I start with two different approches in Mathematica. I have a nonlinear simulation environment that breaks the chip down into blocks, represented by functions, and composes a function representing the effect of a single clock step on the chip state from these functions. I iterate that function to "simulate". Some of the blocks are initially represented as Z transforms, so Mathematica's algebraic capabilities come in handy. The ease of partial evaluation helps with optimization: by evaluating as much of the function as possible before iterating it, special cases like consta nt inputs become very simple and fast. I also have a Mathematica model that starts as symbolic Z and Fourier transforms, and models the chip as linear operators. For numerical results, these operators turn into matrices. Once I've established the design parameters, I reduce the functional blocks to circuits and simulate with that fine Berkeley product, SPICE, the liguafranca of circuit simulation. You think Mathematica has problems? You've never used SPICE. Linguistically, SPICE is an absolute mess. "Grammar" is utterly ad-hoc, and variable with dialect. "1N914B" is a perfectly good model name for a diode, but "2N2222A" cannot be used to name a transistor model in some dialects. There are a couple of dozen different dialects around, most containing incompatible proprietary extensions. For quirky unpredictability, SPICE is much, much worse than Mathematica. SPICE users get used to seeing spurious "trap oscillations", large amounts of energy appearing out of nowhere, and ridiculous time steps. Tuning the numerics to get sane results is an arcane art. As a programming language, SPICE is about as sophisticated as BASIC, but much less regular. Nevertheless, SPICE is very widely used and very productive. In the end, people find that it gets the job done (although many get rather exasperated in the process!. But the big problem with SPICE isn't that it's quirky and error-prone, but that it buries the problem in (mostly irrelevant) detail. I'm simulating thousands of transistors, each with ~100 model parameters, with state changing on picosecond time scales. My SPICE chip simulations tend to run at a billion times slower than real time. Data output is voluminous and difficult to analyze (sometimes I read it into Mathematica for reduction). These problems limit the range of questions I can practically ask of SPICE. On the other hand, the iterated function approach in Mathematica is 10,000-100,000 times faster than the SPICE approach, so it's a lot better for probing high-level behavior. The linear algebra approach in Mathematica is even faster: bang a few matrices together and it tells me approximately what I'd get from averaging an unlimited number of simulation runs. Because SPICE is so slow and detailed it's very difficult to use as a design tool, where the question is "I want this behavior, how do I get it?" It'sbetter for design verification: "I have this circuit, how will it behave?". The linear approach in Mathematica is the quickest for design optimization, but of course it can't probe nonlinear phenomena in "large signal" cases. The iterated function approach in Mathematica is a good compromise to bridge the gap. So, when I have two Mathematica models and a SPICE model that agree that the design will meet requirements, and agree with each other where their capabilities overlap, I release the design to the layout contractor. One result is another SPICE model, extracted from the silicon geometry, for verification. This model is extremely complex, with tens of thousands of "parasitic" resistors and capacitors, but I'll run a few test cases through it before releasing the design to the mask aggregator. So, before any silicon is patterned, I get four fairly independent looks at the design from different viewpoints through two radically different tools. There are still many things that can go wrong before I have an actual chip powered up and processing video. Some of them involve other software, but they have nothing to do with Mathematica, so I won't go into them here. The real world simply doesn't work the way you imagine in this case. The design process involves cross checks between multiple tools and models, so few design errors escape detection. Furthermore, I haven't seen any errors attributable to the "quirks" of Mathematica in this process. I, of course, make and (hopefully) correct errors at a rapid pace. SPICE is rather treacherous. But correct and accurate calculation in Mathematica just isn't a problem in this engineering flow.
[toc] | [prev] | [next] | [standalone]
Page 3 of 5 — ← Prev page 1 2 [3] 4 5 Next page →
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web