pyfmtools 0.78__tar.gz → 0.80__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. {pyfmtools-0.78/src/pyfmtools.egg-info → pyfmtools-0.80}/PKG-INFO +1 -1
  2. pyfmtools-0.78/dist/pyfmtools-0.78-cp39-cp39-macosx_10_9_x86_64.whl → pyfmtools-0.80/dist/pyfmtools-0.80-cp39-cp39-macosx_10_9_x86_64.whl +0 -0
  3. {pyfmtools-0.78 → pyfmtools-0.80}/setup.py +1 -1
  4. {pyfmtools-0.78 → pyfmtools-0.80/src/pyfmtools.egg-info}/PKG-INFO +1 -1
  5. {pyfmtools-0.78 → pyfmtools-0.80}/src/pyfmtools.egg-info/SOURCES.txt +1 -1
  6. {pyfmtools-0.78 → pyfmtools-0.80}/src/pyfmtools.py +77 -37
  7. {pyfmtools-0.78 → pyfmtools-0.80}/LICENSE.txt +0 -0
  8. {pyfmtools-0.78 → pyfmtools-0.80}/MANIFEST.in +0 -0
  9. {pyfmtools-0.78 → pyfmtools-0.80}/README.md +0 -0
  10. {pyfmtools-0.78 → pyfmtools-0.80}/setup.cfg +0 -0
  11. {pyfmtools-0.78 → pyfmtools-0.80}/src/binarylattice.h +0 -0
  12. {pyfmtools-0.78 → pyfmtools-0.80}/src/buildPyfmtools.py +0 -0
  13. {pyfmtools-0.78 → pyfmtools-0.80}/src/colamd.c +0 -0
  14. {pyfmtools-0.78 → pyfmtools-0.80}/src/colamd.h +0 -0
  15. {pyfmtools-0.78 → pyfmtools-0.80}/src/commonlib.c +0 -0
  16. {pyfmtools-0.78 → pyfmtools-0.80}/src/commonlib.h +0 -0
  17. {pyfmtools-0.78 → pyfmtools-0.80}/src/declare.h +0 -0
  18. {pyfmtools-0.78 → pyfmtools-0.80}/src/fmrandom.cpp +0 -0
  19. {pyfmtools-0.78 → pyfmtools-0.80}/src/fmrandom.h +0 -0
  20. {pyfmtools-0.78 → pyfmtools-0.80}/src/fortify.h +0 -0
  21. {pyfmtools-0.78 → pyfmtools-0.80}/src/fuzzymeasurefit.cpp +0 -0
  22. {pyfmtools-0.78 → pyfmtools-0.80}/src/fuzzymeasurefit.h +0 -0
  23. {pyfmtools-0.78 → pyfmtools-0.80}/src/fuzzymeasurefit3.cpp +0 -0
  24. {pyfmtools-0.78 → pyfmtools-0.80}/src/fuzzymeasuretools.cpp +0 -0
  25. {pyfmtools-0.78 → pyfmtools-0.80}/src/fuzzymeasuretools.h +0 -0
  26. {pyfmtools-0.78 → pyfmtools-0.80}/src/generaldefs.h +0 -0
  27. {pyfmtools-0.78 → pyfmtools-0.80}/src/hbio.h +0 -0
  28. {pyfmtools-0.78 → pyfmtools-0.80}/src/ini.c +0 -0
  29. {pyfmtools-0.78 → pyfmtools-0.80}/src/ini.h +0 -0
  30. {pyfmtools-0.78 → pyfmtools-0.80}/src/isfixedvar.c +0 -0
  31. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_BFP.h +0 -0
  32. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_BFP1.h +0 -0
  33. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_BFP2.h +0 -0
  34. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_Hash.c +0 -0
  35. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_Hash.h +0 -0
  36. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_LUSOL.c +0 -0
  37. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_LUSOL.h +0 -0
  38. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_MDO.c +0 -0
  39. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_MDO.h +0 -0
  40. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_MPS.c +0 -0
  41. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_MPS.h +0 -0
  42. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_SOS.c +0 -0
  43. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_SOS.h +0 -0
  44. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_crash.c +0 -0
  45. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_crash.h +0 -0
  46. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_etaPFI.h +0 -0
  47. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_explicit.h +0 -0
  48. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_fortify.h +0 -0
  49. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_lib.c +0 -0
  50. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_lib.h +0 -0
  51. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_matrix.c +0 -0
  52. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_matrix.h +0 -0
  53. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_mipbb.c +0 -0
  54. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_mipbb.h +0 -0
  55. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_params.c +0 -0
  56. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_presolve.c +0 -0
  57. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_presolve.h +0 -0
  58. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_price.c +0 -0
  59. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_price.h +0 -0
  60. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_pricePSE.c +0 -0
  61. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_pricePSE.h +0 -0
  62. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_report.c +0 -0
  63. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_report.h +0 -0
  64. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_rlp.h +0 -0
  65. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_scale.c +0 -0
  66. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_scale.h +0 -0
  67. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_simplex.c +0 -0
  68. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_simplex.h +0 -0
  69. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_types.h +0 -0
  70. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_utils.c +0 -0
  71. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_utils.h +0 -0
  72. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_wlp.c +0 -0
  73. {pyfmtools-0.78 → pyfmtools-0.80}/src/lp_wlp.h +0 -0
  74. {pyfmtools-0.78 → pyfmtools-0.80}/src/lpkit.h +0 -0
  75. {pyfmtools-0.78 → pyfmtools-0.80}/src/lpslink56.c +0 -0
  76. {pyfmtools-0.78 → pyfmtools-0.80}/src/lpsolve.h +0 -0
  77. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol.c +0 -0
  78. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol.h +0 -0
  79. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol1.h +0 -0
  80. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol2.h +0 -0
  81. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol6a.h +0 -0
  82. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol6l0.h +0 -0
  83. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol6u.h +0 -0
  84. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol7a.h +0 -0
  85. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusol8a.h +0 -0
  86. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusolio.c +0 -0
  87. {pyfmtools-0.78 → pyfmtools-0.80}/src/lusolio.h +0 -0
  88. {pyfmtools-0.78 → pyfmtools-0.80}/src/minimalsplus.h +0 -0
  89. {pyfmtools-0.78 → pyfmtools-0.80}/src/mmio.c +0 -0
  90. {pyfmtools-0.78 → pyfmtools-0.80}/src/mmio.h +0 -0
  91. {pyfmtools-0.78 → pyfmtools-0.80}/src/myblas.c +0 -0
  92. {pyfmtools-0.78 → pyfmtools-0.80}/src/myblas.h +0 -0
  93. {pyfmtools-0.78 → pyfmtools-0.80}/src/pyfmtools.egg-info/dependency_links.txt +0 -0
  94. {pyfmtools-0.78 → pyfmtools-0.80}/src/pyfmtools.egg-info/requires.txt +0 -0
  95. {pyfmtools-0.78 → pyfmtools-0.80}/src/pyfmtools.egg-info/top_level.txt +0 -0
  96. {pyfmtools-0.78 → pyfmtools-0.80}/src/sparselib.c +0 -0
  97. {pyfmtools-0.78 → pyfmtools-0.80}/src/sparselib.h +0 -0
  98. {pyfmtools-0.78 → pyfmtools-0.80}/src/stdafx.h +0 -0
  99. {pyfmtools-0.78 → pyfmtools-0.80}/src/ufortify.h +0 -0
  100. {pyfmtools-0.78 → pyfmtools-0.80}/src/wrapperpy.cpp +0 -0
  101. {pyfmtools-0.78 → pyfmtools-0.80}/src/wrapperpy.h +0 -0
  102. {pyfmtools-0.78 → pyfmtools-0.80}/src/yacc_read.c +0 -0
  103. {pyfmtools-0.78 → pyfmtools-0.80}/src/yacc_read.h +0 -0
  104. {pyfmtools-0.78 → pyfmtools-0.80}/tests/test_no_wrapper.py +0 -0
  105. {pyfmtools-0.78 → pyfmtools-0.80}/tests/test_wrapper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyfmtools
3
- Version: 0.78
3
+ Version: 0.80
4
4
  Summary: Library for handling and fitting fuzzy measures
5
5
  Home-page: UNKNOWN
6
6
  Author: Gleb Beliakov, Norbert Henseler
@@ -10,7 +10,7 @@ with open("README.md", "r") as fh:
10
10
 
11
11
  setup(
12
12
  name="pyfmtools",
13
- version="0.78",
13
+ version="0.80",
14
14
  description="Library for handling and fitting fuzzy measures",
15
15
  long_description=open('README.md').read(),
16
16
  long_description_content_type="text/markdown",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyfmtools
3
- Version: 0.78
3
+ Version: 0.80
4
4
  Summary: Library for handling and fitting fuzzy measures
5
5
  Home-page: UNKNOWN
6
6
  Author: Gleb Beliakov, Norbert Henseler
@@ -2,7 +2,7 @@ LICENSE.txt
2
2
  MANIFEST.in
3
3
  README.md
4
4
  setup.py
5
- dist/pyfmtools-0.78-cp39-cp39-macosx_10_9_x86_64.whl
5
+ dist/pyfmtools-0.80-cp39-cp39-macosx_10_9_x86_64.whl
6
6
  src/binarylattice.h
7
7
  src/buildPyfmtools.py
8
8
  src/colamd.c
@@ -172,23 +172,63 @@ def create_float_zeros_as_CFFI_double( n):
172
172
  px = ffi.cast( "double *", x.ctypes.data)
173
173
  return x, px
174
174
 
175
+
176
+ # version of the function using np.ascontiguousarray()
177
+ def convert_py_float_to_cffi_cont( x):
178
+ if x is not None:
179
+ if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.float64):
180
+ px = x
181
+ else:
182
+ px = np.ascontiguousarray( x, dtype = 'float64')
183
+ pxcffi = ffi.cast( "double *", px.ctypes.data)
184
+ else:
185
+ # handle None
186
+ px = np.array( 0)
187
+ pxcffi = ffi.cast( "double *", 0)
188
+ return px, pxcffi
189
+
190
+ # version of the function using np.array()
175
191
  def convert_py_float_to_cffi( x):
176
- if isinstance( x, np.ndarray) == True:
177
- px = x
192
+ if x is not None:
193
+ if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.float64):
194
+ px = x
195
+ else:
196
+ px = np.array( x, dtype = 'float64')
197
+ pxcffi = ffi.cast( "double *", px.ctypes.data)
178
198
  else:
179
- px = np.array( x)
180
- if px.dtype != "float64": px = px.astype( float)
181
- pxcffi = ffi.cast( "double *", px.ctypes.data)
199
+ # handle None
200
+ px = np.array( 0)
201
+ pxcffi = ffi.cast( "double *", 0)
182
202
  return px, pxcffi
183
203
 
204
+ # version of the function using np.ascontiguousarray()
205
+ def convert_py_int_to_cffi_cont( x):
206
+ if x is not None:
207
+ if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.int32):
208
+ px = x
209
+ else:
210
+ px = np.ascontiguousarray( x, dtype = 'int32')
211
+ pxcffi = ffi.cast( "int *", px.ctypes.data)
212
+ else:
213
+ # handle None
214
+ px = np.array( 0)
215
+ pxcffi = ffi.cast( "int *", 0)
216
+ return px, pxcffi
184
217
 
218
+ # version of the function using np.array()
185
219
  def convert_py_int_to_cffi( x):
186
- x = np.intc( x)
187
- px = np.array( x)
188
- pxcffi = ffi.cast( "int *", px.ctypes.data)
220
+ if x is not None:
221
+ if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.int32):
222
+ px = x
223
+ else:
224
+ px = np.array( x, dtype = 'int32')
225
+ pxcffi = ffi.cast( "int *", px.ctypes.data)
226
+ else:
227
+ # handle None
228
+ px = np.array( 0)
229
+ pxcffi = ffi.cast( "int *", 0)
189
230
  return px, pxcffi
190
231
 
191
-
192
232
  ###
193
233
  # The python minimum wrapper for py_ functions from wrapper.cpp
194
234
  ###
@@ -486,7 +526,7 @@ def Entropy(v, env):
486
526
  def FuzzyMeasureFit(datanum, additive, env, dataset):
487
527
  trace( "void py_FuzzyMeasureFit(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
488
528
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
489
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
529
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
490
530
  fm.py_FuzzyMeasureFit( datanum, additive, env, pout_v, pdataset)
491
531
  return pout_vnp
492
532
 
@@ -496,7 +536,7 @@ def FuzzyMeasureFit(datanum, additive, env, dataset):
496
536
  def FuzzyMeasureFitMob(datanum, additive, env, dataset):
497
537
  trace( "void py_FuzzyMeasureFitMob(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
498
538
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
499
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
539
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
500
540
  fm.py_FuzzyMeasureFitMob( datanum, additive, env, pout_v, pdataset)
501
541
  return pout_vnp
502
542
 
@@ -506,7 +546,7 @@ def FuzzyMeasureFitMob(datanum, additive, env, dataset):
506
546
  def FuzzyMeasureFitKtolerant(datanum, additive, env, dataset):
507
547
  trace( "void py_FuzzyMeasureFitKtolerant(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
508
548
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
509
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
549
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
510
550
  fm.py_FuzzyMeasureFitKtolerant( datanum, additive, env, pout_v, pdataset)
511
551
  return pout_vnp
512
552
 
@@ -516,7 +556,7 @@ def FuzzyMeasureFitKtolerant(datanum, additive, env, dataset):
516
556
  def FuzzyMeasureFitLPKmaxitive(datanum, additive, env, dataset):
517
557
  trace( "void py_FuzzyMeasureFitLPKmaxitive(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
518
558
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
519
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
559
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
520
560
  fm.py_FuzzyMeasureFitLPKmaxitive( datanum, additive, env, pout_v, pdataset)
521
561
  return pout_vnp
522
562
 
@@ -526,8 +566,8 @@ def FuzzyMeasureFitLPKmaxitive(datanum, additive, env, dataset):
526
566
  def FuzzyMeasureFitLPKinteractive(datanum, additive, env, K, dataset):
527
567
  trace( "void py_FuzzyMeasureFitLPKinteractive(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K)")
528
568
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
529
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
530
- pKnp, pK = convert_py_float_to_cffi( K)
569
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
570
+ pKnp, pK = convert_py_float_to_cffi_cont( K)
531
571
  fm.py_FuzzyMeasureFitLPKinteractive( datanum, additive, env, pout_v, pdataset, pK)
532
572
  return pout_vnp
533
573
 
@@ -548,9 +588,9 @@ def FuzzyMeasureFitLPKinteractiveMaxChains(datanum, additive, env, K, dataset):
548
588
  def FuzzyMeasureFitLPKinteractiveAutoK(datanum, additive, env, K, maxiters, dataset):
549
589
  trace( "void py_FuzzyMeasureFitLPKinteractiveAutoK(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int* maxiters)")
550
590
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
551
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
552
- pKnp, pK = convert_py_float_to_cffi( K)
553
- pmaxitersnp, pmaxiters = convert_py_int_to_cffi( maxiters)
591
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
592
+ pKnp, pK = convert_py_float_to_cffi_cont( K)
593
+ pmaxitersnp, pmaxiters = convert_py_int_to_cffi_cont( maxiters)
554
594
  fm.py_FuzzyMeasureFitLPKinteractiveAutoK( datanum, additive, env, pout_v, pdataset, pK, pmaxiters)
555
595
  return pout_vnp
556
596
 
@@ -560,8 +600,8 @@ def FuzzyMeasureFitLPKinteractiveAutoK(datanum, additive, env, K, maxiters, data
560
600
  def FuzzyMeasureFitLPKinteractiveMarginal(datanum, additive, env, K, submod, dataset):
561
601
  trace( "void py_FuzzyMeasureFitLPKinteractiveMarginal(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int submod)")
562
602
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
563
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
564
- pKnp, pK = convert_py_float_to_cffi( K)
603
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
604
+ pKnp, pK = convert_py_float_to_cffi_cont( K)
565
605
  fm.py_FuzzyMeasureFitLPKinteractiveMarginal( datanum, additive, env, pout_v, pdataset, pK, submod)
566
606
  return pout_vnp
567
607
 
@@ -569,9 +609,9 @@ def FuzzyMeasureFitLPKinteractiveMarginal(datanum, additive, env, K, submod, dat
569
609
  def FuzzyMeasureFitLPKinteractiveMarginalMaxChain(datanum, additive, env, K, maxiters, submod, dataset):
570
610
  trace( "void py_FuzzyMeasureFitLPKinteractiveMarginalMaxChain(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int* maxiters, int submod)")
571
611
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
572
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
573
- pKnp, pK = convert_py_float_to_cffi( K)
574
- pmaxitersnp, pmaxiters = convert_py_int_to_cffi( maxiters)
612
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
613
+ pKnp, pK = convert_py_float_to_cffi_cont( K)
614
+ pmaxitersnp, pmaxiters = convert_py_int_to_cffi_cont( maxiters)
575
615
  fm.py_FuzzyMeasureFitLPKinteractiveMarginalMaxChain( datanum, additive, env, pout_v, pdataset, pK, pmaxiters, submod)
576
616
  return pout_vnp
577
617
 
@@ -580,12 +620,12 @@ def FuzzyMeasureFitLPKinteractiveMarginalMaxChain(datanum, additive, env, K, max
580
620
  def FuzzyMeasureFitLP(datanum, additive, env, options, indexlow, indexhihg, option1, orness, dataset):
581
621
  trace( "void py_FuzzyMeasureFitLP(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, int* options, double* indexlow, double* indexhihg, int* option1, double* orness)")
582
622
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
583
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
584
- poptionsnp, poptions = convert_py_int_to_cffi( options)
585
- pindexlownp, pindexlow = convert_py_float_to_cffi( indexlow)
586
- pindexhihgnp, pindexhihg = convert_py_float_to_cffi( indexhihg)
587
- poption1np, poption1 = convert_py_int_to_cffi( option1)
588
- pornessnp, porness = convert_py_float_to_cffi( orness)
623
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
624
+ poptionsnp, poptions = convert_py_int_to_cffi_cont( options)
625
+ pindexlownp, pindexlow = convert_py_float_to_cffi_cont( indexlow)
626
+ pindexhihgnp, pindexhihg = convert_py_float_to_cffi_cont( indexhihg)
627
+ poption1np, poption1 = convert_py_int_to_cffi_cont( option1)
628
+ pornessnp, porness = convert_py_float_to_cffi_cont( orness)
589
629
  fm.py_FuzzyMeasureFitLP( datanum, additive, env, pout_v, pdataset, poptions, pindexlow, pindexhihg, poption1, porness)
590
630
  return pout_vnp
591
631
 
@@ -594,12 +634,12 @@ def FuzzyMeasureFitLP(datanum, additive, env, options, indexlow, indexhihg, opti
594
634
  def FuzzyMeasureFitLPMob(datanum, additive, env, options, indexlow, indexhihg, option1, orness, dataset):
595
635
  trace( "void py_FuzzyMeasureFitLPMob(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, int* options, double* indexlow, double* indexhihg, int* option1, double* orness)")
596
636
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
597
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
598
- poptionsnp, poptions = convert_py_int_to_cffi( options)
599
- pindexlownp, pindexlow = convert_py_float_to_cffi( indexlow)
600
- pindexhihgnp, pindexhihg = convert_py_float_to_cffi( indexhihg)
601
- poption1np, poption1 = convert_py_int_to_cffi( option1)
602
- pornessnp, porness = convert_py_float_to_cffi( orness)
637
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
638
+ poptionsnp, poptions = convert_py_int_to_cffi_cont( options)
639
+ pindexlownp, pindexlow = convert_py_float_to_cffi_cont( indexlow)
640
+ pindexhihgnp, pindexhihg = convert_py_float_to_cffi_cont( indexhihg)
641
+ poption1np, poption1 = convert_py_int_to_cffi_cont( option1)
642
+ pornessnp, porness = convert_py_float_to_cffi_cont( orness)
603
643
  fm.py_FuzzyMeasureFitLPMob( datanum, additive, env, pout_v, pdataset, poptions, pindexlow, pindexhihg, poption1, porness)
604
644
  return pout_vnp
605
645
 
@@ -608,7 +648,7 @@ def FuzzyMeasureFitLPMob(datanum, additive, env, options, indexlow, indexhihg, o
608
648
  def fittingOWA(datanum, env, dataset):
609
649
  trace( "void py_fittingOWA(int datanum, struct fm_env* env, double* out_v, double* dataset)")
610
650
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
611
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
651
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
612
652
  fm.py_fittingOWA( datanum, env, pout_v, pdataset)
613
653
  return pout_vnp, dataset
614
654
 
@@ -617,7 +657,7 @@ def fittingOWA(datanum, env, dataset):
617
657
  def fittingWAM(datanum, env, dataset):
618
658
  trace( "void py_fittingWAM(int datanum, struct fm_env* env, double* out_v, double* dataset)")
619
659
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
620
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
660
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
621
661
  fm.py_fittingWAM( datanum, env, pout_v, pdataset)
622
662
  return pout_vnp
623
663
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes