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