MISR Toolkit
1.5.1
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
All
Typedefs
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
_
a
b
c
d
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
y
z
+
Enumerations
a
b
c
f
g
h
j
m
n
p
r
t
v
y
+
Enumerator
a
b
c
d
f
g
h
i
j
k
m
n
o
r
s
t
u
v
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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