IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 5, 2006, 1:55:02 PM (21 years ago)
Author:
jhoblitt
Message:

convert complex declarations to be explicitly double complex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SDRS-18-FIXES/doc/pslib/psLibSDRS.tex

    r5792 r5905  
    1 %%% $Id: psLibSDRS.tex,v 1.362.2.2 2005-12-15 01:29:01 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.362.2.3 2006-01-05 23:55:02 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    926926    PS_TYPE_F32,                       ///< Floating point
    927927    PS_TYPE_F64,                       ///< Double-precision floating point
    928     PS_TYPE_C32,                       ///< Complex numbers consisting of floats
    929     PS_TYPE_C64,                       ///< Complex numbers consisting of doubles
     928    PS_TYPE_C32,                       ///< Float complex
     929    PS_TYPE_C64,                       ///< Double complex
    930930    PS_TYPE_BOOL                       ///< Boolean value
    931931} psElemType;
     
    33023302        psS8   S8;                      ///< bye value entry
    33033303        psS16 S16;                      ///< short int value entry
    3304         psS32 S32;                      ///< int value entry
    3305         psS64 S64;                      ///< long int value entry
     3304        psS32 S32;                      ///< int value entry
     3305        psS64 S64;                      ///< long int value entry
    33063306        psU8   U8;                      ///< unsigned byte value entry
    33073307        psU16 U16;                      ///< unsigned short int value entry
    3308         psU32 U32;                      ///< unsigned int value entry
    3309         psU64 U64;                      ///< unsigned long int value entry
     3308        psU32 U32;                      ///< unsigned int value entry
     3309        psU64 U64;                      ///< unsigned long int value entry
    33103310        psF32 F32;                      ///< float value entry
    33113311        psF64 F64;                      ///< double value entry
    3312         psC32 C32;                      ///< complex value entry
     3312        psC32 C32;                      ///< float complex value entry
    33133313        psC64 C64;                      ///< double complex value entry
    33143314    } data;
     
    33183318In addition, we specify two functions for working with \code{psScalar} data:
    33193319\begin{prototype}
    3320 psScalar *psScalarAlloc(complex value, psElemType type);
     3320psScalar *psScalarAlloc(double complex value, psElemType type);
    33213321psScalar *psScalarCopy(const psScalar *value);
    33223322\end{prototype}
     
    33343334We require several related types of basic one-dimensional arrays:
    33353335arrays of values of type \code{int}, \code{float}, \code{double},
    3336 \code{complex float}, and \code{complex}.  We have defined a
     3336\code{float complex}, and \code{double complex}.  We have defined a
    33373337single structure, \code{psVector} to represent these concepts:
    33383338%
     
    33543354        psF64 *F64;                     ///< Pointers to double-precision data
    33553355        psC32 *C32;                     ///< Pointers to complex floating-point data
    3356         psC64 *C64;                     ///< Pointers to complex floating-point data
     3356        psC64 *C64;                     ///< Pointers to complex double-precision data
    33573357    } data;
    33583358    void *lock;                         ///< Lock for thread safety
     
    34443444
    34453445\begin{prototype}
    3446 bool psVectorSet(const psVector *input, long position, complex value);
    3447 complex psVectorGet(const psVector *input, long position);
     3446bool psVectorSet(const psVector *input, long position, double complex value);
     3447double complex psVectorGet(const psVector *input, long position);
    34483448\end{prototype}
    34493449
     
    34933493        psF64 **F64;                    ///< Pointers to double-precision data
    34943494        psC32 **C32;                    ///< Pointers to complex floating-point data
    3495         psC64 **C64;                    ///< Pointers to complex floating-point data
     3495        psC64 **C64;                    ///< Pointers to complex double-precision data
    34963496        psPtr V;                        ///< Pointers to untyped data
    34973497    } data;
     
    35663566
    35673567\begin{prototype}
    3568 bool psImageSet(const psImage *image, int x, int y, complex value);
    3569 complex psImageGet(const psImage *image, int x, int y);
     3568bool psImageSet(const psImage *image, int x, int y, double complex value);
     3569double complex psImageGet(const psImage *image, int x, int y);
    35703570\end{prototype}
    35713571
     
    52585258\begin{prototype}
    52595259psImage *psImageRotate(psImage *out, const psImage *input, float angle,
    5260                        complex exposed, psImageInterpolateMode mode);
     5260                       double complex exposed, psImageInterpolateMode mode);
    52615261\end{prototype}
    52625262Rotate the input image by given angle, specified in radians.  The
     
    52725272\begin{prototype}
    52735273psImage *psImageShift(psImage *out, const psImage *input,
    5274                       float dx, float dy, complex exposed, psImageInterpolateMode mode);
     5274                      float dx, float dy, double complex exposed, psImageInterpolateMode mode);
    52755275\end{prototype}
    52765276Shift image by an arbitrary number of pixels (\code{dx,dy}) in either
     
    53915391
    53925392\begin{prototype}
    5393 complex psImagePixelInterpolate(const psImage *input, float x, float y,
     5393double complex psImagePixelInterpolate(const psImage *input, float x, float y,
    53945394                              const psImage *mask, psMaskType maskVal,
    5395                               complex unexposedValue, psImageInterpolateMode mode);
     5395                              double complex unexposedValue, psImageInterpolateMode mode);
    53965396\end{prototype}
    53975397Perform interpolation of image pixel values to the given fractional
     
    54275427
    54285428\begin{prototype}
    5429 int psImageClipComplexRegion(psImage *input, complex min, complex vmin,
    5430                              complex max, complex vmax);
     5429int psImageClipComplexRegion(psImage *input, double complex min,
     5430                             double complex vmin, double complex max,
     5431                             double complex vmax);
    54315432\end{prototype}
    54325433Clip image values outside of range to given values.  All pixels with
Note: See TracChangeset for help on using the changeset viewer.