What is a 'scalar' value?

Discussion in 'Java' started by Marc Twain, Jan 2, 2004.

  1. Marc Twain

    Marc Twain Guest

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

    TIA,

    AJ.
    Marc Twain, Jan 2, 2004
    #1
    1. Advertising

  2. Marc Twain <> 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 () ------------- 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
    Joona I Palaste, Jan 2, 2004
    #2
    1. Advertising

  3. 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.
    Jeen Broekstra, Jan 2, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eli
    Replies:
    5
    Views:
    396
    Bruno Desthuilliers
    Apr 25, 2006
  2. jm
    Replies:
    2
    Views:
    467
  3. Fred Taylor

    TableAdapter Scalar or "Single Value" Queries

    Fred Taylor, Nov 23, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    312
    Fred Taylor
    Nov 23, 2005
  4. Clint Olsen
    Replies:
    6
    Views:
    336
    Jeff 'japhy' Pinyan
    Nov 13, 2003
  5. Mark

    Replace scalar in another scalar

    Mark, Jan 27, 2005, in forum: Perl Misc
    Replies:
    4
    Views:
    152
    Arndt Jonasson
    Jan 27, 2005
Loading...

Share This Page