IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 28, 2005, 4:25:10 PM (21 years ago)
Author:
desonia
Message:

Bug #382 -- added some simple functions for tracing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psVector.c

    r3740 r3786  
    99*  @author Robert DeSonia, MHPCC
    1010*
    11 *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-04-21 21:21:01 $
     11*  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-04-29 02:25:09 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    526526    }
    527527}
     528
     529bool p_psVectorPrint (FILE *f, psVector *a, char *name)
     530{
     531
     532    fprintf (f, "vector: %s\n", name);
     533
     534    for (int i = 0; i < a[0].n; i++) {
     535        fprintf (f, "%f\n", p_psVectorGetElementF64(a, i));
     536    }
     537    fprintf (f, "\n");
     538    return (true);
     539}
Note: See TracChangeset for help on using the changeset viewer.