cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Re: IsScalar

 jean Giraud wrote:That's all what it accounts for: disambiguation between the book definition

What book defintion? There is no book definition of a range variable. Sorry, but I have no idea what you are trying to say.

 This is not a scalar ... There must be an array in there

What have arrays got to do with it? A range variable is not an array either.

Highlighted

Re: IsScalar

This is not a scalar ... There must be an array in there

The Mathcad structure is hybrid. If the construct is scalar and the end issue must be array There must be an array in there. Vice versa, if the construct is discretized and it wants scalar This is not a scalar. Book definition = Wiki or else [Webster, Oxford, Larousse ..]

Highlighted

Re: IsScalar

The Mathcad world is not only made up of scalars and arrays. A range variable is neither.

Highlighted

Re: IsScalar

 jean Giraud wrote:This is not a scalar ... There must be an array in there The Mathcad structure is hybrid. If the construct is scalar and the end issue must be array There must be an array in there. Vice versa, if the construct is discretized and it wants scalar This is not a scalar. Book definition = Wiki or else [Webster, Oxford, Larousse ..]

AFAICT, as Richard says, a 'range variable' is neither a scalar nor an array. It is a variable that contains a 'range definition'. Mathcad treats the variable differently according to where the range variable is located. Very roughly, ...

Case 1: top-level worksheet

When Mathcad evaluates a worksheet and encounters a range variable outside of a program, it iterates the expression for each value of the implied sequence of values defined by the range definition.

Case 2: in a program

A variable containing a range definition is treated as just that - a variable containing a piece of data; Mathcad does not automatically iterate over it and will generate an error if you try to use it as at worksheet level. However, it can be used as a 'for loop' parameter.

Highlighted

Re: IsScalar

Stuart! You have been very quiet recently!

I think the contrast etc of your Avatar could do with some adjustment. I thought it was just a gray / grey square to begin with!

Highlighted

Re: IsScalar

 Richard Jackson wrote:Stuart! You have been very quiet recently!

Yes. Minor drug side effect that leaves me feeling sleepier than Epimenides or Rip Van Winkle - scares the heck out of my bus passengers, but their screams tend to wake me up at opportune moments .

 I think the contrast etc of your Avatar could do with some adjustment. I thought it was just a gray / grey square to begin with!

But it is just a gray/grey square. You're not seeing stars in it, are you? A sure sign of mind control. I note from your Profile image that, whereas you obviously have the correct eyewear, you seem to be neglecting the tin-foil hat.

Highlighted

Re: IsScalar

 you seem to be neglecting the tin-foil hat.

A proper tin-foil hat has a propeller!

Highlighted

Re: IsScalar

 Richard Jackson wrote:you seem to be neglecting the tin-foil hat.A proper tin-foil hat has a propeller!

True, but in an emergency one can do without - the NSA specification gives good results even without the rotating quantum concentrator.

Remember: Shiny Side = Outside

Highlighted

Re: IsScalar

Oops, actually I am. Is it too late for me?

It's either a spiral galaxy or a squid doing a pirouette. There's some sort of coded message at the bottom of the image. I suspect that it's a warning to not stare at the image for too long...

Highlighted

Re: IsScalar

 Eden Mei wrote:Oops, actually I am. Is it too late for me? It's either a spiral galaxy or a squid doing a pirouette. There's some sort of coded message at the bottom of the image. I suspect that it's a warning to not stare at the image for too long...

Way too late, I'm afraid; most people see soap suds disappearing down a plug hole.

The coded message puts a meme into the observor's mind that makes them look for meaning. Another common symptom is wondering how an antenna works in terms of quantum mechanics/photons.

Announcements