SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Mat.h
Go to the documentation of this file.
1 /*
2  For more information, please see: http://software.sci.utah.edu
3 
4  The MIT License
5 
6  Copyright (c) 2009 Scientific Computing and Imaging Institute,
7  University of Utah.
8 
9 
10  Permission is hereby granted, free of charge, to any person obtaining a
11  copy of this software and associated documentation files (the "Software"),
12  to deal in the Software without restriction, including without limitation
13  the rights to use, copy, modify, merge, publish, distribute, sublicense,
14  and/or sell copies of the Software, and to permit persons to whom the
15  Software is furnished to do so, subject to the following conditions:
16 
17  The above copyright notice and this permission notice shall be included
18  in all copies or substantial portions of the Software.
19 
20  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23  THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26  DEALINGS IN THE SOFTWARE.
27 */
28 
29 
30 
31 ///
32 ///@class Mat
33 ///@brief Simple matrix calculations
34 ///
35 ///@author
36 /// Steven G. Parker
37 /// Department of Computer Science
38 /// University of Utah
39 ///
40 ///@date October 1994
41 ///
42 
43 #ifndef sci_Math_Mat_h
44 #define sci_Math_Mat_h 1
45 
46 #include <Core/Math/share.h>
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51  SCISHARE void matsolve3by3(double mat[3][3], double rhs[3]);
52  SCISHARE void matsolve3by3_cond(double mat[3][3], double rhs[3], double* rcond);
53  SCISHARE void min_norm_least_sq_3(double *A[3], double *b, double *x, double *bprime, int size);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
#define SCISHARE
Definition: share.h:39
void min_norm_least_sq_3(double *A[3], double *b, double *x, double *bprime, int size)
Definition: Mat.c:61
void matsolve3by3(double mat[3][3], double rhs[3])
Definition: Mat.c:96
void matsolve3by3_cond(double mat[3][3], double rhs[3], double *rcond)
Definition: Mat.c:112
int size
Definition: eabLatVolData.py:2