I forgot one thing: how to deal with your original problem. In[1]:= a=Array[Unique[a]&,{2,2}] Out[1]= {{a$17,a$18},{a$19,a$20}} In[2]:= a-x/.Flatten[Thread/@Thread[a->x]] Out[2]= {{0,0},{0,0}} Seems to me a little simpler than with the HoldForm approach. Andrzej On 17 Dec 2005, at 13:48, Andrzej Kozlowski wrote: > If you feel really want do it in this sor of way, I suggest the > following approach: > > > x=Array[Unique[x]&,{2,2}] > > > {{x$23,x$24},{x$25,x$26}} > > etc. > > I think in this way you get...

EUREKA! I have found a (for me) new and alternative way to define matrices and list structures, which allows me to define the elements afterwards, and leave some elements undefined. From the Book, 2.5.5: "You can define a list, say a = {x, y, z, ... }, then access its elements using a[[i]], or modify them using a[[i]] = value. This approach has a drawback, however, in that it requires you to fill in all the elements when you first create the list. Often, it is more convenient to set up arrays in which you can fill in only those elements that you need at a particular time. You...

I like this idea. Does the mathematical/algebraic "programming" style scale up to large problems? Are there examples? Or perhaps it doesn't strictly scale, but is better applied judiciously. It could be used to steer a code at a very high level, or conversely, used in the gaps (the Mathematica-in-the-gaps argument). Conventional programming would make up the difference. If indeed mathematical programming is not the silver-bullet paradigm, where should the conventional (though modern) programming be done? Within or without Mathematica? If within, then we've c...

>From: David Elliott <elliott@stcnet.com> >To: "Yue Huang" <yue31@hotmail.com> >Subject: Re: Re: Re: >Date: Tue, 9 Dec 2003 23:29:13 -0500 > >On Dec 9, 2003, at 10:41 PM, Yue Huang wrote: > >> >>----- Original Message ----- >>From: "David Elliott" <elliott@stcnet.com> >>Newsgroups: comp.soft-sys.wxwindows >>Sent: Tuesday, December 09, 2003 12:44 AM >>Subject: Re: >> >> >>>You'll notice the code in that wxMac method sets the >>>kFloatingWindowClass Mac...

I think most people this entire discussion does not have any practical importance. Obviously something like this: 2*Unevaluated[1+1] 2 Unevaluated[1+1] is extremly unlikely to have any practical use. After all, we use Unevaluated when we want something to remain unevaluated, whereas here only two things can happen: either one will be left with Unevaluated[something] or the "something" will evaluate. Both of these outcomes are obsiously undesirable. Why should one ever use anything like this in a program? In fact if for some unimaginable reason somone neede...

On Dec 4, 2005, at 6:16 AM, Steven T. Hatton wrote: I started this reply before seeing your conversations with Kris Carlson, he seems to have better elucidated the points I was trying to make. > On Saturday 03 December 2005 21:37, Sseziwa Mukasa wrote: > >> On Dec 3, 2005, at 6:52 PM, Steven T. Hatton wrote: >> An example of a strong and >> dynamic language is LISP, and this is one respect in which >> Mathematica >> differs from LISP. >> > > (setq f 1) > (setq g 2.2) > (setq h (+ f g)) > (print h) > =>3.2...

Sorry again, but your previous message said >=, not <=. It's still posted on Google Groups, and I checked to make sure. DrBob www.eclecticdreams.net -----Original Message----- From: AGUIRRE ESTIBALEZ Julian [mailto:mtpagesj@lg.ehu.es] Subject: RE: Re: Mandelbrot Set & Mathematica On Tue, 11 May 2004, DrBob wrote: > Sorry, but that just doesn't work, even after changing =BE to >=. There are > only two colors (even using your rainbow function), and no fractal > "antennae". As noted in a previous message, it should be "<=...

So far I could resist the temptation to participate in this discussion. However, in his mail Maxim Rytin presents some examples of which he thinks the result is unpredictable. Maybe there is some interest in how I predict the results of simple commands in which Unevaluated occurs. Of course these examples are of no practical interest. Unevaluated is meant to pass unevaluated arguments to a function body and as such it works perfectly. No one in practice is interested in (1+1)*Unevaluated[2+2]. The basic principle has been clearly explained by Andrzej Kozlowsky. Suppose we have a ...

I must agree about the debugger. I was very excited by the release of Workbench 1.0 because of the promise of a good debugger. I even took a course on it. The reality is that Workbench is so hard to use ( I can't bring in my old code and debug changes- it just doesn't work) that I never use it. So I'm back to using Print statements again. I love Mathematica but would love to have an easy to use debugger with break points, etc. Oh well. Cliff Nasser Abbasi <nma@12000.org> wrote: "Murray Eisenberg" wrote in message news:fdf236$20u$1@smc.vnet.net... &...

> -----Original Message----- > From: Steven T. Hatton [mailto:hattons@globalsymmetry.com] > Sent: 15 December 2005 10:30 > Subject: Re: Mathematica Programmer vs. Programming > in Mathematica > ....... > > I wonder what value there woudl be in trying to explain what makes > > Mathematica "functions" different from functions in > languages such as > > C in a book addressed to readers most of whom have no > knowledge of C > > and are not particualry interested in getting it? > > I suspect you will not fi...

I like to use Array when I want a variable to be treated as a matrix. [[Expression:||| Array[x,{2,2}] |||]] This is probably not what you want since the output is a nested list. This is not the same as declaring a variable as a matrix. But now, this approach works: [[Expression:||| a={{1,2},{3,4}}|||]] [[Expression:||| Array[x,{2,2}] - a /. x[k__]:>a[[k]] |||]] Link to the forum page for this post: http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp?pageName=Special:Forum_ViewTopic&pid=6675#p6675 Posted through http://www.mathematica-users.org [[postId=6675]...

no. ...

I'd like to add the ComplexAnalysis package at my web site below: This package contains complex analysis routines and complex graphics routines. There are routines that convert the regular 2D Graphics into equivalent complex forms. For example ComplexLine[{z1,z2,z3...}] takes complex numbers for the point coordinates. There are routines for producing one or two panel plots or animations of complex functions. Each panel may be one of the following plot types. 1) Cartesian/PolarSurface - Plots the surface s[f[z]] where f is a complex function and s is a real function. 2) Cartesian...

atul wrote: > I'm not entirely sure what prompts your anxiety, as I have used several > packages over the years, including Time Series, Wavelet Explorer and > Mathematica Link for Excel. While some functions (from both Time > Series and > Mathematica Link) were incorporated into the kernel over time, updates to > ensure compatibility with new versions of Mathematica were timely and > unobtrusive. > This has not been the case for me and I subscribe to "Premier Service". I must always ask (usually more than once) for updates to the "Mec...

The Principia states Newton's laws of motion , forming the foundation of classical mechanics , also Newton's law of universal gravitation , and ...

This was bugging me over the weekend: What is a good way to solve those Where's Waldo? [ 'Wally' outside of North America] puzzles, using Mathematica ...

During the Wolfram Mathematica Virtual Conference 2011, Wolfram founder Stephen Wolfram shared the background and vision of Mathematica, including ...

It would appear that Wolfram, the company behind the Siri search engine is bringing its original product, Mathematica , to the iPad. In response ...

Wolfram Research is giving away its Mathematica software for use on the diminutive, $25 Raspberry Pi computers and debuting a brand-new programming ...

The creator of the answer engine in Siri writes about his long relationship with Jobs Wolfram. Photo: Creative Commons There are a several novel ...

Single biggest jump in new functionality in the software's history

... is being expanded into a logic and knowledge engine that can operate locally or in the cloud. Wolfram Research's flagship program Mathematica ...

[Stephen Wolfram], possibly the only person on Earth who wants a second element named after him, is giving away Mathematica for the Raspberry ...

If you’re a fan of Wolfram’s Mathematica app, you’ll be pleased to hear its comprehensive tools for technical computing are now more accessible. ...

Resources last updated: 2/5/2016 10:13:34 AM