IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

convert complex declarations to be explicitly double complex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/psLibSDRS.tex

    r5877 r5904  
    1 %%% $Id: psLibSDRS.tex,v 1.369 2006-01-04 04:26:21 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.370 2006-01-05 23:49:44 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;
     
    33063306        psS8   S8;                      ///< bye value entry
    33073307        psS16 S16;                      ///< short int value entry
    3308         psS32 S32;                      ///< int value entry
    3309         psS64 S64;                      ///< long int value entry
     3308        psS32 S32;                      ///< int value entry
     3309        psS64 S64;                      ///< long int value entry
    33103310        psU8   U8;                      ///< unsigned byte value entry
    33113311        psU16 U16;                      ///< unsigned short int value entry
    3312         psU32 U32;                      ///< unsigned int value entry
    3313         psU64 U64;                      ///< unsigned long int value entry
     3312        psU32 U32;                      ///< unsigned int value entry
     3313        psU64 U64;                      ///< unsigned long int value entry
    33143314        psF32 F32;                      ///< float value entry
    33153315        psF64 F64;                      ///< double value entry
    3316         psC32 C32;                      ///< complex value entry
     3316        psC32 C32;                      ///< float complex value entry
    33173317        psC64 C64;                      ///< double complex value entry
    33183318    } data;
     
    33223322In addition, we specify two functions for working with \code{psScalar} data:
    33233323\begin{prototype}
    3324 psScalar *psScalarAlloc(complex value, psElemType type);
     3324psScalar *psScalarAlloc(double complex value, psElemType type);
    33253325psScalar *psScalarCopy(const psScalar *value);
    33263326\end{prototype}
     
    33383338We require several related types of basic one-dimensional arrays:
    33393339arrays of values of type \code{int}, \code{float}, \code{double},
    3340 \code{complex float}, and \code{complex}.  We have defined a
     3340\code{float complex}, and \code{double complex}.  We have defined a
    33413341single structure, \code{psVector} to represent these concepts:
    33423342%
     
    33583358        psF64 *F64;                     ///< Pointers to double-precision data
    33593359        psC32 *C32;                     ///< Pointers to complex floating-point data
    3360         psC64 *C64;                     ///< Pointers to complex floating-point data
     3360        psC64 *C64;                     ///< Pointers to complex double-precision data
    33613361    } data;
    33623362    void *lock;                         ///< Lock for thread safety
     
    34483448
    34493449\begin{prototype}
    3450 bool psVectorSet(const psVector *input, long position, complex value);
    3451 complex psVectorGet(const psVector *input, long position);
     3450bool psVectorSet(const psVector *input, long position, double complex value);
     3451double complex psVectorGet(const psVector *input, long position);
    34523452\end{prototype}
    34533453
     
    34973497        psF64 **F64;                    ///< Pointers to double-precision data
    34983498        psC32 **C32;                    ///< Pointers to complex floating-point data
    3499         psC64 **C64;                    ///< Pointers to complex floating-point data
     3499        psC64 **C64;                    ///< Pointers to complex double-precision data
    35003500        psPtr *V;                       ///< Pointers to untyped data
    35013501    } data;
     
    35703570
    35713571\begin{prototype}
    3572 bool psImageSet(const psImage *image, int x, int y, complex value);
    3573 complex psImageGet(const psImage *image, int x, int y);
     3572bool psImageSet(const psImage *image, int x, int y, double complex value);
     3573double complex psImageGet(const psImage *image, int x, int y);
    35743574\end{prototype}
    35753575
     
    52635263\begin{prototype}
    52645264psImage *psImageRotate(psImage *out, const psImage *input, float angle,
    5265                        complex exposed, psImageInterpolateMode mode);
     5265                       double complex exposed, psImageInterpolateMode mode);
    52665266\end{prototype}
    52675267Rotate the input image by given angle, specified in radians.  The
     
    52775277\begin{prototype}
    52785278psImage *psImageShift(psImage *out, const psImage *input,
    5279                       float dx, float dy, complex exposed, psImageInterpolateMode mode);
     5279                      float dx, float dy, double complex exposed, psImageInterpolateMode mode);
    52805280\end{prototype}
    52815281Shift image by an arbitrary number of pixels (\code{dx,dy}) in either
     
    53965396
    53975397\begin{prototype}
    5398 complex psImagePixelInterpolate(const psImage *input, float x, float y,
     5398double complex psImagePixelInterpolate(const psImage *input, float x, float y,
    53995399                              const psImage *mask, psMaskType maskVal,
    5400                               complex unexposedValue, psImageInterpolateMode mode);
     5400                              double complex unexposedValue, psImageInterpolateMode mode);
    54015401\end{prototype}
    54025402Perform interpolation of image pixel values to the given fractional
     
    54325432
    54335433\begin{prototype}
    5434 int psImageClipComplexRegion(psImage *input, complex min, complex vmin,
    5435                              complex max, complex vmax);
     5434int psImageClipComplexRegion(psImage *input, double complex min,
     5435                             double complex vmin, double complex max,
     5436                             double complex vmax);
    54365437\end{prototype}
    54375438Clip image values outside of range to given values.  All pixels with
Note: See TracChangeset for help on using the changeset viewer.