Go to the source code of this file.
Classes | |
struct | tagSQ_ComponentVector |
Typedefs | |
typedef struct tagSQ_ComponentVector * | SQ_ComponentVector |
Functions | |
SQ_ErrorCode | SQ_InitComponentVector (SQ_ComponentVector *pVector, int nSize) |
SQ_ErrorCode | SQ_ClearComponentVector (SQ_ComponentVector *pVector) |
SQ_ErrorCode | SQ_SetDataInComponentVector (SQ_ComponentVector pVector, int nPos, int iPredComp, int iXComp, int iYComp) |
SQ_ErrorCode | SQ_GetDataFromComponentVector (SQ_ComponentVector pVector, int nPos, int *piPredComp, int *piXComp, int *piYComp) |
SQ_ErrorCode | SQ_GetComponentVectorSize (SQ_ComponentVector pVector, int *piSize) |
This file contains the SQ_ComponentVector object used in Umetrics SIMCA-Q products.
typedef struct tagSQ_ComponentVector * SQ_ComponentVector |
An int vector that is used to get and send data to many functions. Index base = 1.
SQ_ErrorCode SQ_ClearComponentVector | ( | SQ_ComponentVector * | 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_GetComponentVectorSize | ( | SQ_ComponentVector | 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. |
SQ_ErrorCode SQ_GetDataFromComponentVector | ( | SQ_ComponentVector | pVector, |
int | nPos, | ||
int * | piPredComp, | ||
int * | piXComp, | ||
int * | piYComp | ||
) |
Gets the data from a given position.
[in] | pVector | The vector to get the data from. |
[in] | nPos | The model or class to set number of components. |
[out] | piPredComp | The prediction component. This is the only component for non O2PLS models. |
[out] | piXComp | The X side component. O2PLS models only. |
[out] | piYComp | The Y side component. O2PLS models only. |
SQ_ErrorCode SQ_InitComponentVector | ( | SQ_ComponentVector * | pVector, |
int | nSize | ||
) |
Initialize a component vector with its size.
[in] | pVector | The vector to be initialized. |
[in] | nSize | The size of the vector. |
SQ_ErrorCode SQ_SetDataInComponentVector | ( | SQ_ComponentVector | pVector, |
int | nPos, | ||
int | iPredComp, | ||
int | iXComp, | ||
int | iYComp | ||
) |
Sets the data at the given position.
[in] | pVector | The vector to set the data in. |
[in] | nPos | The model or class to set number of components |
[in] | iPredComp | The prediction component. This is the only component for non O2PLS models. |
[in] | iXComp | The X side component. O2PLS models only. |
[in] | iYComp | The Y side component. O2PLS models only. |
Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen