Changeset 41891 for trunk/Ohana/src/opihi/include/data.h
- Timestamp:
- Nov 4, 2021, 6:02:11 PM (5 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/include/data.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-dev-20210817/Ohana (added) merged: 41800,41802,41818-41820,41824,41830,41835,41850,41869,41874-41875,41886
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi/include/data.h
r41341 r41891 71 71 float **dNabla_w; // a matrix of Nabla_w values for each layer 72 72 } Nnet; 73 74 // a single chebyshev associates a name with the scaling 75 // relationship and maybe other stuff 76 typedef struct { 77 char *name; 78 opihi_flt scale[2]; 79 opihi_flt zero[2]; 80 int order; 81 int dimen; 82 opihi_flt *A; 83 } ChebyshevType; 73 84 74 85 void InitData (void); … … 294 305 int nnet_apply (int argc, char **argv); 295 306 307 /*** Chebyshev functions (chebyshev.c, chebyshev_commands.c) ***/ 308 309 void InitChebyshevs (); 310 void FreeChebyshevs (); 311 void FreeChebyshev (ChebyshevType *chebyshev); 312 ChebyshevType *FindChebyshev (char *name); 313 ChebyshevType *CreateChebyshev (char *name); 314 int DeleteChebyshev (ChebyshevType *chebyshev); 315 void ListChebyshevs (); 316 int ChebyshevSetScale (ChebyshevType *cheb, Vector *vec, int dir); 317 Vector *ChebyshevNormVector (ChebyshevType *cheb, Vector *vec, int dir); 318 Vector *ChebyshevPolyVector (Vector *Ti, Vector *vec, int order); 319 int ChebyshevPolyFit1D (ChebyshevType *cheb, Vector *vec, Vector **poly); 320 int ChebyshevPolyApplyFit1D (ChebyshevType *cheb, Vector *vec, Vector **poly); 321 int ChebyshevPolyFit2D (ChebyshevType *cheb, Vector *vec, Vector **xPoly, Vector **yPoly); 322 int ChebyshevPolyApplyFit2D (ChebyshevType *cheb, Vector *vec, Vector **xPoly, Vector **yPoly); 323 296 324 # endif
Note:
See TracChangeset
for help on using the changeset viewer.
