Classes Utilities Scripts Speech Search Up Home
ISIP IFC Index
Title Bar

/home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/scalar/MScalar/MScalar.h

// file: $isip/class/math/scalar/MScalar/MScalar.h
// version: $Id: MScalar.h 8518 2002-08-02 23:46:56Z zheng $
//

// make sure definitions are only made once
//
#ifndef ISIP_MSCALAR
#define ISIP_MSCALAR

// isip include files
//
#ifndef ISIP_MSCALAR_METHODS
#include "MScalarMethods.h"

[snipped]

  // method: factorial
  //
  TIntegral factorial(TIntegral arg) {
    value_d = 1;    
    for (TIntegral count = 2; count <= arg; count++) {
      value_d *= count;
    }
    return value_d;
  }

[snipped]

//
// end of file


Footer

Up | Home | Courses | Projects | Proposals | Publications
Please direct questions or comments to joseph.picone@isip.piconepress.com