IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 3, 2006, 2:02:05 PM (21 years ago)
Author:
Paul Price
Message:

Fixed psBinaryOp example.

File:
1 edited

Legend:

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

    r5792 r5874  
    1 %%% $Id: psLibSDRS.tex,v 1.365 2005-12-15 01:30:23 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.366 2006-01-04 00:02:05 price Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    56005600in an image:
    56015601\begin{verbatim}
    5602 psImage A,B;
    5603 
    5604 B = psBinaryOp (NULL, A, "^", psScalarAlloc(2));
     5602psImage *A, *B;
     5603A = someCoolImage(); // Initialise A
     5604
     5605B = psBinaryOp (NULL, A, "^", psScalarAlloc(2, PS_TYPE_S16));
    56055606psUnaryOp(B, B, "sin");
    56065607\end{verbatim}
Note: See TracChangeset for help on using the changeset viewer.