SQFloatMatrix.h
Go to the documentation of this file.
1 /*
2 Copyright (C) Sartorius Stedim Data Analytics AB 2017 -
3 */
4 #ifndef _SQFLOATMATRIX_H_
5 #define _SQFLOATMATRIX_H_
6 
7 #include "SQDef.h"
8 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #ifdef _WIN32
18 #pragma pack(push, 8)
19 #endif
20 
21 #include "SQErrorCodes.h"
22 
23 
28  typedef struct tagSQ_FloatMatrix
29  {
31  void* reserved;
32  } *SQ_FloatMatrix;
33 
43  SQCEXPORT SQ_ErrorCode SQCDECL SQ_InitFloatMatrix(SQ_FloatMatrix* pMatrix, int iRow, int iColumn);
44 
53  SQCEXPORT SQ_ErrorCode SQCDECL SQ_CopyFloatMatrix(SQ_FloatMatrix pInMatrix, SQ_FloatMatrix* pOutMatrix);
54 
63  SQCEXPORT SQ_ErrorCode SQCDECL SQ_ClearFloatMatrix(SQ_FloatMatrix* pMatrix);
74  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, int iColumn, float fVal);
85  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, int iColumn, float *pfVal);
86 
96  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetRowDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, const float* pfVals);
97 
107  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetColumnDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iColumn, const float* pfVals);
108 
118  SQCEXPORT SQ_ErrorCode SQCDECL SQ_SetFloatMatrix(SQ_FloatMatrix pMatrix, const float* pfVals);
128  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetRowDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, float *pfVals);
129 
139  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetColumnDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iColumn, float *pfVals);
140 
150  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetFloatMatrix(SQ_FloatMatrix pMatrix, float* pfVals);
151 
160  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetNumRowsInFloatMatrix(SQ_FloatMatrix pMatrix, int* piNumRows);
169  SQCEXPORT SQ_ErrorCode SQCDECL SQ_GetNumColumnsInFloatMatrix(SQ_FloatMatrix pMatrix, int* piNumCols);
178  SQCEXPORT SQ_ErrorCode SQCDECL SQ_TransposeFloatMatrix(SQ_FloatMatrix pMatrix);
179 
180 
181 
182 
183 #ifdef _WIN32
184 #pragma pack(pop)
185 #endif
186 
187 #ifdef __cplusplus
188 }
189 #endif /*__cplusplus*/
190 
191 
192 #endif /* _SQFLOATMATRIX_H_ */
SQ_GetDataFromFloatMatrix
SQ_ErrorCode SQ_GetDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, int iColumn, float *pfVal)
SQ_GetRowDataFromFloatMatrix
SQ_ErrorCode SQ_GetRowDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, float *pfVals)
SQ_SetColumnDataInFloatMatrix
SQ_ErrorCode SQ_SetColumnDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iColumn, const float *pfVals)
SQ_SetFloatMatrix
SQ_ErrorCode SQ_SetFloatMatrix(SQ_FloatMatrix pMatrix, const float *pfVals)
tagSQ_FloatMatrix
Definition: SQFloatMatrix.h:28
SQ_GetColumnDataFromFloatMatrix
SQ_ErrorCode SQ_GetColumnDataFromFloatMatrix(SQ_FloatMatrix pMatrix, int iColumn, float *pfVals)
SQ_TransposeFloatMatrix
SQ_ErrorCode SQ_TransposeFloatMatrix(SQ_FloatMatrix pMatrix)
SQ_CopyFloatMatrix
SQ_ErrorCode SQ_CopyFloatMatrix(SQ_FloatMatrix pInMatrix, SQ_FloatMatrix *pOutMatrix)
SQ_GetNumColumnsInFloatMatrix
SQ_ErrorCode SQ_GetNumColumnsInFloatMatrix(SQ_FloatMatrix pMatrix, int *piNumCols)
SQ_GetNumRowsInFloatMatrix
SQ_ErrorCode SQ_GetNumRowsInFloatMatrix(SQ_FloatMatrix pMatrix, int *piNumRows)
SQ_FloatMatrix
struct tagSQ_FloatMatrix * SQ_FloatMatrix
SQ_ErrorCode
enum SQ_ErrorCodeEnum SQ_ErrorCode
SQ_InitFloatMatrix
SQ_ErrorCode SQ_InitFloatMatrix(SQ_FloatMatrix *pMatrix, int iRow, int iColumn)
SQ_GetFloatMatrix
SQ_ErrorCode SQ_GetFloatMatrix(SQ_FloatMatrix pMatrix, float *pfVals)
tagSQ_FloatMatrix::reserved
void * reserved
Definition: SQFloatMatrix.h:31
SQ_SetRowDataInFloatMatrix
SQ_ErrorCode SQ_SetRowDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, const float *pfVals)
SQErrorCodes.h
SQ_ClearFloatMatrix
SQ_ErrorCode SQ_ClearFloatMatrix(SQ_FloatMatrix *pMatrix)
SQ_SetDataInFloatMatrix
SQ_ErrorCode SQ_SetDataInFloatMatrix(SQ_FloatMatrix pMatrix, int iRow, int iColumn, float fVal)

Copyright (C) Sartorius Stedim Data Analytics AB - Generated by Doxygen