Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > What is a 'scalar' value?

Reply
Thread Tools

What is a 'scalar' value?

 
 
Marc Twain
Guest
Posts: n/a
 
      01-02-2004
Saw that term the other day and wondered if it refered to primitive types?

TIA,

AJ.
 
Reply With Quote
 
 
 
 
Joona I Palaste
Guest
Posts: n/a
 
      01-02-2004
Marc Twain <(E-Mail Removed)> scribbled the following:
> Saw that term the other day and wondered if it refered to primitive types?


Basically, a scalar is anything that is just one value and does not
represent an array or a data structure.

--
/-- Joona Palaste ((E-Mail Removed)) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"A bee could, in effect, gather its junk. Llamas (no poor quadripeds) tune
and vow excitedly zooming."
- JIPsoft
 
Reply With Quote
 
 
 
 
Jeen Broekstra
Guest
Posts: n/a
 
      01-02-2004
Marc Twain wrote:

> Saw that term the other day and wondered if it refered to
> primitive types?


Yes, the value of a primitive type is a scalar value. The term
scalar refers to the fact that the value is representable as a
point on a scale.

Jeen
--
Jeen Broekstra http://www.cs.vu.nl/~jbroeks/

There is no fear in love; but perfect love casteth out fear.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments