Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psVector.h File Reference


Detailed Description

Contains basic vector definitions and operations.

This file defines the basic type for a vector struct and functions useful in manupulating vectors.

Author:
Robert DeSonia, MHPCC

Ross Harman, MHPCC

Version:
Revision
1.30
Name
rel5_0
Date:
Date
2005/03/22 21:52:49
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psVector.h.

#include "psType.h"

Include dependency graph for psVector.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  psVector
 An vector to support primitive types. More...

Functions

psVectorpsVectorAlloc (psU32 nalloc, psElemType dataType)
 Allocate a vector.
psVectorpsVectorRealloc (psVector *psVec, psU32 nalloc)
 Reallocate a vector.
psVectorpsVectorRecycle (psVector *psVec, psU32 nalloc, psElemType type)
 Recycle a vector.
psVectorpsVectorCopy (psVector *out, const psVector *in, psElemType type)
 Copy a vector, converting types.
psVectorpsVectorSort (psVector *outVector, const psVector *inVector)
 Sort an array of floats.
psVectorpsVectorSortIndex (psVector *outVector, const psVector *inVector)
 Creates an array of indices based on sort ordered of array.
char * psVectorToString (psVector *vector, int maxLength)
 Creates a string from a psVector's values in the form "[x0,x1,x2]".
psF64 p_psVectorGetElementF64 (psVector *vector, int position)
 Returns an element in the vector as a psF64 value.


Generated on Mon Apr 4 18:24:46 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1