pyfmtools 0.79__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.79/src/pyfmtools.egg-info → pyfmtools-0.80}/PKG-INFO +1 -1
  2. pyfmtools-0.79/dist/pyfmtools-0.79-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.79 → pyfmtools-0.80}/setup.py +1 -1
  4. {pyfmtools-0.79 → pyfmtools-0.80/src/pyfmtools.egg-info}/PKG-INFO +1 -1
  5. {pyfmtools-0.79 → pyfmtools-0.80}/src/pyfmtools.egg-info/SOURCES.txt +1 -1
  6. {pyfmtools-0.79 → pyfmtools-0.80}/src/pyfmtools.py +60 -30
  7. {pyfmtools-0.79 → pyfmtools-0.80}/LICENSE.txt +0 -0
  8. {pyfmtools-0.79 → pyfmtools-0.80}/MANIFEST.in +0 -0
  9. {pyfmtools-0.79 → pyfmtools-0.80}/README.md +0 -0
  10. {pyfmtools-0.79 → pyfmtools-0.80}/setup.cfg +0 -0
  11. {pyfmtools-0.79 → pyfmtools-0.80}/src/binarylattice.h +0 -0
  12. {pyfmtools-0.79 → pyfmtools-0.80}/src/buildPyfmtools.py +0 -0
  13. {pyfmtools-0.79 → pyfmtools-0.80}/src/colamd.c +0 -0
  14. {pyfmtools-0.79 → pyfmtools-0.80}/src/colamd.h +0 -0
  15. {pyfmtools-0.79 → pyfmtools-0.80}/src/commonlib.c +0 -0
  16. {pyfmtools-0.79 → pyfmtools-0.80}/src/commonlib.h +0 -0
  17. {pyfmtools-0.79 → pyfmtools-0.80}/src/declare.h +0 -0
  18. {pyfmtools-0.79 → pyfmtools-0.80}/src/fmrandom.cpp +0 -0
  19. {pyfmtools-0.79 → pyfmtools-0.80}/src/fmrandom.h +0 -0
  20. {pyfmtools-0.79 → pyfmtools-0.80}/src/fortify.h +0 -0
  21. {pyfmtools-0.79 → pyfmtools-0.80}/src/fuzzymeasurefit.cpp +0 -0
  22. {pyfmtools-0.79 → pyfmtools-0.80}/src/fuzzymeasurefit.h +0 -0
  23. {pyfmtools-0.79 → pyfmtools-0.80}/src/fuzzymeasurefit3.cpp +0 -0
  24. {pyfmtools-0.79 → pyfmtools-0.80}/src/fuzzymeasuretools.cpp +0 -0
  25. {pyfmtools-0.79 → pyfmtools-0.80}/src/fuzzymeasuretools.h +0 -0
  26. {pyfmtools-0.79 → pyfmtools-0.80}/src/generaldefs.h +0 -0
  27. {pyfmtools-0.79 → pyfmtools-0.80}/src/hbio.h +0 -0
  28. {pyfmtools-0.79 → pyfmtools-0.80}/src/ini.c +0 -0
  29. {pyfmtools-0.79 → pyfmtools-0.80}/src/ini.h +0 -0
  30. {pyfmtools-0.79 → pyfmtools-0.80}/src/isfixedvar.c +0 -0
  31. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_BFP.h +0 -0
  32. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_BFP1.h +0 -0
  33. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_BFP2.h +0 -0
  34. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_Hash.c +0 -0
  35. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_Hash.h +0 -0
  36. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_LUSOL.c +0 -0
  37. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_LUSOL.h +0 -0
  38. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_MDO.c +0 -0
  39. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_MDO.h +0 -0
  40. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_MPS.c +0 -0
  41. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_MPS.h +0 -0
  42. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_SOS.c +0 -0
  43. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_SOS.h +0 -0
  44. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_crash.c +0 -0
  45. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_crash.h +0 -0
  46. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_etaPFI.h +0 -0
  47. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_explicit.h +0 -0
  48. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_fortify.h +0 -0
  49. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_lib.c +0 -0
  50. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_lib.h +0 -0
  51. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_matrix.c +0 -0
  52. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_matrix.h +0 -0
  53. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_mipbb.c +0 -0
  54. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_mipbb.h +0 -0
  55. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_params.c +0 -0
  56. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_presolve.c +0 -0
  57. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_presolve.h +0 -0
  58. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_price.c +0 -0
  59. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_price.h +0 -0
  60. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_pricePSE.c +0 -0
  61. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_pricePSE.h +0 -0
  62. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_report.c +0 -0
  63. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_report.h +0 -0
  64. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_rlp.h +0 -0
  65. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_scale.c +0 -0
  66. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_scale.h +0 -0
  67. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_simplex.c +0 -0
  68. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_simplex.h +0 -0
  69. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_types.h +0 -0
  70. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_utils.c +0 -0
  71. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_utils.h +0 -0
  72. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_wlp.c +0 -0
  73. {pyfmtools-0.79 → pyfmtools-0.80}/src/lp_wlp.h +0 -0
  74. {pyfmtools-0.79 → pyfmtools-0.80}/src/lpkit.h +0 -0
  75. {pyfmtools-0.79 → pyfmtools-0.80}/src/lpslink56.c +0 -0
  76. {pyfmtools-0.79 → pyfmtools-0.80}/src/lpsolve.h +0 -0
  77. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol.c +0 -0
  78. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol.h +0 -0
  79. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol1.h +0 -0
  80. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol2.h +0 -0
  81. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol6a.h +0 -0
  82. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol6l0.h +0 -0
  83. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol6u.h +0 -0
  84. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol7a.h +0 -0
  85. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusol8a.h +0 -0
  86. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusolio.c +0 -0
  87. {pyfmtools-0.79 → pyfmtools-0.80}/src/lusolio.h +0 -0
  88. {pyfmtools-0.79 → pyfmtools-0.80}/src/minimalsplus.h +0 -0
  89. {pyfmtools-0.79 → pyfmtools-0.80}/src/mmio.c +0 -0
  90. {pyfmtools-0.79 → pyfmtools-0.80}/src/mmio.h +0 -0
  91. {pyfmtools-0.79 → pyfmtools-0.80}/src/myblas.c +0 -0
  92. {pyfmtools-0.79 → pyfmtools-0.80}/src/myblas.h +0 -0
  93. {pyfmtools-0.79 → pyfmtools-0.80}/src/pyfmtools.egg-info/dependency_links.txt +0 -0
  94. {pyfmtools-0.79 → pyfmtools-0.80}/src/pyfmtools.egg-info/requires.txt +0 -0
  95. {pyfmtools-0.79 → pyfmtools-0.80}/src/pyfmtools.egg-info/top_level.txt +0 -0
  96. {pyfmtools-0.79 → pyfmtools-0.80}/src/sparselib.c +0 -0
  97. {pyfmtools-0.79 → pyfmtools-0.80}/src/sparselib.h +0 -0
  98. {pyfmtools-0.79 → pyfmtools-0.80}/src/stdafx.h +0 -0
  99. {pyfmtools-0.79 → pyfmtools-0.80}/src/ufortify.h +0 -0
  100. {pyfmtools-0.79 → pyfmtools-0.80}/src/wrapperpy.cpp +0 -0
  101. {pyfmtools-0.79 → pyfmtools-0.80}/src/wrapperpy.h +0 -0
  102. {pyfmtools-0.79 → pyfmtools-0.80}/src/yacc_read.c +0 -0
  103. {pyfmtools-0.79 → pyfmtools-0.80}/src/yacc_read.h +0 -0
  104. {pyfmtools-0.79 → pyfmtools-0.80}/tests/test_no_wrapper.py +0 -0
  105. {pyfmtools-0.79 → 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.79
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.79",
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.79
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.79-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,7 +172,9 @@ 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
- def convert_py_float_to_cffi( x):
175
+
176
+ # version of the function using np.ascontiguousarray()
177
+ def convert_py_float_to_cffi_cont( x):
176
178
  if x is not None:
177
179
  if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.float64):
178
180
  px = x
@@ -185,8 +187,22 @@ def convert_py_float_to_cffi( x):
185
187
  pxcffi = ffi.cast( "double *", 0)
186
188
  return px, pxcffi
187
189
 
190
+ # version of the function using np.array()
191
+ def convert_py_float_to_cffi( 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)
198
+ else:
199
+ # handle None
200
+ px = np.array( 0)
201
+ pxcffi = ffi.cast( "double *", 0)
202
+ return px, pxcffi
188
203
 
189
- def convert_py_int_to_cffi( x):
204
+ # version of the function using np.ascontiguousarray()
205
+ def convert_py_int_to_cffi_cont( x):
190
206
  if x is not None:
191
207
  if isinstance( x, np.ndarray) and ( x.flags.c_contiguous == True) and ( x.dtype == np.int32):
192
208
  px = x
@@ -199,6 +215,20 @@ def convert_py_int_to_cffi( x):
199
215
  pxcffi = ffi.cast( "int *", 0)
200
216
  return px, pxcffi
201
217
 
218
+ # version of the function using np.array()
219
+ def convert_py_int_to_cffi( x):
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)
230
+ return px, pxcffi
231
+
202
232
  ###
203
233
  # The python minimum wrapper for py_ functions from wrapper.cpp
204
234
  ###
@@ -496,7 +526,7 @@ def Entropy(v, env):
496
526
  def FuzzyMeasureFit(datanum, additive, env, dataset):
497
527
  trace( "void py_FuzzyMeasureFit(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
498
528
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
499
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
529
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
500
530
  fm.py_FuzzyMeasureFit( datanum, additive, env, pout_v, pdataset)
501
531
  return pout_vnp
502
532
 
@@ -506,7 +536,7 @@ def FuzzyMeasureFit(datanum, additive, env, dataset):
506
536
  def FuzzyMeasureFitMob(datanum, additive, env, dataset):
507
537
  trace( "void py_FuzzyMeasureFitMob(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
508
538
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
509
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
539
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
510
540
  fm.py_FuzzyMeasureFitMob( datanum, additive, env, pout_v, pdataset)
511
541
  return pout_vnp
512
542
 
@@ -516,7 +546,7 @@ def FuzzyMeasureFitMob(datanum, additive, env, dataset):
516
546
  def FuzzyMeasureFitKtolerant(datanum, additive, env, dataset):
517
547
  trace( "void py_FuzzyMeasureFitKtolerant(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
518
548
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
519
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
549
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
520
550
  fm.py_FuzzyMeasureFitKtolerant( datanum, additive, env, pout_v, pdataset)
521
551
  return pout_vnp
522
552
 
@@ -526,7 +556,7 @@ def FuzzyMeasureFitKtolerant(datanum, additive, env, dataset):
526
556
  def FuzzyMeasureFitLPKmaxitive(datanum, additive, env, dataset):
527
557
  trace( "void py_FuzzyMeasureFitLPKmaxitive(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset)")
528
558
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
529
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
559
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
530
560
  fm.py_FuzzyMeasureFitLPKmaxitive( datanum, additive, env, pout_v, pdataset)
531
561
  return pout_vnp
532
562
 
@@ -536,8 +566,8 @@ def FuzzyMeasureFitLPKmaxitive(datanum, additive, env, dataset):
536
566
  def FuzzyMeasureFitLPKinteractive(datanum, additive, env, K, dataset):
537
567
  trace( "void py_FuzzyMeasureFitLPKinteractive(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K)")
538
568
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
539
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
540
- 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)
541
571
  fm.py_FuzzyMeasureFitLPKinteractive( datanum, additive, env, pout_v, pdataset, pK)
542
572
  return pout_vnp
543
573
 
@@ -558,9 +588,9 @@ def FuzzyMeasureFitLPKinteractiveMaxChains(datanum, additive, env, K, dataset):
558
588
  def FuzzyMeasureFitLPKinteractiveAutoK(datanum, additive, env, K, maxiters, dataset):
559
589
  trace( "void py_FuzzyMeasureFitLPKinteractiveAutoK(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int* maxiters)")
560
590
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
561
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
562
- pKnp, pK = convert_py_float_to_cffi( K)
563
- 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)
564
594
  fm.py_FuzzyMeasureFitLPKinteractiveAutoK( datanum, additive, env, pout_v, pdataset, pK, pmaxiters)
565
595
  return pout_vnp
566
596
 
@@ -570,8 +600,8 @@ def FuzzyMeasureFitLPKinteractiveAutoK(datanum, additive, env, K, maxiters, data
570
600
  def FuzzyMeasureFitLPKinteractiveMarginal(datanum, additive, env, K, submod, dataset):
571
601
  trace( "void py_FuzzyMeasureFitLPKinteractiveMarginal(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int submod)")
572
602
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
573
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
574
- 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)
575
605
  fm.py_FuzzyMeasureFitLPKinteractiveMarginal( datanum, additive, env, pout_v, pdataset, pK, submod)
576
606
  return pout_vnp
577
607
 
@@ -579,9 +609,9 @@ def FuzzyMeasureFitLPKinteractiveMarginal(datanum, additive, env, K, submod, dat
579
609
  def FuzzyMeasureFitLPKinteractiveMarginalMaxChain(datanum, additive, env, K, maxiters, submod, dataset):
580
610
  trace( "void py_FuzzyMeasureFitLPKinteractiveMarginalMaxChain(int datanum, int additive, struct fm_env* env, double* out_v, double* dataset, double* K, int* maxiters, int submod)")
581
611
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
582
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
583
- pKnp, pK = convert_py_float_to_cffi( K)
584
- 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)
585
615
  fm.py_FuzzyMeasureFitLPKinteractiveMarginalMaxChain( datanum, additive, env, pout_v, pdataset, pK, pmaxiters, submod)
586
616
  return pout_vnp
587
617
 
@@ -590,12 +620,12 @@ def FuzzyMeasureFitLPKinteractiveMarginalMaxChain(datanum, additive, env, K, max
590
620
  def FuzzyMeasureFitLP(datanum, additive, env, options, indexlow, indexhihg, option1, orness, dataset):
591
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)")
592
622
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
593
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
594
- poptionsnp, poptions = convert_py_int_to_cffi( options)
595
- pindexlownp, pindexlow = convert_py_float_to_cffi( indexlow)
596
- pindexhihgnp, pindexhihg = convert_py_float_to_cffi( indexhihg)
597
- poption1np, poption1 = convert_py_int_to_cffi( option1)
598
- 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)
599
629
  fm.py_FuzzyMeasureFitLP( datanum, additive, env, pout_v, pdataset, poptions, pindexlow, pindexhihg, poption1, porness)
600
630
  return pout_vnp
601
631
 
@@ -604,12 +634,12 @@ def FuzzyMeasureFitLP(datanum, additive, env, options, indexlow, indexhihg, opti
604
634
  def FuzzyMeasureFitLPMob(datanum, additive, env, options, indexlow, indexhihg, option1, orness, dataset):
605
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)")
606
636
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
607
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
608
- poptionsnp, poptions = convert_py_int_to_cffi( options)
609
- pindexlownp, pindexlow = convert_py_float_to_cffi( indexlow)
610
- pindexhihgnp, pindexhihg = convert_py_float_to_cffi( indexhihg)
611
- poption1np, poption1 = convert_py_int_to_cffi( option1)
612
- 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)
613
643
  fm.py_FuzzyMeasureFitLPMob( datanum, additive, env, pout_v, pdataset, poptions, pindexlow, pindexhihg, poption1, porness)
614
644
  return pout_vnp
615
645
 
@@ -618,7 +648,7 @@ def FuzzyMeasureFitLPMob(datanum, additive, env, options, indexlow, indexhihg, o
618
648
  def fittingOWA(datanum, env, dataset):
619
649
  trace( "void py_fittingOWA(int datanum, struct fm_env* env, double* out_v, double* dataset)")
620
650
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
621
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
651
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
622
652
  fm.py_fittingOWA( datanum, env, pout_v, pdataset)
623
653
  return pout_vnp, dataset
624
654
 
@@ -627,7 +657,7 @@ def fittingOWA(datanum, env, dataset):
627
657
  def fittingWAM(datanum, env, dataset):
628
658
  trace( "void py_fittingWAM(int datanum, struct fm_env* env, double* out_v, double* dataset)")
629
659
  pout_vnp, pout_v = create_float_zeros_as_CFFI_double( env.m)
630
- pdatasetnp, pdataset = convert_py_float_to_cffi( dataset)
660
+ pdatasetnp, pdataset = convert_py_float_to_cffi_cont( dataset)
631
661
  fm.py_fittingWAM( datanum, env, pout_v, pdataset)
632
662
  return pout_vnp
633
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