KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
m_mat_calc.h
Go to the documentation of this file.
1 /* $Id: m_mat_calc.h 12036 2012-04-05 20:54:58Z ksimek $ */
2 /* =========================================================================== *
3  |
4  | Copyright (c) 1994-2010 by Kobus Barnard (author)
5  |
6  | Personal and educational use of this code is granted, provided that this
7  | header is kept intact, and that the authorship is not misrepresented, that
8  | its use is acknowledged in publications, and relevant papers are cited.
9  |
10  | For other use contact the author (kobus AT cs DOT arizona DOT edu).
11  |
12  | Please note that the code in this file has not necessarily been adequately
13  | tested. Naturally, there is no guarantee of performance, support, or fitness
14  | for any particular task. Nonetheless, I am interested in hearing about
15  | problems that you encounter.
16  |
17  | Author: Kyle Simek
18  * =========================================================================== */
19 
20 
21 #ifndef KJB_MAT_CALC
22 #define KJB_MAT_CALC
23 
24 /* *
25  * @file m_mat_calc.h
26  *
27  * Collection of functions implementing calculus-related matrix functionality.
28  */
29 namespace kjb
30 {
31  /* DEPRECATED March 22, 2012 --KS */ Matrix derivative_matrix(int degree, int N);
32 
33  inline Matrix create_derivative_matrix( int N, int degree = 1)
34  {
35  return derivative_matrix(degree, N);
36  }
37 
38  Matrix create_integral_matrix(const std::vector<double>& deltas);
39  Matrix create_integral_matrix(size_t N);
40 }
41 
42 
43 #endif
kjb::Matrix create_integral_matrix(const std::vector< double > &deltas)
Definition: m_mat_calc.cpp:67
Matrix create_derivative_matrix(int N, int degree=1)
Definition: m_mat_calc.h:33
This class implements matrices, in the linear-algebra sense, with real-valued elements.
Definition: m_matrix.h:94
Matrix derivative_matrix(int degree, int N)
Definition: m_mat_calc.cpp:25