ngsolve 6.2.2506.post73.dev0__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2506.post74.dev0__cp313-cp313-macosx_10_15_universal2.whl

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.

Potentially problematic release.


This version of ngsolve might be problematic. Click here for more details.

Files changed (66) hide show
  1. netgen/libngbla.dylib +0 -0
  2. netgen/libngcomp.dylib +0 -0
  3. netgen/libngfem.dylib +0 -0
  4. netgen/libngla.dylib +0 -0
  5. netgen/libngsbem.dylib +0 -0
  6. netgen/libngsolve.dylib +0 -0
  7. netgen/libngstd.dylib +0 -0
  8. ngsolve/__init__.pyi +59 -59
  9. ngsolve/bla.pyi +150 -95
  10. ngsolve/cmake/NGSolveConfig.cmake +5 -5
  11. ngsolve/comp/__init__.pyi +386 -102
  12. ngsolve/comp/pml.pyi +4 -1
  13. ngsolve/config/__init__.pyi +6 -6
  14. ngsolve/config/config.py +5 -5
  15. ngsolve/config/config.pyi +6 -6
  16. ngsolve/directsolvers.pyi +1 -1
  17. ngsolve/eigenvalues.pyi +4 -4
  18. ngsolve/fem.pyi +194 -110
  19. ngsolve/krylovspace.pyi +12 -12
  20. ngsolve/la.pyi +250 -87
  21. ngsolve/ngslib.so +0 -0
  22. ngsolve/ngstd.pyi +23 -4
  23. ngsolve/nonlinearsolvers.pyi +3 -3
  24. ngsolve/solve.pyi +7 -6
  25. ngsolve/solve_implementation.pyi +1 -1
  26. ngsolve/timestepping.pyi +3 -3
  27. ngsolve/timing.pyi +1 -1
  28. ngsolve/utils.pyi +71 -71
  29. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post74.dev0.dist-info}/METADATA +2 -2
  30. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post74.dev0.dist-info}/RECORD +66 -66
  31. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/Netgen.icns +0 -0
  32. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/bin/ngscxx +0 -0
  33. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/bin/ngsld +0 -0
  34. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/bin/ngsolve.tcl +0 -0
  35. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/bin/ngspy +0 -0
  36. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/beam.geo +0 -0
  37. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/beam.vol +0 -0
  38. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/chip.in2d +0 -0
  39. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/chip.vol +0 -0
  40. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/coil.geo +0 -0
  41. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/coil.vol +0 -0
  42. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/coilshield.geo +0 -0
  43. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/coilshield.vol +0 -0
  44. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/cube.geo +0 -0
  45. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/cube.vol +0 -0
  46. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
  47. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
  48. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d1_square.pde +0 -0
  49. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d2_chip.pde +0 -0
  50. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
  51. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d4_cube.pde +0 -0
  52. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d5_beam.pde +0 -0
  53. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d6_shaft.pde +0 -0
  54. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d7_coil.pde +0 -0
  55. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
  56. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
  57. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
  58. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/doubleglazing.vol +0 -0
  59. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
  60. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/shaft.geo +0 -0
  61. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/shaft.vol +0 -0
  62. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/square.in2d +0 -0
  63. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post74.dev0.data}/data/share/ngsolve/square.vol +0 -0
  64. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post74.dev0.dist-info}/LICENSE +0 -0
  65. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post74.dev0.dist-info}/WHEEL +0 -0
  66. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post74.dev0.dist-info}/top_level.txt +0 -0
ngsolve/bla.pyi CHANGED
@@ -2,11 +2,15 @@
2
2
  pybind bla
3
3
  """
4
4
  from __future__ import annotations
5
+ import collections.abc
5
6
  import numpy
7
+ import numpy.typing
6
8
  import typing
7
- import typing_extensions
8
9
  __all__ = ['CheckPerformance', 'FlatMatrixC', 'FlatMatrixD', 'FlatVectorC', 'FlatVectorD', 'InnerProduct', 'Mat2C', 'Mat2D', 'Mat3C', 'Mat3D', 'Matrix', 'MatrixC', 'MatrixD', 'Norm', 'SliceVectorC', 'SliceVectorD', 'SparseVector', 'Vec1D', 'Vec2D', 'Vec3D', 'Vector', 'VectorC', 'VectorD']
9
10
  class FlatMatrixC:
11
+ @staticmethod
12
+ def _pybind11_conduit_v1_(*args, **kwargs):
13
+ ...
10
14
  @typing.overload
11
15
  def Height(self) -> int:
12
16
  """
@@ -51,7 +55,7 @@ class FlatMatrixC:
51
55
  def __getitem__(self, arg0: tuple) -> typing.Any:
52
56
  ...
53
57
  @typing.overload
54
- def __getitem__(self, arg0: int) -> VectorC:
58
+ def __getitem__(self, arg0: typing.SupportsInt) -> VectorC:
55
59
  ...
56
60
  @typing.overload
57
61
  def __getitem__(self, arg0: slice) -> ...:
@@ -86,7 +90,7 @@ class FlatMatrixC:
86
90
  def __mul__(self, vec: FlatVectorD) -> VectorC:
87
91
  ...
88
92
  @typing.overload
89
- def __mul__(self, value: float) -> ...:
93
+ def __mul__(self, value: typing.SupportsFloat) -> ...:
90
94
  ...
91
95
  def __neg__(self) -> ...:
92
96
  ...
@@ -105,7 +109,7 @@ class FlatMatrixC:
105
109
  def __rmul__(self, mat: FlatMatrixD) -> ...:
106
110
  ...
107
111
  @typing.overload
108
- def __rmul__(self, value: float) -> ...:
112
+ def __rmul__(self, value: typing.SupportsFloat) -> ...:
109
113
  ...
110
114
  def __rsub__(self, mat: FlatMatrixD) -> ...:
111
115
  ...
@@ -119,10 +123,10 @@ class FlatMatrixC:
119
123
  def __setitem__(self, arg0: tuple, arg1: FlatVectorC) -> None:
120
124
  ...
121
125
  @typing.overload
122
- def __setitem__(self, arg0: int, arg1: VectorC) -> None:
126
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: VectorC) -> None:
123
127
  ...
124
128
  @typing.overload
125
- def __setitem__(self, arg0: int, arg1: complex) -> None:
129
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: complex) -> None:
126
130
  ...
127
131
  @typing.overload
128
132
  def __setitem__(self, arg0: slice, arg1: FlatMatrixC) -> None:
@@ -183,6 +187,9 @@ class FlatMatrixC:
183
187
  Width of the matrix
184
188
  """
185
189
  class FlatMatrixD:
190
+ @staticmethod
191
+ def _pybind11_conduit_v1_(*args, **kwargs):
192
+ ...
186
193
  def Height(self) -> int:
187
194
  """
188
195
  Return height of matrix
@@ -213,14 +220,14 @@ class FlatMatrixD:
213
220
  def __getitem__(self, arg0: tuple) -> typing.Any:
214
221
  ...
215
222
  @typing.overload
216
- def __getitem__(self, arg0: int) -> VectorD:
223
+ def __getitem__(self, arg0: typing.SupportsInt) -> VectorD:
217
224
  ...
218
225
  @typing.overload
219
226
  def __getitem__(self, arg0: slice) -> ...:
220
227
  ...
221
228
  def __iadd__(self, arg0: FlatMatrixD) -> FlatMatrixD:
222
229
  ...
223
- def __imul__(self, arg0: float) -> FlatMatrixD:
230
+ def __imul__(self, arg0: typing.SupportsFloat) -> FlatMatrixD:
224
231
  ...
225
232
  def __isub__(self, arg0: FlatMatrixD) -> ...:
226
233
  ...
@@ -235,7 +242,7 @@ class FlatMatrixD:
235
242
  def __mul__(self, vec: FlatVectorD) -> VectorD:
236
243
  ...
237
244
  @typing.overload
238
- def __mul__(self, values: float) -> ...:
245
+ def __mul__(self, values: typing.SupportsFloat) -> ...:
239
246
  ...
240
247
  def __neg__(self) -> ...:
241
248
  ...
@@ -245,28 +252,28 @@ class FlatMatrixD:
245
252
  """
246
253
  def __repr__(self) -> str:
247
254
  ...
248
- def __rmul__(self, value: float) -> ...:
255
+ def __rmul__(self, value: typing.SupportsFloat) -> ...:
249
256
  ...
250
257
  @typing.overload
251
258
  def __setitem__(self, arg0: tuple, arg1: FlatMatrixD) -> None:
252
259
  ...
253
260
  @typing.overload
254
- def __setitem__(self, arg0: tuple, arg1: float) -> None:
261
+ def __setitem__(self, arg0: tuple, arg1: typing.SupportsFloat) -> None:
255
262
  ...
256
263
  @typing.overload
257
264
  def __setitem__(self, arg0: tuple, arg1: FlatVectorD) -> None:
258
265
  ...
259
266
  @typing.overload
260
- def __setitem__(self, arg0: int, arg1: VectorD) -> None:
267
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: VectorD) -> None:
261
268
  ...
262
269
  @typing.overload
263
- def __setitem__(self, arg0: int, arg1: float) -> None:
270
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: typing.SupportsFloat) -> None:
264
271
  ...
265
272
  @typing.overload
266
273
  def __setitem__(self, arg0: slice, arg1: FlatMatrixD) -> None:
267
274
  ...
268
275
  @typing.overload
269
- def __setitem__(self, arg0: slice, arg1: float) -> None:
276
+ def __setitem__(self, arg0: slice, arg1: typing.SupportsFloat) -> None:
270
277
  ...
271
278
  def __str__(self) -> str:
272
279
  ...
@@ -320,7 +327,10 @@ class FlatMatrixD:
320
327
  Width of the matrix
321
328
  """
322
329
  class FlatVectorC:
323
- def Get(self, pos: int) -> complex:
330
+ @staticmethod
331
+ def _pybind11_conduit_v1_(*args, **kwargs):
332
+ ...
333
+ def Get(self, pos: typing.SupportsInt) -> complex:
324
334
  """
325
335
  Return value at given position
326
336
  """
@@ -336,9 +346,9 @@ class FlatVectorC:
336
346
  """
337
347
  Return NumPy object
338
348
  """
339
- def Range(self, arg0: int, arg1: int) -> FlatVectorC:
349
+ def Range(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> FlatVectorC:
340
350
  ...
341
- def Set(self, pos: int, value: complex) -> None:
351
+ def Set(self, pos: typing.SupportsInt, value: complex) -> None:
342
352
  """
343
353
  Set value at given position
344
354
  """
@@ -349,7 +359,7 @@ class FlatVectorC:
349
359
  Return a buffer object that exposes the underlying memory of the object.
350
360
  """
351
361
  @typing.overload
352
- def __getitem__(self, pos: int) -> complex:
362
+ def __getitem__(self, pos: typing.SupportsInt) -> complex:
353
363
  """
354
364
  Return value at given position
355
365
  """
@@ -369,13 +379,13 @@ class FlatVectorC:
369
379
  def __imul__(self, arg0: complex) -> FlatVectorC:
370
380
  ...
371
381
  @typing.overload
372
- def __imul__(self, arg0: float) -> FlatVectorC:
382
+ def __imul__(self, arg0: typing.SupportsFloat) -> FlatVectorC:
373
383
  ...
374
- def __init__(self, arg0: int, arg1: complex) -> None:
384
+ def __init__(self, arg0: typing.SupportsInt, arg1: complex) -> None:
375
385
  ...
376
386
  def __isub__(self, arg0: FlatVectorC) -> ...:
377
387
  ...
378
- def __iter__(self) -> typing.Iterator[complex]:
388
+ def __iter__(self) -> collections.abc.Iterator[complex]:
379
389
  ...
380
390
  def __len__(self) -> int:
381
391
  """
@@ -394,7 +404,7 @@ class FlatVectorC:
394
404
  def __rmul__(self, value: complex) -> ...:
395
405
  ...
396
406
  @typing.overload
397
- def __setitem__(self, pos: int, value: complex) -> None:
407
+ def __setitem__(self, pos: typing.SupportsInt, value: complex) -> None:
398
408
  """
399
409
  Set value at given position
400
410
  """
@@ -409,7 +419,7 @@ class FlatVectorC:
409
419
  Set value at given positions
410
420
  """
411
421
  @typing.overload
412
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.complex128]) -> None:
422
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.complex128]) -> None:
413
423
  """
414
424
  Set value at given positions
415
425
  """
@@ -421,16 +431,19 @@ class FlatVectorC:
421
431
  def imag(self) -> ...:
422
432
  ...
423
433
  @imag.setter
424
- def imag(self, arg1: float) -> None:
434
+ def imag(self, arg1: typing.SupportsFloat) -> None:
425
435
  ...
426
436
  @property
427
437
  def real(self) -> ...:
428
438
  ...
429
439
  @real.setter
430
- def real(self, arg1: float) -> None:
440
+ def real(self, arg1: typing.SupportsFloat) -> None:
431
441
  ...
432
442
  class FlatVectorD:
433
- def Get(self, pos: int) -> float:
443
+ @staticmethod
444
+ def _pybind11_conduit_v1_(*args, **kwargs):
445
+ ...
446
+ def Get(self, pos: typing.SupportsInt) -> float:
434
447
  """
435
448
  Return value at given position
436
449
  """
@@ -448,9 +461,9 @@ class FlatVectorD:
448
461
  """
449
462
  Return NumPy object
450
463
  """
451
- def Range(self, arg0: int, arg1: int) -> FlatVectorD:
464
+ def Range(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> FlatVectorD:
452
465
  ...
453
- def Set(self, pos: int, value: float) -> None:
466
+ def Set(self, pos: typing.SupportsInt, value: typing.SupportsFloat) -> None:
454
467
  """
455
468
  Set value at given position
456
469
  """
@@ -461,7 +474,7 @@ class FlatVectorD:
461
474
  Return a buffer object that exposes the underlying memory of the object.
462
475
  """
463
476
  @typing.overload
464
- def __getitem__(self, pos: int) -> float:
477
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
465
478
  """
466
479
  Return value at given position
467
480
  """
@@ -477,19 +490,19 @@ class FlatVectorD:
477
490
  """
478
491
  def __iadd__(self, arg0: FlatVectorD) -> FlatVectorD:
479
492
  ...
480
- def __imul__(self, arg0: float) -> FlatVectorD:
493
+ def __imul__(self, arg0: typing.SupportsFloat) -> FlatVectorD:
481
494
  ...
482
- def __init__(self, arg0: int, arg1: float) -> None:
495
+ def __init__(self, arg0: typing.SupportsInt, arg1: typing.SupportsFloat) -> None:
483
496
  ...
484
497
  def __isub__(self, arg0: FlatVectorD) -> ...:
485
498
  ...
486
- def __iter__(self) -> typing.Iterator[float]:
499
+ def __iter__(self) -> collections.abc.Iterator[float]:
487
500
  ...
488
501
  def __len__(self) -> int:
489
502
  """
490
503
  Return length of the array
491
504
  """
492
- def __mul__(self, value: float) -> ...:
505
+ def __mul__(self, value: typing.SupportsFloat) -> ...:
493
506
  ...
494
507
  def __neg__(self) -> ...:
495
508
  ...
@@ -499,10 +512,10 @@ class FlatVectorD:
499
512
  """
500
513
  def __repr__(self) -> str:
501
514
  ...
502
- def __rmul__(self, value: float) -> ...:
515
+ def __rmul__(self, value: typing.SupportsFloat) -> ...:
503
516
  ...
504
517
  @typing.overload
505
- def __setitem__(self, pos: int, value: float) -> None:
518
+ def __setitem__(self, pos: typing.SupportsInt, value: typing.SupportsFloat) -> None:
506
519
  """
507
520
  Set value at given position
508
521
  """
@@ -512,12 +525,12 @@ class FlatVectorD:
512
525
  Set values at given positions
513
526
  """
514
527
  @typing.overload
515
- def __setitem__(self, inds: slice, value: float) -> None:
528
+ def __setitem__(self, inds: slice, value: typing.SupportsFloat) -> None:
516
529
  """
517
530
  Set value at given positions
518
531
  """
519
532
  @typing.overload
520
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.float64]) -> None:
533
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None:
521
534
  """
522
535
  Set value at given positions
523
536
  """
@@ -526,6 +539,9 @@ class FlatVectorD:
526
539
  def __sub__(self, vec: FlatVectorD) -> ...:
527
540
  ...
528
541
  class Mat2C:
542
+ @staticmethod
543
+ def _pybind11_conduit_v1_(*args, **kwargs):
544
+ ...
529
545
  def NumPy(self) -> typing.Any:
530
546
  """
531
547
  Return NumPy object
@@ -541,6 +557,9 @@ class Mat2C:
541
557
  Release the buffer object that exposes the underlying memory of the object.
542
558
  """
543
559
  class Mat2D:
560
+ @staticmethod
561
+ def _pybind11_conduit_v1_(*args, **kwargs):
562
+ ...
544
563
  def NumPy(self) -> typing.Any:
545
564
  """
546
565
  Return NumPy object
@@ -556,6 +575,9 @@ class Mat2D:
556
575
  Release the buffer object that exposes the underlying memory of the object.
557
576
  """
558
577
  class Mat3C:
578
+ @staticmethod
579
+ def _pybind11_conduit_v1_(*args, **kwargs):
580
+ ...
559
581
  def NumPy(self) -> typing.Any:
560
582
  """
561
583
  Return NumPy object
@@ -571,6 +593,9 @@ class Mat3C:
571
593
  Release the buffer object that exposes the underlying memory of the object.
572
594
  """
573
595
  class Mat3D:
596
+ @staticmethod
597
+ def _pybind11_conduit_v1_(*args, **kwargs):
598
+ ...
574
599
  def NumPy(self) -> typing.Any:
575
600
  """
576
601
  Return NumPy object
@@ -586,6 +611,9 @@ class Mat3D:
586
611
  Release the buffer object that exposes the underlying memory of the object.
587
612
  """
588
613
  class MatrixC(FlatMatrixC):
614
+ @staticmethod
615
+ def _pybind11_conduit_v1_(*args, **kwargs):
616
+ ...
589
617
  def NumPy(self) -> typing.Any:
590
618
  """
591
619
  Return NumPy object
@@ -598,7 +626,7 @@ class MatrixC(FlatMatrixC):
598
626
  ...
599
627
  def __imul__(self, arg0: complex) -> MatrixC:
600
628
  ...
601
- def __init__(self, n: int, m: int) -> None:
629
+ def __init__(self, n: typing.SupportsInt, m: typing.SupportsInt) -> None:
602
630
  """
603
631
  Makes matrix of dimension n x m
604
632
  """
@@ -609,6 +637,9 @@ class MatrixC(FlatMatrixC):
609
637
  Release the buffer object that exposes the underlying memory of the object.
610
638
  """
611
639
  class MatrixD(FlatMatrixD):
640
+ @staticmethod
641
+ def _pybind11_conduit_v1_(*args, **kwargs):
642
+ ...
612
643
  def NumPy(self) -> typing.Any:
613
644
  """
614
645
  Return NumPy object
@@ -619,9 +650,9 @@ class MatrixD(FlatMatrixD):
619
650
  """
620
651
  def __iadd__(self, arg0: MatrixD) -> MatrixD:
621
652
  ...
622
- def __imul__(self, arg0: float) -> MatrixD:
653
+ def __imul__(self, arg0: typing.SupportsFloat) -> MatrixD:
623
654
  ...
624
- def __init__(self, n: int, m: int) -> None:
655
+ def __init__(self, n: typing.SupportsInt, m: typing.SupportsInt) -> None:
625
656
  """
626
657
  Makes matrix of dimension n x m
627
658
  """
@@ -632,7 +663,10 @@ class MatrixD(FlatMatrixD):
632
663
  Release the buffer object that exposes the underlying memory of the object.
633
664
  """
634
665
  class SliceVectorC:
635
- def Get(self, pos: int) -> complex:
666
+ @staticmethod
667
+ def _pybind11_conduit_v1_(*args, **kwargs):
668
+ ...
669
+ def Get(self, pos: typing.SupportsInt) -> complex:
636
670
  """
637
671
  Return value at given position
638
672
  """
@@ -648,9 +682,9 @@ class SliceVectorC:
648
682
  """
649
683
  Return NumPy object
650
684
  """
651
- def Range(self, arg0: int, arg1: int) -> SliceVectorC:
685
+ def Range(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> SliceVectorC:
652
686
  ...
653
- def Set(self, pos: int, value: complex) -> None:
687
+ def Set(self, pos: typing.SupportsInt, value: complex) -> None:
654
688
  """
655
689
  Set value at given position
656
690
  """
@@ -661,7 +695,7 @@ class SliceVectorC:
661
695
  Return a buffer object that exposes the underlying memory of the object.
662
696
  """
663
697
  @typing.overload
664
- def __getitem__(self, pos: int) -> complex:
698
+ def __getitem__(self, pos: typing.SupportsInt) -> complex:
665
699
  """
666
700
  Return value at given position
667
701
  """
@@ -681,11 +715,11 @@ class SliceVectorC:
681
715
  def __imul__(self, arg0: complex) -> SliceVectorC:
682
716
  ...
683
717
  @typing.overload
684
- def __imul__(self, arg0: float) -> SliceVectorC:
718
+ def __imul__(self, arg0: typing.SupportsFloat) -> SliceVectorC:
685
719
  ...
686
720
  def __isub__(self, arg0: SliceVectorC) -> ...:
687
721
  ...
688
- def __iter__(self) -> typing.Iterator[complex]:
722
+ def __iter__(self) -> collections.abc.Iterator[complex]:
689
723
  ...
690
724
  def __len__(self) -> int:
691
725
  """
@@ -704,7 +738,7 @@ class SliceVectorC:
704
738
  def __rmul__(self, value: complex) -> ...:
705
739
  ...
706
740
  @typing.overload
707
- def __setitem__(self, pos: int, value: complex) -> None:
741
+ def __setitem__(self, pos: typing.SupportsInt, value: complex) -> None:
708
742
  """
709
743
  Set value at given position
710
744
  """
@@ -719,7 +753,7 @@ class SliceVectorC:
719
753
  Set value at given positions
720
754
  """
721
755
  @typing.overload
722
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.complex128]) -> None:
756
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.complex128]) -> None:
723
757
  """
724
758
  Set value at given positions
725
759
  """
@@ -728,7 +762,10 @@ class SliceVectorC:
728
762
  def __sub__(self, vec: SliceVectorC) -> ...:
729
763
  ...
730
764
  class SliceVectorD:
731
- def Get(self, pos: int) -> float:
765
+ @staticmethod
766
+ def _pybind11_conduit_v1_(*args, **kwargs):
767
+ ...
768
+ def Get(self, pos: typing.SupportsInt) -> float:
732
769
  """
733
770
  Return value at given position
734
771
  """
@@ -746,9 +783,9 @@ class SliceVectorD:
746
783
  """
747
784
  Return NumPy object
748
785
  """
749
- def Range(self, arg0: int, arg1: int) -> SliceVectorD:
786
+ def Range(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> SliceVectorD:
750
787
  ...
751
- def Set(self, pos: int, value: float) -> None:
788
+ def Set(self, pos: typing.SupportsInt, value: typing.SupportsFloat) -> None:
752
789
  """
753
790
  Set value at given position
754
791
  """
@@ -759,7 +796,7 @@ class SliceVectorD:
759
796
  Return a buffer object that exposes the underlying memory of the object.
760
797
  """
761
798
  @typing.overload
762
- def __getitem__(self, pos: int) -> float:
799
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
763
800
  """
764
801
  Return value at given position
765
802
  """
@@ -775,19 +812,19 @@ class SliceVectorD:
775
812
  """
776
813
  def __iadd__(self, arg0: SliceVectorD) -> SliceVectorD:
777
814
  ...
778
- def __imul__(self, arg0: float) -> SliceVectorD:
815
+ def __imul__(self, arg0: typing.SupportsFloat) -> SliceVectorD:
779
816
  ...
780
817
  def __init__(self, arg0: FlatVectorD) -> None:
781
818
  ...
782
819
  def __isub__(self, arg0: SliceVectorD) -> ...:
783
820
  ...
784
- def __iter__(self) -> typing.Iterator[float]:
821
+ def __iter__(self) -> collections.abc.Iterator[float]:
785
822
  ...
786
823
  def __len__(self) -> int:
787
824
  """
788
825
  Return length of the array
789
826
  """
790
- def __mul__(self, value: float) -> ...:
827
+ def __mul__(self, value: typing.SupportsFloat) -> ...:
791
828
  ...
792
829
  def __neg__(self) -> ...:
793
830
  ...
@@ -797,10 +834,10 @@ class SliceVectorD:
797
834
  """
798
835
  def __repr__(self) -> str:
799
836
  ...
800
- def __rmul__(self, value: float) -> ...:
837
+ def __rmul__(self, value: typing.SupportsFloat) -> ...:
801
838
  ...
802
839
  @typing.overload
803
- def __setitem__(self, pos: int, value: float) -> None:
840
+ def __setitem__(self, pos: typing.SupportsInt, value: typing.SupportsFloat) -> None:
804
841
  """
805
842
  Set value at given position
806
843
  """
@@ -810,12 +847,12 @@ class SliceVectorD:
810
847
  Set values at given positions
811
848
  """
812
849
  @typing.overload
813
- def __setitem__(self, inds: slice, value: float) -> None:
850
+ def __setitem__(self, inds: slice, value: typing.SupportsFloat) -> None:
814
851
  """
815
852
  Set value at given positions
816
853
  """
817
854
  @typing.overload
818
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.float64]) -> None:
855
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None:
819
856
  """
820
857
  Set value at given positions
821
858
  """
@@ -824,18 +861,24 @@ class SliceVectorD:
824
861
  def __sub__(self, vec: SliceVectorD) -> ...:
825
862
  ...
826
863
  class SparseVector:
864
+ @staticmethod
865
+ def _pybind11_conduit_v1_(*args, **kwargs):
866
+ ...
827
867
  def InnerProduct(self, arg0: FlatVectorD) -> float:
828
868
  ...
829
- def __getitem__(self, arg0: int) -> float:
869
+ def __getitem__(self, arg0: typing.SupportsInt) -> float:
830
870
  ...
831
- def __init__(self, arg0: int) -> None:
871
+ def __init__(self, arg0: typing.SupportsInt) -> None:
832
872
  ...
833
- def __setitem__(self, arg0: int, arg1: float) -> None:
873
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: typing.SupportsFloat) -> None:
834
874
  ...
835
875
  def __str__(self) -> str:
836
876
  ...
837
877
  class Vec1D:
838
- def Get(self, pos: int) -> float:
878
+ @staticmethod
879
+ def _pybind11_conduit_v1_(*args, **kwargs):
880
+ ...
881
+ def Get(self, pos: typing.SupportsInt) -> float:
839
882
  """
840
883
  Return value at given position
841
884
  """
@@ -860,15 +903,15 @@ class Vec1D:
860
903
  Return values at given positions
861
904
  """
862
905
  @typing.overload
863
- def __getitem__(self, pos: int) -> float:
906
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
864
907
  """
865
908
  Return value at given position
866
909
  """
867
- def __mul__(self, value: float) -> Vec1D:
910
+ def __mul__(self, value: typing.SupportsFloat) -> Vec1D:
868
911
  ...
869
912
  def __neg__(self) -> Vec1D:
870
913
  ...
871
- def __rmul__(self, value: float) -> Vec1D:
914
+ def __rmul__(self, value: typing.SupportsFloat) -> Vec1D:
872
915
  ...
873
916
  @typing.overload
874
917
  def __setitem__(self, inds: slice, rv: Vec1D) -> None:
@@ -876,19 +919,22 @@ class Vec1D:
876
919
  Set values at given positions
877
920
  """
878
921
  @typing.overload
879
- def __setitem__(self, inds: slice, value: float) -> None:
922
+ def __setitem__(self, inds: slice, value: typing.SupportsFloat) -> None:
880
923
  """
881
924
  Set value at given positions
882
925
  """
883
926
  @typing.overload
884
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.float64]) -> None:
927
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None:
885
928
  """
886
929
  Set value at given positions
887
930
  """
888
931
  def __sub__(self, vec: Vec1D) -> Vec1D:
889
932
  ...
890
933
  class Vec2D:
891
- def Get(self, pos: int) -> float:
934
+ @staticmethod
935
+ def _pybind11_conduit_v1_(*args, **kwargs):
936
+ ...
937
+ def Get(self, pos: typing.SupportsInt) -> float:
892
938
  """
893
939
  Return value at given position
894
940
  """
@@ -913,21 +959,21 @@ class Vec2D:
913
959
  Return values at given positions
914
960
  """
915
961
  @typing.overload
916
- def __getitem__(self, pos: int) -> float:
962
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
917
963
  """
918
964
  Return value at given position
919
965
  """
920
966
  @typing.overload
921
- def __init__(self, arg0: float, arg1: float) -> None:
967
+ def __init__(self, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat) -> None:
922
968
  ...
923
969
  @typing.overload
924
970
  def __init__(self, t: tuple) -> None:
925
971
  ...
926
- def __mul__(self, value: float) -> Vec2D:
972
+ def __mul__(self, value: typing.SupportsFloat) -> Vec2D:
927
973
  ...
928
974
  def __neg__(self) -> Vec2D:
929
975
  ...
930
- def __rmul__(self, value: float) -> Vec2D:
976
+ def __rmul__(self, value: typing.SupportsFloat) -> Vec2D:
931
977
  ...
932
978
  @typing.overload
933
979
  def __setitem__(self, inds: slice, rv: Vec2D) -> None:
@@ -935,19 +981,22 @@ class Vec2D:
935
981
  Set values at given positions
936
982
  """
937
983
  @typing.overload
938
- def __setitem__(self, inds: slice, value: float) -> None:
984
+ def __setitem__(self, inds: slice, value: typing.SupportsFloat) -> None:
939
985
  """
940
986
  Set value at given positions
941
987
  """
942
988
  @typing.overload
943
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.float64]) -> None:
989
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None:
944
990
  """
945
991
  Set value at given positions
946
992
  """
947
993
  def __sub__(self, vec: Vec2D) -> Vec2D:
948
994
  ...
949
995
  class Vec3D:
950
- def Get(self, pos: int) -> float:
996
+ @staticmethod
997
+ def _pybind11_conduit_v1_(*args, **kwargs):
998
+ ...
999
+ def Get(self, pos: typing.SupportsInt) -> float:
951
1000
  """
952
1001
  Return value at given position
953
1002
  """
@@ -972,21 +1021,21 @@ class Vec3D:
972
1021
  Return values at given positions
973
1022
  """
974
1023
  @typing.overload
975
- def __getitem__(self, pos: int) -> float:
1024
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
976
1025
  """
977
1026
  Return value at given position
978
1027
  """
979
1028
  @typing.overload
980
- def __init__(self, arg0: float, arg1: float, arg2: float) -> None:
1029
+ def __init__(self, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat) -> None:
981
1030
  ...
982
1031
  @typing.overload
983
1032
  def __init__(self, t: tuple) -> None:
984
1033
  ...
985
- def __mul__(self, value: float) -> Vec3D:
1034
+ def __mul__(self, value: typing.SupportsFloat) -> Vec3D:
986
1035
  ...
987
1036
  def __neg__(self) -> Vec3D:
988
1037
  ...
989
- def __rmul__(self, value: float) -> Vec3D:
1038
+ def __rmul__(self, value: typing.SupportsFloat) -> Vec3D:
990
1039
  ...
991
1040
  @typing.overload
992
1041
  def __setitem__(self, inds: slice, rv: Vec3D) -> None:
@@ -994,18 +1043,21 @@ class Vec3D:
994
1043
  Set values at given positions
995
1044
  """
996
1045
  @typing.overload
997
- def __setitem__(self, inds: slice, value: float) -> None:
1046
+ def __setitem__(self, inds: slice, value: typing.SupportsFloat) -> None:
998
1047
  """
999
1048
  Set value at given positions
1000
1049
  """
1001
1050
  @typing.overload
1002
- def __setitem__(self, inds: slice, value: numpy.ndarray[numpy.float64]) -> None:
1051
+ def __setitem__(self, inds: slice, value: typing.Annotated[numpy.typing.ArrayLike, numpy.float64]) -> None:
1003
1052
  """
1004
1053
  Set value at given positions
1005
1054
  """
1006
1055
  def __sub__(self, vec: Vec3D) -> Vec3D:
1007
1056
  ...
1008
1057
  class VectorC(FlatVectorC):
1058
+ @staticmethod
1059
+ def _pybind11_conduit_v1_(*args, **kwargs):
1060
+ ...
1009
1061
  def NumPy(self) -> typing.Any:
1010
1062
  """
1011
1063
  Return NumPy object
@@ -1018,7 +1070,7 @@ class VectorC(FlatVectorC):
1018
1070
  ...
1019
1071
  def __imul__(self, arg0: complex) -> VectorC:
1020
1072
  ...
1021
- def __init__(self, arg0: int) -> None:
1073
+ def __init__(self, arg0: typing.SupportsInt) -> None:
1022
1074
  ...
1023
1075
  def __isub__(self, arg0: VectorC) -> VectorC:
1024
1076
  ...
@@ -1027,6 +1079,9 @@ class VectorC(FlatVectorC):
1027
1079
  Release the buffer object that exposes the underlying memory of the object.
1028
1080
  """
1029
1081
  class VectorD(FlatVectorD):
1082
+ @staticmethod
1083
+ def _pybind11_conduit_v1_(*args, **kwargs):
1084
+ ...
1030
1085
  def NumPy(self) -> typing.Any:
1031
1086
  """
1032
1087
  Return NumPy object
@@ -1037,13 +1092,13 @@ class VectorD(FlatVectorD):
1037
1092
  """
1038
1093
  def __iadd__(self, arg0: VectorD) -> VectorD:
1039
1094
  ...
1040
- def __imul__(self, arg0: float) -> VectorD:
1095
+ def __imul__(self, arg0: typing.SupportsFloat) -> VectorD:
1041
1096
  ...
1042
1097
  @typing.overload
1043
1098
  def __init__(self, arg0: SliceVectorD) -> None:
1044
1099
  ...
1045
1100
  @typing.overload
1046
- def __init__(self, arg0: int) -> None:
1101
+ def __init__(self, arg0: typing.SupportsInt) -> None:
1047
1102
  ...
1048
1103
  def __isub__(self, arg0: VectorD) -> VectorD:
1049
1104
  ...
@@ -1051,14 +1106,14 @@ class VectorD(FlatVectorD):
1051
1106
  """
1052
1107
  Release the buffer object that exposes the underlying memory of the object.
1053
1108
  """
1054
- def CheckPerformance(n: int, m: int, k: int) -> None:
1109
+ def CheckPerformance(n: typing.SupportsInt, m: typing.SupportsInt, k: typing.SupportsInt) -> None:
1055
1110
  ...
1056
1111
  def InnerProduct(x: typing.Any, y: typing.Any, **kwargs) -> typing.Any:
1057
1112
  """
1058
1113
  Compute InnerProduct
1059
1114
  """
1060
1115
  @typing.overload
1061
- def Matrix(height: int, width: int | None = None, complex: bool = False) -> typing.Any:
1116
+ def Matrix(height: typing.SupportsInt, width: typing.SupportsInt | None = None, complex: bool = False) -> typing.Any:
1062
1117
  """
1063
1118
  Creates a matrix of given height and width.
1064
1119
 
@@ -1074,20 +1129,20 @@ def Matrix(height: int, width: int | None = None, complex: bool = False) -> typi
1074
1129
  input complex values
1075
1130
  """
1076
1131
  @typing.overload
1077
- def Matrix(buffer: typing_extensions.Buffer, copy: bool = True) -> typing.Any:
1132
+ def Matrix(buffer: collections.abc.Buffer, copy: bool = True) -> typing.Any:
1078
1133
  ...
1079
1134
  @typing.overload
1080
- def Matrix(arg0: list[list[float]]) -> MatrixD:
1135
+ def Matrix(arg0: collections.abc.Sequence[collections.abc.Sequence[typing.SupportsFloat]]) -> MatrixD:
1081
1136
  ...
1082
1137
  @typing.overload
1083
- def Matrix(arg0: list[list[complex]]) -> MatrixC:
1138
+ def Matrix(arg0: collections.abc.Sequence[collections.abc.Sequence[complex]]) -> MatrixC:
1084
1139
  ...
1085
1140
  def Norm(x: typing.Any) -> typing.Any:
1086
1141
  """
1087
1142
  Compute Norm
1088
1143
  """
1089
1144
  @typing.overload
1090
- def Vector(length: int, complex: bool = False) -> typing.Any:
1145
+ def Vector(length: typing.SupportsInt, complex: bool = False) -> typing.Any:
1091
1146
  """
1092
1147
  Parameters:
1093
1148
 
@@ -1098,15 +1153,15 @@ def Vector(length: int, complex: bool = False) -> typing.Any:
1098
1153
  input complex values
1099
1154
  """
1100
1155
  @typing.overload
1101
- def Vector(buffer: typing_extensions.Buffer, copy: bool = True) -> typing.Any:
1156
+ def Vector(buffer: collections.abc.Buffer, copy: bool = True) -> typing.Any:
1102
1157
  ...
1103
1158
  @typing.overload
1104
- def Vector(arg0: list[float]) -> VectorD:
1159
+ def Vector(arg0: collections.abc.Sequence[typing.SupportsFloat]) -> VectorD:
1105
1160
  ...
1106
1161
  @typing.overload
1107
- def Vector(arg0: list[complex]) -> VectorC:
1162
+ def Vector(arg0: collections.abc.Sequence[complex]) -> VectorC:
1108
1163
  ...
1109
- def __timing__(what: int, n: int, m: int, k: int, lapack: bool = False, doubleprec: bool = True, maxits: int = 10000000000) -> list[tuple[str, float]]:
1164
+ def __timing__(what: typing.SupportsInt, n: typing.SupportsInt, m: typing.SupportsInt, k: typing.SupportsInt, lapack: bool = False, doubleprec: bool = True, maxits: typing.SupportsInt = 10000000000) -> list[tuple[str, float]]:
1110
1165
  """
1111
1166
  Available options timings are:
1112
1167
  -1 .. this help