IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2006, 3:06:29 PM (20 years ago)
Author:
Paul Price
Message:

Removing PS_VECTOR_SET_TYPE macros --- use psVectorInit instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psConstants.h

    r7762 r7763  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.90 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-06-30 01:05:58 $
     8 *  @version $Revision: 1.91 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2006-06-30 01:06:29 $
    1010 *
    1111 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    361361}\
    362362
    363 #define PS_VECTOR_SET_U8(NAME, VALUE) \
    364 for (int i = 0 ; i < (NAME)->n ; i++) { \
    365     (NAME)->data.U8[i] = VALUE; \
    366 }\
    367 
    368 #define PS_VECTOR_SET_U16(NAME, VALUE) \
    369 for (int i = 0 ; i < (NAME)->n ; i++) { \
    370     (NAME)->data.U16[i] = VALUE; \
    371 }\
    372 
    373 #define PS_VECTOR_SET_U32(NAME, VALUE) \
    374 for (int i = 0 ; i < (NAME)->n ; i++) { \
    375     (NAME)->data.U32[i] = VALUE; \
    376 }\
    377 
    378 #define PS_VECTOR_SET_U64(NAME, VALUE) \
    379 for (int i = 0 ; i < (NAME)->n ; i++) { \
    380     (NAME)->data.U64[i] = VALUE; \
    381 }\
    382 
    383 #define PS_VECTOR_SET_S8(NAME, VALUE) \
    384 for (int i = 0 ; i < (NAME)->n ; i++) { \
    385     (NAME)->data.S8[i] = VALUE; \
    386 }\
    387 
    388 #define PS_VECTOR_SET_S16(NAME, VALUE) \
    389 for (int i = 0 ; i < (NAME)->n ; i++) { \
    390     (NAME)->data.S16[i] = VALUE; \
    391 }\
    392 
    393 #define PS_VECTOR_SET_S32(NAME, VALUE) \
    394 for (int i = 0 ; i < (NAME)->n ; i++) { \
    395     (NAME)->data.S32[i] = VALUE; \
    396 }\
    397 
    398 #define PS_VECTOR_SET_S64(NAME, VALUE) \
    399 for (int i = 0 ; i < (NAME)->n ; i++) { \
    400     (NAME)->data.S64[i] = VALUE; \
    401 }\
    402 
    403 #define PS_VECTOR_SET_F64(NAME, VALUE) \
    404 for (int i = 0 ; i < (NAME)->n ; i++) { \
    405     (NAME)->data.F64[i] = VALUE; \
    406 }\
    407 
    408 #define PS_VECTOR_SET_F32(NAME, VALUE) \
    409 for (int i = 0 ; i < (NAME)->n ; i++) { \
    410     (NAME)->data.F32[i] = VALUE; \
    411 }\
    412 
    413 
    414363/*****************************************************************************
    415364    PS_POLY macros:
Note: See TracChangeset for help on using the changeset viewer.