29 #ifndef _DERIVATIVES_HPP_
30 #define _DERIVATIVES_HPP_
52 const double *
const x,
53 const double *
const u,
54 TNT::Array2D<double> &B,
55 TNT::Array1D<double> &F);
64 const double *
const x);
74 const double *
const x,
87 const double *
const x,
88 const double *
const u,
89 TNT::Array2D<double> &B,
90 TNT::Array1D<double> &F,
161 const double *
const x);
TNT::Array2D< double > deraffine(System &S, double *x)
Obtains the jacobian matrix of a fuzzy model with respect to its affine consequents.
Definition: derivatives.cpp:760
double derantec(System &S, double *x, size_t input, size_t output, size_t rule, size_t parameter, int &error)
Obtains the derivative of a fuzzy model with respect to a parameter of an antecedent.
Definition: derivatives.cpp:799
Fuzzy Logic Tools (FLT) namespace.
Definition: derivatives.hpp:41
TNT::Array2D< double > derfuzzy(System &S, double *x)
Obtains the jacobian matrix of a fuzzy model with respect to all of its parameters.
Definition: derivatives.cpp:920
TNT::Array2D< double > jacobianAprox(System &S, System &C, const double *const x, double h=0.001)
Computes the approximation of the closed-loop jacobian matrix in x for the Plant S and the Controller...
Definition: derivatives.cpp:649
TNT::Array2D< double > jacobian(System &S, const double *const x, const double *const u, TNT::Array2D< double > &B, TNT::Array1D< double > &F)
Computes the open-loop jacobian matrix in x for the Plant S.
Definition: derivatives.cpp:6
This class contains methods and attributes common to fuzzy Systems.
Definition: system.hpp:52
double derconseq(System &S, double *x, size_t output, size_t rule, size_t parameter, int &error)
Obtains the derivative of a fuzzy model with respect to a consequent.
Definition: derivatives.cpp:693
TNT::Array2D< double > derCLFSconseq(System &P, System &C, const double *const x)
Obtains the jacobian matrix of a Closed Loop Fuzzy System (CLFS) with respect to the consequents of t...
Implements useful functions for fuzzy systems.