MISR Toolkit
1.5.1
Regression
src
MtkRegressionCoeffFree.c
Go to the documentation of this file.
1
/*===========================================================================
2
= =
3
= MtkRegressionCoeffFree =
4
= =
5
=============================================================================
6
7
Jet Propulsion Laboratory
8
MISR
9
MISR Toolkit
10
11
Copyright 2008, California Institute of Technology.
12
ALL RIGHTS RESERVED.
13
U.S. Government Sponsorship acknowledged.
14
15
============================================================================*/
16
17
#include "
MisrRegression.h
"
18
#include "
MisrError.h
"
19
#include <stdlib.h>
20
33
MTKt_status
MtkRegressionCoeffFree
(
34
MTKt_RegressionCoeff
*regressbuf
35
)
36
{
37
38
if
(regressbuf != NULL) {
39
MtkDataBufferFree
(®ressbuf->
valid_mask
);
40
MtkDataBufferFree
(®ressbuf->
slope
);
41
MtkDataBufferFree
(®ressbuf->
intercept
);
42
MtkDataBufferFree
(®ressbuf->
correlation
);
43
}
44
45
return
MTK_SUCCESS
;
46
}
MTKt_RegressionCoeff::valid_mask
MTKt_DataBuffer valid_mask
Definition:
MisrRegression.h:26
MTKt_RegressionCoeff::slope
MTKt_DataBuffer slope
Definition:
MisrRegression.h:27
MTK_SUCCESS
Definition:
MisrError.h:12
MtkDataBufferFree
MTKt_status MtkDataBufferFree(MTKt_DataBuffer *databuf)
Free data buffer.
Definition:
MtkDataBufferFree.c:33
MTKt_RegressionCoeff::intercept
MTKt_DataBuffer intercept
Definition:
MisrRegression.h:28
MisrRegression.h
MisrError.h
MTKt_RegressionCoeff
Definition:
MisrRegression.h:25
MtkRegressionCoeffFree
MTKt_status MtkRegressionCoeffFree(MTKt_RegressionCoeff *regressbuf)
Free memory for regression coefficients.
Definition:
MtkRegressionCoeffFree.c:33
MTKt_status
MTKt_status
Definition:
MisrError.h:11
MTKt_RegressionCoeff::correlation
MTKt_DataBuffer correlation
Definition:
MisrRegression.h:29
MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:51