Go to the source code of this file.
Classes | |
struct | tagSQ_FloatVector |
Typedefs | |
typedef struct tagSQ_FloatVector * | SQ_FloatVector |
Functions | |
SQ_ErrorCode | SQ_InitFloatVector (SQ_FloatVector *pVector, int iSize) |
SQ_ErrorCode | SQ_CopyFloatVector (SQ_FloatVector pInVector, SQ_FloatVector *pOutVector) |
SQ_ErrorCode | SQ_ClearFloatVector (SQ_FloatVector *pVector) |
SQ_ErrorCode | SQ_SetDataInFloatVector (SQ_FloatVector pVector, int iPos, float fVal) |
SQ_ErrorCode | SQ_GetDataFromFloatVector (const SQ_FloatVector pVector, int iPos, float *pfVal) |
SQ_ErrorCode | SQ_SetFloatVector (SQ_FloatVector pVector, const float *pfVals) |
SQ_ErrorCode | SQ_GetFloatVector (const SQ_FloatVector pVector, float *pfVals) |
SQ_ErrorCode | SQ_GetFloatVectorSize (const SQ_FloatVector pVector, int *piSize) |
This file list the SQ_FloatVector object used in Umetrics SIMCA-Q products.
typedef struct tagSQ_FloatVector * SQ_FloatVector |
An int vector that is used to get and send data to many functions. Index base = 1. IMPORTANT: Always initialize it to NULL!
SQ_ErrorCode SQ_ClearFloatVector | ( | SQ_FloatVector * | pVector | ) |
Removes the vector, this function must be called for every vector that is created.
[in] | pVector | The vector to be removed. |
SQ_ErrorCode SQ_CopyFloatVector | ( | SQ_FloatVector | pInVector, |
SQ_FloatVector * | pOutVector | ||
) |
Get a copy of the float vector
[in] | pInVector | The vector to copy. |
[in,out] | pOutVector | The result vector. |
SQ_ErrorCode SQ_GetDataFromFloatVector | ( | const SQ_FloatVector | pVector, |
int | iPos, | ||
float * | pfVal | ||
) |
Gets the data from a given position.
[in] | pVector | The vector to get the data from. |
[in] | iPos | The position to get the data from. |
[out] | pfVal | The data in the cell. |
SQ_ErrorCode SQ_GetFloatVector | ( | const SQ_FloatVector | pVector, |
float * | pfVals | ||
) |
Gets the data from the vector.
[in] | pVector | The vector to get the data from. |
[out] | pfVals | An array to be filled with the data from the vector. Must be at least of same size as the vector. |
SQ_ErrorCode SQ_GetFloatVectorSize | ( | const SQ_FloatVector | pVector, |
int * | piSize | ||
) |
Returns the size of the vector.
[in] | pVector | The vector to get the number of columns from. |
[out] | piSize | The size of the vector or a negative number if an error occurred. |
SQ_ErrorCode SQ_InitFloatVector | ( | SQ_FloatVector * | pVector, |
int | iSize | ||
) |
Initialize an integer vector with its size.
[in] | pVector | The vector to be initialized. |
[in] | iSize | The size of the vector. |
SQ_ErrorCode SQ_SetDataInFloatVector | ( | SQ_FloatVector | pVector, |
int | iPos, | ||
float | fVal | ||
) |
Sets the data at the given position.
[in] | pVector | The vector to set the data in. |
[in] | iPos | The position to set the data in. |
[in] | fVal | The data to set the cell with. |
SQ_ErrorCode SQ_SetFloatVector | ( | SQ_FloatVector | pVector, |
const float * | pfVals | ||
) |
Sets the data in the vector.
[in] | pVector | The vector to set the data in. |
[in] | pfVals | An array of data to fill the vector with. Must be at least of same size as the vector. |
Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen