Changeset 6500 for trunk/psLib/src/mathtypes
- Timestamp:
- Feb 27, 2006, 4:53:03 PM (20 years ago)
- Location:
- trunk/psLib/src/mathtypes
- Files:
-
- 2 edited
-
psVector.c (modified) (2 diffs)
-
psVector.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/mathtypes/psVector.c
r6484 r6500 9 9 * @author Robert DeSonia, MHPCC 10 10 * 11 * @version $Revision: 1.6 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-02-2 4 23:43:15$11 * @version $Revision: 1.66 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-02-28 02:53:03 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1001 1001 } 1002 1002 1003 long psVectorLength(const psVector *vector) 1004 { 1005 if ( !psMemCheckVector((psVector*)vector) ) { 1006 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 1007 "Error: Specified vector is not a valid psVector \n"); 1008 return -1; 1009 } 1010 return (vector->n); 1011 } 1012 1013 -
trunk/psLib/src/mathtypes/psVector.h
r6227 r6500 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.5 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2006-0 1-28 01:12:14$13 * @version $Revision: 1.52 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-02-28 02:53:03 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 260 260 ); 261 261 262 /** Get the number of elements in use from a specified psVector. (vector.n) 263 * 264 * @return long: The number of elements in use. 265 */ 266 long psVectorLength( 267 const psVector *vector ///< input psVector 268 ); 269 270 262 271 /// @} 263 272
Note:
See TracChangeset
for help on using the changeset viewer.
