Changeset 1404 in Sophya for trunk/SophyaLib/TArray/utilarr.cc


Ignore:
Timestamp:
Feb 15, 2001, 6:57:43 PM (25 years ago)
Author:
ansari
Message:

correction documentation - Reza 15/2/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/utilarr.cc

    r1156 r1404  
    1616  \class SOPHYA::RandomSequence
    1717  \ingroup TArray
    18   Class to generate a random sequence of values
     18  Base class to generate a sequence of random values
    1919*/
    2020
     
    6767  \param start : start value
    6868  \param step : step value
    69   \param f : pointer to the sequence function
     69  \param f : pointer to the sequence function (default = NULL, f(x)=x )
    7070
    7171  See \ref RegularSequenceOperat "operator()"
     
    8686  \param k : index of the value
    8787  \anchor RegularSequenceOperat
    88 
    89   If the constructor was done with RandomSequence, return a RandomSequence
    90   and \b k doesn't matter.
    91 
    92   If the constructor has a NULL Arr_DoubleFunctionOfX, return start+k*step
    93 
    94   If the constructor has a not NULL Arr_DoubleFunctionOfX, return f(start+k*step)
    95   \return the \b k th value
     88 
     89  \return f(start+k*step)
     90
    9691 */
    9792
     
    10499}
    105100
     101/*!
     102  \class SOPHYA::EnumeratedSequence
     103  \ingroup TArray
     104  Explicitly defined sequence of values. The comma operator has
     105  been redefined to let an easy definition of sequences.
     106 
     107  \code
     108  // Initializing a sequence
     109  EnumeratedSequence es;
     110  es = 11, 22, 33, 44, 55, 66;
     111 
     112  for(int k=0; k<8; k++)
     113    cout << " k= " << k << " es(k)= " << es(k) << endl;
     114  \endcode
     115*/
     116
     117EnumeratedSequence::EnumeratedSequence()
     118{
     119}
     120
    106121EnumeratedSequence::~EnumeratedSequence()
    107122{
    108123}
    109124
     125//! Return the k th value in the sequence (default = 0)
    110126MuTyV & EnumeratedSequence::Value (sa_size_t k) const
    111127{
Note: See TracChangeset for help on using the changeset viewer.