darmonpoints 8.2__tar.gz → 8.3__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.
- {darmonpoints-8.2/darmonpoints.egg-info → darmonpoints-8.3}/PKG-INFO +1 -1
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic.py +26 -6
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/mixed_extension.c +38 -23
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/padicperiods.py +18 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/schottky.py +6 -5
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/sparse.c +21 -6
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/theta.py +29 -9
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/util.py +18 -16
- {darmonpoints-8.2 → darmonpoints-8.3/darmonpoints.egg-info}/PKG-INFO +1 -1
- {darmonpoints-8.2 → darmonpoints-8.3}/pyproject.toml +1 -1
- {darmonpoints-8.2 → darmonpoints-8.3}/LICENSE +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/MANIFEST.in +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/README.md +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/Fdoms/fdom.gp +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/Fdoms/libfdom.so +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/COPYING +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/README +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/aux.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/aux.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/bianchi.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/bianchi.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/changelog +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/drawing/maple.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/drawing/maple.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/example.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/enumeration.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/enumeration.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/normalizedbasis.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/normalizedbasis.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/presentation.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/presentation.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/reduction.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/reduction.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/basics.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/basics.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/exteriordomains.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/exteriordomains.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/intervals.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/intervals.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/properties.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/properties.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/random.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/random.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/volumes.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/volumes.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/kleinian.m +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/kleinian.sig +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/klngpspec +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/__init__.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/arithgroup.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/arithgroup_element.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/arithgroup_generic.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/arithgroup_nscartan.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/bianchi_lseries.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/cohomology_abstract.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/cohomology_arithmetic.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/darmonpoints.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/darmonvonk.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/divisors.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/findcurve.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/homology.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/homology_abstract.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/integrals.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/limits.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic_debug.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic_list.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic_ps.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic_ps_dlog.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/meromorphic_ps_log.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/mixed_extension.pyx +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/my_p1list_nf.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/ocbianchi.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/ocmodule.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/plectic.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/rationalfunctions.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/representations.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/sarithgroup.py +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/sparse.pyx +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints.egg-info/SOURCES.txt +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints.egg-info/dependency_links.txt +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints.egg-info/top_level.txt +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/setup.cfg +0 -0
- {darmonpoints-8.2 → darmonpoints-8.3}/setup.py +0 -0
|
@@ -116,7 +116,7 @@ class MeromorphicFunctionsElement(ModuleElement):
|
|
|
116
116
|
# ans = fac * (sum(a*phiz**n for n, a in enumerate(self._value[:m]))) / valinf
|
|
117
117
|
# return ans
|
|
118
118
|
|
|
119
|
-
def evaluate(self, D): # meromorphic functions
|
|
119
|
+
def evaluate(self, D, prec = None): # meromorphic functions
|
|
120
120
|
K = self.parent().base_ring()
|
|
121
121
|
if type(D) in (int, Integer):
|
|
122
122
|
D = K(D)
|
|
@@ -125,7 +125,10 @@ class MeromorphicFunctionsElement(ModuleElement):
|
|
|
125
125
|
if isinstance(D.parent(), Divisors):
|
|
126
126
|
return prod(evalpoly(self._value, phi(P)) ** n for P, n in D)
|
|
127
127
|
else:
|
|
128
|
-
|
|
128
|
+
if prec is None:
|
|
129
|
+
return evalpoly(self._value, phi(D))
|
|
130
|
+
else:
|
|
131
|
+
return evalpoly(self._value[:prec], phi(D))
|
|
129
132
|
|
|
130
133
|
def eval_derivative(self, D, return_value=False):
|
|
131
134
|
K = self.parent().base_ring()
|
|
@@ -218,13 +221,28 @@ class MeromorphicFunctionsElement(ModuleElement):
|
|
|
218
221
|
self.parent(), self._value * zz_ps_vec, param, check=False
|
|
219
222
|
)
|
|
220
223
|
|
|
221
|
-
def left_act_by_matrix(self, g, param=None): # meromorphic functions
|
|
224
|
+
def left_act_by_matrix(self, g, param=None, fast=True): # meromorphic functions
|
|
222
225
|
parent = self.parent()
|
|
223
226
|
# Below we code the action which is compatible with the usual action
|
|
224
227
|
# P |-> (aP+b)/(cP+D)
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
+
if fast:
|
|
229
|
+
zz_ps_vec = parent.get_action_data(g, self._parameter, param)
|
|
230
|
+
ans = self._value * zz_ps_vec
|
|
231
|
+
return self.__class__(parent, ans, param, check=False)
|
|
232
|
+
else:
|
|
233
|
+
g.set_immutable()
|
|
234
|
+
K = parent.base_ring()
|
|
235
|
+
prec = parent._prec
|
|
236
|
+
assert param is not None
|
|
237
|
+
tg = param.change_ring(K)
|
|
238
|
+
# abcd = tau_0 g^-1 * tau_1^-1
|
|
239
|
+
a, b, c, d = (self._parameter * (tg * g).adjugate()).list()
|
|
240
|
+
zz = (
|
|
241
|
+
(parent._Ps([b, a]) / parent._Ps([d, c]))
|
|
242
|
+
.map_coefficients(lambda x: x.add_bigoh(prec+1))
|
|
243
|
+
.truncate(prec)
|
|
244
|
+
)
|
|
245
|
+
return evalpoly(self._value, zz)
|
|
228
246
|
|
|
229
247
|
|
|
230
248
|
def divisor_to_pseries(parameter, Ps, data, prec):
|
|
@@ -236,8 +254,10 @@ def divisor_to_pseries(parameter, Ps, data, prec):
|
|
|
236
254
|
K = Q.parent()
|
|
237
255
|
if n > 0:
|
|
238
256
|
num *= (1 - ((c * Q + d) / (a * Q + b)) * t) ** ZZ(n)
|
|
257
|
+
num = num.add_bigoh(prec)
|
|
239
258
|
else:
|
|
240
259
|
den *= (1 - ((c * Q + d) / (a * Q + b)) * t) ** ZZ(-n)
|
|
260
|
+
den = den.add_bigoh(prec)
|
|
241
261
|
ans = Ps(num).add_bigoh(prec) * ~(Ps(den).add_bigoh(prec))
|
|
242
262
|
return ans
|
|
243
263
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -27,8 +27,8 @@ END: Cython Metadata */
|
|
|
27
27
|
#elif PY_VERSION_HEX < 0x03080000
|
|
28
28
|
#error Cython requires Python 3.8+.
|
|
29
29
|
#else
|
|
30
|
-
#define __PYX_ABI_VERSION "
|
|
31
|
-
#define CYTHON_HEX_VERSION
|
|
30
|
+
#define __PYX_ABI_VERSION "3_1_3"
|
|
31
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
32
32
|
#define CYTHON_FUTURE_DIVISION 1
|
|
33
33
|
/* CModulePreamble */
|
|
34
34
|
#include <stddef.h>
|
|
@@ -391,6 +391,9 @@ END: Cython Metadata */
|
|
|
391
391
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
392
392
|
#endif
|
|
393
393
|
#endif
|
|
394
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
395
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
396
|
+
#endif
|
|
394
397
|
#ifndef __has_attribute
|
|
395
398
|
#define __has_attribute(x) 0
|
|
396
399
|
#endif
|
|
@@ -2454,22 +2457,22 @@ static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffs
|
|
|
2454
2457
|
CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t);
|
|
2455
2458
|
|
|
2456
2459
|
/* TypeImport.proto */
|
|
2457
|
-
#ifndef
|
|
2458
|
-
#define
|
|
2460
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2461
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_1_3
|
|
2459
2462
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2460
2463
|
#include <stdalign.h>
|
|
2461
2464
|
#endif
|
|
2462
2465
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2463
|
-
#define
|
|
2466
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) alignof(s)
|
|
2464
2467
|
#else
|
|
2465
|
-
#define
|
|
2468
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_1_3(s) sizeof(void*)
|
|
2466
2469
|
#endif
|
|
2467
|
-
enum
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2470
|
+
enum __Pyx_ImportType_CheckSize_3_1_3 {
|
|
2471
|
+
__Pyx_ImportType_CheckSize_Error_3_1_3 = 0,
|
|
2472
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3 = 1,
|
|
2473
|
+
__Pyx_ImportType_CheckSize_Ignore_3_1_3 = 2
|
|
2471
2474
|
};
|
|
2472
|
-
static PyTypeObject *
|
|
2475
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size);
|
|
2473
2476
|
#endif
|
|
2474
2477
|
|
|
2475
2478
|
/* ListPack.proto */
|
|
@@ -15655,15 +15658,15 @@ static int __Pyx_modinit_type_import_code(__pyx_mstatetype *__pyx_mstate) {
|
|
|
15655
15658
|
/*--- Type import code ---*/
|
|
15656
15659
|
__pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
15657
15660
|
__Pyx_GOTREF(__pyx_t_1);
|
|
15658
|
-
__pyx_mstate->__pyx_ptype_7cpython_4type_type =
|
|
15661
|
+
__pyx_mstate->__pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_1_3(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type",
|
|
15659
15662
|
#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000
|
|
15660
|
-
sizeof(PyTypeObject),
|
|
15663
|
+
sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyTypeObject),
|
|
15661
15664
|
#elif CYTHON_COMPILING_IN_LIMITED_API
|
|
15662
15665
|
0, 0,
|
|
15663
15666
|
#else
|
|
15664
|
-
sizeof(PyHeapTypeObject),
|
|
15667
|
+
sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_1_3(PyHeapTypeObject),
|
|
15665
15668
|
#endif
|
|
15666
|
-
|
|
15669
|
+
__Pyx_ImportType_CheckSize_Warn_3_1_3); if (!__pyx_mstate->__pyx_ptype_7cpython_4type_type) __PYX_ERR(1, 9, __pyx_L1_error)
|
|
15667
15670
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
15668
15671
|
__Pyx_RefNannyFinishContext();
|
|
15669
15672
|
return 0;
|
|
@@ -19351,6 +19354,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
19351
19354
|
changed = 1;
|
|
19352
19355
|
}
|
|
19353
19356
|
#endif // CYTHON_METH_FASTCALL
|
|
19357
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
19354
19358
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
19355
19359
|
PyObject *descr;
|
|
19356
19360
|
assert(memb->type == T_OBJECT);
|
|
@@ -19365,11 +19369,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
19365
19369
|
}
|
|
19366
19370
|
changed = 1;
|
|
19367
19371
|
}
|
|
19372
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
19368
19373
|
}
|
|
19369
19374
|
memb++;
|
|
19370
19375
|
}
|
|
19371
19376
|
}
|
|
19372
19377
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
19378
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
19373
19379
|
slot = spec->slots;
|
|
19374
19380
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
19375
19381
|
slot++;
|
|
@@ -19401,6 +19407,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
19401
19407
|
++getset;
|
|
19402
19408
|
}
|
|
19403
19409
|
}
|
|
19410
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
19404
19411
|
if (changed)
|
|
19405
19412
|
PyType_Modified(type);
|
|
19406
19413
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -19533,7 +19540,7 @@ bad:
|
|
|
19533
19540
|
}
|
|
19534
19541
|
|
|
19535
19542
|
/* CommonTypesMetaclass */
|
|
19536
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
19543
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
19537
19544
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
19538
19545
|
}
|
|
19539
19546
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -21869,6 +21876,13 @@ try_unpack:
|
|
|
21869
21876
|
|
|
21870
21877
|
/* PyObjectCallMethod0 */
|
|
21871
21878
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
21879
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
21880
|
+
PyObject *args[1] = {obj};
|
|
21881
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
21882
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
21883
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
21884
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
21885
|
+
#else
|
|
21872
21886
|
PyObject *method = NULL, *result = NULL;
|
|
21873
21887
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
21874
21888
|
if (likely(is_method)) {
|
|
@@ -21881,6 +21895,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
21881
21895
|
Py_DECREF(method);
|
|
21882
21896
|
bad:
|
|
21883
21897
|
return result;
|
|
21898
|
+
#endif
|
|
21884
21899
|
}
|
|
21885
21900
|
|
|
21886
21901
|
/* ValidateBasesTuple */
|
|
@@ -22054,10 +22069,10 @@ static int __Pyx_PyType_Ready(PyTypeObject *t) {
|
|
|
22054
22069
|
}
|
|
22055
22070
|
|
|
22056
22071
|
/* TypeImport */
|
|
22057
|
-
#ifndef
|
|
22058
|
-
#define
|
|
22059
|
-
static PyTypeObject *
|
|
22060
|
-
size_t size, size_t alignment, enum
|
|
22072
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_1_3
|
|
22073
|
+
#define __PYX_HAVE_RT_ImportType_3_1_3
|
|
22074
|
+
static PyTypeObject *__Pyx_ImportType_3_1_3(PyObject *module, const char *module_name, const char *class_name,
|
|
22075
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_1_3 check_size)
|
|
22061
22076
|
{
|
|
22062
22077
|
PyObject *result = 0;
|
|
22063
22078
|
Py_ssize_t basicsize;
|
|
@@ -22113,7 +22128,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
22113
22128
|
module_name, class_name, size, basicsize+itemsize);
|
|
22114
22129
|
goto bad;
|
|
22115
22130
|
}
|
|
22116
|
-
if (check_size ==
|
|
22131
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_1_3 &&
|
|
22117
22132
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
22118
22133
|
PyErr_Format(PyExc_ValueError,
|
|
22119
22134
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -22121,7 +22136,7 @@ static PyTypeObject *__Pyx_ImportType_3_1_2(PyObject *module, const char *module
|
|
|
22121
22136
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
22122
22137
|
goto bad;
|
|
22123
22138
|
}
|
|
22124
|
-
else if (check_size ==
|
|
22139
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_1_3 && (size_t)basicsize > size) {
|
|
22125
22140
|
if (PyErr_WarnFormat(NULL, 0,
|
|
22126
22141
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
22127
22142
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
This file contains functionality to compute p-adic periods of abelian surfaces of GL2-type.
|
|
3
|
+
|
|
4
|
+
EXAMPLES::
|
|
5
|
+
|
|
6
|
+
sage: from darmonpoints.padicperiods import *
|
|
7
|
+
sage: from darmonpoints.darmonpoints import construct_homology_cycle
|
|
8
|
+
sage: prec = 20
|
|
9
|
+
sage: G = BigArithGroup(5, (1,1), 33, base=QQ, grouptype='PSL2',magma=magma)
|
|
10
|
+
sage: Coh = ArithCoh(G)
|
|
11
|
+
sage: (f0, f1), hecke_data = get_twodim_cocycle(Coh, 1)
|
|
12
|
+
sage: Phi0 = get_overconvergent_class_quaternionic(5, f0, G, prec, 1, 1)
|
|
13
|
+
sage: Phi1 = get_overconvergent_class_quaternionic(5, f1, G, prec, 1, 1)
|
|
14
|
+
sage: beta =
|
|
15
|
+
sage: cycleGn, nn, ell = construct_homology_cycle(5, G, beta, 2*prec, lambda q: Coh.hecke_matrix(q).minpoly(), use_magma=True, magma=magma)
|
|
16
|
+
|
|
17
|
+
'''
|
|
18
|
+
|
|
1
19
|
import configparser
|
|
2
20
|
import datetime
|
|
3
21
|
import os
|
|
@@ -24,6 +24,7 @@ from sage.structure.parent import Parent
|
|
|
24
24
|
from sage.structure.richcmp import richcmp
|
|
25
25
|
from sage.structure.sage_object import SageObject
|
|
26
26
|
from sage.structure.unique_representation import UniqueRepresentation
|
|
27
|
+
from warnings import warn
|
|
27
28
|
|
|
28
29
|
from .divisors import Divisors, DivisorsElement
|
|
29
30
|
from .meromorphic import *
|
|
@@ -420,22 +421,17 @@ class PreSchottkyGroup(SchottkyGroup_abstract):
|
|
|
420
421
|
return False
|
|
421
422
|
tree = self.NJtree
|
|
422
423
|
action_table = self.action_table()
|
|
423
|
-
edge_classes = self.edge_classes()
|
|
424
|
-
subtrees = []
|
|
425
424
|
subtrees_dict = {}
|
|
426
425
|
for e1, e2, w in pairing:
|
|
427
426
|
for T in tree.get_subtree(*e1):
|
|
428
427
|
subtrees_dict[T] = (w, False)
|
|
429
428
|
for T in tree.get_subtree(*e2):
|
|
430
429
|
subtrees_dict[T] = (w, True)
|
|
431
|
-
# print(f'{pairing = }')
|
|
432
430
|
for act in action_table:
|
|
433
431
|
gv = act[i0]
|
|
434
432
|
if gv is None:
|
|
435
433
|
return False
|
|
436
434
|
while True:
|
|
437
|
-
# print('certify')
|
|
438
|
-
# print('gv', gv)
|
|
439
435
|
try:
|
|
440
436
|
word, inv = subtrees_dict[gv]
|
|
441
437
|
wrev = (
|
|
@@ -635,6 +631,8 @@ Try with a quadratic (ramified) extension."
|
|
|
635
631
|
and a word w = [i1,...,ik] (in Tietze notation)
|
|
636
632
|
such that gi1 * ... * gik * z = x
|
|
637
633
|
"""
|
|
634
|
+
x0 = x
|
|
635
|
+
max_length = 10
|
|
638
636
|
gens = self._generators
|
|
639
637
|
inv_gens = self._inverse_generators
|
|
640
638
|
gens = [None] + list(gens) + list(reversed(inv_gens))
|
|
@@ -642,6 +640,9 @@ Try with a quadratic (ramified) extension."
|
|
|
642
640
|
i = self.in_which_ball(x)
|
|
643
641
|
while i is not None:
|
|
644
642
|
word.append(i)
|
|
643
|
+
if len(word) == max_length:
|
|
644
|
+
warn('Reached word length of %s, this might be a bug. x0 = %s, x = %s' %(max_length, x0, x))
|
|
645
|
+
max_length *= 2
|
|
645
646
|
x1 = act(gens[-i], x)
|
|
646
647
|
if x1 == x:
|
|
647
648
|
raise ValueError(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.1.
|
|
1
|
+
/* Generated by Cython 3.1.3 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -26,8 +26,8 @@ END: Cython Metadata */
|
|
|
26
26
|
#elif PY_VERSION_HEX < 0x03080000
|
|
27
27
|
#error Cython requires Python 3.8+.
|
|
28
28
|
#else
|
|
29
|
-
#define __PYX_ABI_VERSION "
|
|
30
|
-
#define CYTHON_HEX_VERSION
|
|
29
|
+
#define __PYX_ABI_VERSION "3_1_3"
|
|
30
|
+
#define CYTHON_HEX_VERSION 0x030103F0
|
|
31
31
|
#define CYTHON_FUTURE_DIVISION 1
|
|
32
32
|
/* CModulePreamble */
|
|
33
33
|
#include <stddef.h>
|
|
@@ -390,6 +390,9 @@ END: Cython Metadata */
|
|
|
390
390
|
enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) };
|
|
391
391
|
#endif
|
|
392
392
|
#endif
|
|
393
|
+
#ifndef CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME
|
|
394
|
+
#define CYTHON_LOCK_AND_GIL_DEADLOCK_AVOIDANCE_TIME 100
|
|
395
|
+
#endif
|
|
393
396
|
#ifndef __has_attribute
|
|
394
397
|
#define __has_attribute(x) 0
|
|
395
398
|
#endif
|
|
@@ -6953,6 +6956,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
6953
6956
|
changed = 1;
|
|
6954
6957
|
}
|
|
6955
6958
|
#endif // CYTHON_METH_FASTCALL
|
|
6959
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
6956
6960
|
else if (strcmp(memb->name, "__module__") == 0) {
|
|
6957
6961
|
PyObject *descr;
|
|
6958
6962
|
assert(memb->type == T_OBJECT);
|
|
@@ -6967,11 +6971,13 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
6967
6971
|
}
|
|
6968
6972
|
changed = 1;
|
|
6969
6973
|
}
|
|
6974
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
6970
6975
|
}
|
|
6971
6976
|
memb++;
|
|
6972
6977
|
}
|
|
6973
6978
|
}
|
|
6974
6979
|
#endif // !CYTHON_COMPILING_IN_LIMITED_API
|
|
6980
|
+
#if !CYTHON_COMPILING_IN_PYPY
|
|
6975
6981
|
slot = spec->slots;
|
|
6976
6982
|
while (slot && slot->slot && slot->slot != Py_tp_getset)
|
|
6977
6983
|
slot++;
|
|
@@ -7003,6 +7009,7 @@ static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject
|
|
|
7003
7009
|
++getset;
|
|
7004
7010
|
}
|
|
7005
7011
|
}
|
|
7012
|
+
#endif // !CYTHON_COMPILING_IN_PYPY
|
|
7006
7013
|
if (changed)
|
|
7007
7014
|
PyType_Modified(type);
|
|
7008
7015
|
#endif // PY_VERSION_HEX > 0x030900B1
|
|
@@ -7135,7 +7142,7 @@ bad:
|
|
|
7135
7142
|
}
|
|
7136
7143
|
|
|
7137
7144
|
/* CommonTypesMetaclass */
|
|
7138
|
-
PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
7145
|
+
static PyObject* __pyx_CommonTypesMetaclass_get_module(CYTHON_UNUSED PyObject *self, CYTHON_UNUSED void* context) {
|
|
7139
7146
|
return PyUnicode_FromString(__PYX_ABI_MODULE_NAME);
|
|
7140
7147
|
}
|
|
7141
7148
|
static PyGetSetDef __pyx_CommonTypesMetaclass_getset[] = {
|
|
@@ -8935,6 +8942,13 @@ try_unpack:
|
|
|
8935
8942
|
|
|
8936
8943
|
/* PyObjectCallMethod0 */
|
|
8937
8944
|
static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) {
|
|
8945
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
8946
|
+
PyObject *args[1] = {obj};
|
|
8947
|
+
(void) __Pyx_PyObject_GetMethod;
|
|
8948
|
+
(void) __Pyx_PyObject_CallOneArg;
|
|
8949
|
+
(void) __Pyx_PyObject_CallNoArg;
|
|
8950
|
+
return PyObject_VectorcallMethod(method_name, args, 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, NULL);
|
|
8951
|
+
#else
|
|
8938
8952
|
PyObject *method = NULL, *result = NULL;
|
|
8939
8953
|
int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method);
|
|
8940
8954
|
if (likely(is_method)) {
|
|
@@ -8947,6 +8961,7 @@ static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name
|
|
|
8947
8961
|
Py_DECREF(method);
|
|
8948
8962
|
bad:
|
|
8949
8963
|
return result;
|
|
8964
|
+
#endif
|
|
8950
8965
|
}
|
|
8951
8966
|
|
|
8952
8967
|
/* RaiseNoneIterError */
|
|
@@ -9288,7 +9303,7 @@ static CYTHON_INLINE PyObject* __Pyx_PyObject_Call2Args(PyObject* function, PyOb
|
|
|
9288
9303
|
}
|
|
9289
9304
|
|
|
9290
9305
|
/* PyObjectCallMethod1 */
|
|
9291
|
-
#if !(CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000)
|
|
9306
|
+
#if !(CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000)))
|
|
9292
9307
|
static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
9293
9308
|
PyObject *result = __Pyx_PyObject_CallOneArg(method, arg);
|
|
9294
9309
|
Py_DECREF(method);
|
|
@@ -9296,7 +9311,7 @@ static PyObject* __Pyx__PyObject_CallMethod1(PyObject* method, PyObject* arg) {
|
|
|
9296
9311
|
}
|
|
9297
9312
|
#endif
|
|
9298
9313
|
static PyObject* __Pyx_PyObject_CallMethod1(PyObject* obj, PyObject* method_name, PyObject* arg) {
|
|
9299
|
-
#if CYTHON_VECTORCALL && __PYX_LIMITED_VERSION_HEX >= 0x030C0000
|
|
9314
|
+
#if CYTHON_VECTORCALL && (__PYX_LIMITED_VERSION_HEX >= 0x030C0000 || (!CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x03090000))
|
|
9300
9315
|
PyObject *args[2] = {obj, arg};
|
|
9301
9316
|
(void) __Pyx_PyObject_GetMethod;
|
|
9302
9317
|
(void) __Pyx_PyObject_CallOneArg;
|
|
@@ -49,6 +49,18 @@ def eval_rat(D, z):
|
|
|
49
49
|
warn('Fails in eval_rat: %s' % fails)
|
|
50
50
|
return ans
|
|
51
51
|
|
|
52
|
+
def pair_divisors(D1, D2):
|
|
53
|
+
ans = 1
|
|
54
|
+
for P, n in D1:
|
|
55
|
+
for Q, m in D2:
|
|
56
|
+
if P is Infinity or Q is Infinity:
|
|
57
|
+
continue
|
|
58
|
+
b = P - Q
|
|
59
|
+
if b == 0:
|
|
60
|
+
continue
|
|
61
|
+
ans *= b**(m*n)
|
|
62
|
+
return ans
|
|
63
|
+
|
|
52
64
|
def eval_rat_dlog(D, z):
|
|
53
65
|
ans = 0
|
|
54
66
|
fails = 0
|
|
@@ -151,7 +163,7 @@ class ThetaOC(SageObject):
|
|
|
151
163
|
D = G.find_equivalent_divisor(D)
|
|
152
164
|
self.a = a
|
|
153
165
|
self.b = b
|
|
154
|
-
self.m = 1
|
|
166
|
+
# self.m = 1
|
|
155
167
|
self.z = K["z"].gen()
|
|
156
168
|
self.MM = MeromorphicFunctions(self.K, self.p, self.prec)
|
|
157
169
|
params = G.parameters
|
|
@@ -161,9 +173,11 @@ class ThetaOC(SageObject):
|
|
|
161
173
|
D1dict = {i : g * D for i, g in gens_ext}
|
|
162
174
|
|
|
163
175
|
# Corresponding to words of length exactly 2
|
|
176
|
+
verbose("Computing F2", level=2)
|
|
164
177
|
self.F2 = { i :
|
|
165
178
|
self.MM(sum(g * val for j, val in D1dict.items() if j != -i), tau)
|
|
166
179
|
for (i, g), tau in zip(gens_ext, params)}
|
|
180
|
+
verbose("F2 computed", level=2)
|
|
167
181
|
|
|
168
182
|
# self.val will contain the 0, 1 terms
|
|
169
183
|
self.val = sum(D1dict.values(), D)
|
|
@@ -177,6 +191,7 @@ class ThetaOC(SageObject):
|
|
|
177
191
|
gens_ext = self.G.gens_extended()
|
|
178
192
|
params = self.G.parameters
|
|
179
193
|
# Initialize action_data
|
|
194
|
+
verbose("Initializing action_data", level=2)
|
|
180
195
|
action_data = {}
|
|
181
196
|
for (i, gi), tau in zip(gens_ext, params):
|
|
182
197
|
for j, Fj in self.Fnlist[-1].items():
|
|
@@ -185,20 +200,22 @@ class ThetaOC(SageObject):
|
|
|
185
200
|
self.MM.get_action_data(gi, Fj._parameter, tau),
|
|
186
201
|
tau,
|
|
187
202
|
)
|
|
203
|
+
verbose("action_data initialized", level=2)
|
|
188
204
|
implementation = kwargs.get('implementation', 'list')
|
|
189
205
|
if implementation not in ['list', 'fixedpoint']:
|
|
190
206
|
raise ValueError("implementation must be 'list' or 'fixedpoint'")
|
|
191
207
|
|
|
192
208
|
for it in range(m):
|
|
193
209
|
# Stop if we reach the maximum precision
|
|
194
|
-
if self.m >= self.prec:
|
|
195
|
-
|
|
196
|
-
# Compute the next term from the last on in Fnlist
|
|
210
|
+
# if self.m >= self.prec:
|
|
211
|
+
# break
|
|
212
|
+
# Compute the next term from the last on in Fnlist
|
|
197
213
|
tmp = {}
|
|
198
214
|
for (i, gi), tau in zip(gens_ext, params):
|
|
199
215
|
for j, Fj in self.Fnlist[-1].items():
|
|
200
216
|
if i != -j:
|
|
201
217
|
vl = Fj.fast_act(action_data[i, j])
|
|
218
|
+
# vl = Fj.left_act_by_matrix(gi, tau)
|
|
202
219
|
try:
|
|
203
220
|
tmp[i] += vl
|
|
204
221
|
except KeyError:
|
|
@@ -209,9 +226,11 @@ class ThetaOC(SageObject):
|
|
|
209
226
|
self.Fnlist.append(tmp)
|
|
210
227
|
else:
|
|
211
228
|
# Add the new term to F2:
|
|
229
|
+
verbose("Adding new term to F2", level=2)
|
|
212
230
|
self.Fnlist = [{i : tmp[i] + self.F2[i] for i in tmp}]
|
|
231
|
+
verbose('F2 updated', level=2)
|
|
213
232
|
|
|
214
|
-
self.m += 1
|
|
233
|
+
# self.m += 1
|
|
215
234
|
|
|
216
235
|
# Collapse the list to one term and return
|
|
217
236
|
if len(self.Fnlist) > 1:
|
|
@@ -237,7 +256,7 @@ class ThetaOC(SageObject):
|
|
|
237
256
|
b = b.lift()
|
|
238
257
|
except AttributeError:
|
|
239
258
|
pass
|
|
240
|
-
return f"Θ(z;{a},{b})
|
|
259
|
+
return f"Θ(z;{a},{b})"
|
|
241
260
|
|
|
242
261
|
def _latex_(self):
|
|
243
262
|
a, b = self.a, self.b
|
|
@@ -258,7 +277,7 @@ class ThetaOC(SageObject):
|
|
|
258
277
|
b = b.rational_reconstruction()
|
|
259
278
|
except AttributeError:
|
|
260
279
|
pass
|
|
261
|
-
return f"\\Theta(z;{latex(a)},{latex(b)})
|
|
280
|
+
return f"\\Theta(z;{latex(a)},{latex(b)})"
|
|
262
281
|
|
|
263
282
|
def __call__(self, z, **kwargs):
|
|
264
283
|
return self.evaluate(z, **kwargs)
|
|
@@ -269,8 +288,9 @@ class ThetaOC(SageObject):
|
|
|
269
288
|
if z.degree() != 0:
|
|
270
289
|
z -= self.Div([(z.degree(), Infinity)])
|
|
271
290
|
z = self.G.find_equivalent_divisor(z)
|
|
272
|
-
ans0 =
|
|
273
|
-
|
|
291
|
+
ans0 = pair_divisors(self.val, z)
|
|
292
|
+
prec = kwargs.get('prec', None)
|
|
293
|
+
ans1 = prod(F.evaluate(z, prec) for FF in self.Fnlist for F in FF.values())
|
|
274
294
|
return ans0 * ans1
|
|
275
295
|
|
|
276
296
|
def eval_derivative(self, z, return_value=False):
|
|
@@ -523,7 +523,7 @@ def period_from_coords(R, E, P, prec=20, K_to_Cp=None):
|
|
|
523
523
|
return un
|
|
524
524
|
|
|
525
525
|
|
|
526
|
-
def our_lindep(V,
|
|
526
|
+
def our_lindep(V,prec = None, base=None, **kwargs):
|
|
527
527
|
if base is None:
|
|
528
528
|
K = V[0].parent()
|
|
529
529
|
else:
|
|
@@ -531,30 +531,32 @@ def our_lindep(V, prec=None, base=None):
|
|
|
531
531
|
V = [K(o) for o in V]
|
|
532
532
|
if prec is None:
|
|
533
533
|
prec = min([o.precision_absolute() for o in V])
|
|
534
|
+
algorithm = kwargs.get('algorithm','flint')
|
|
534
535
|
field_deg = K.degree()
|
|
535
536
|
p = K.prime()
|
|
536
537
|
pn = p**prec
|
|
537
538
|
n = len(V)
|
|
538
|
-
M = matrix(ZZ, n
|
|
539
|
+
M = matrix(ZZ, n+field_deg, field_deg)
|
|
539
540
|
for k in range(n):
|
|
540
541
|
r = V[k]
|
|
541
542
|
if field_deg == 1:
|
|
542
|
-
M[k,
|
|
543
|
+
M[k,0] = ZZ(r.lift()) % pn
|
|
543
544
|
else:
|
|
544
|
-
for j,
|
|
545
|
-
for i,
|
|
546
|
-
M[k
|
|
545
|
+
for j,o in enumerate(r.expansion()):
|
|
546
|
+
for i,u in enumerate(o):
|
|
547
|
+
M[k,-1-i] += (p**(j+r.valuation())*u) % pn
|
|
547
548
|
for i in range(field_deg):
|
|
548
|
-
M[n
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
M.
|
|
553
|
-
.
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
549
|
+
M[n+i,-1-i] = pn
|
|
550
|
+
M = M.transpose().change_ring(ZZ)
|
|
551
|
+
if algorithm == 'magma':
|
|
552
|
+
global magma
|
|
553
|
+
tmp = magma(M).Transpose().KernelMatrix().LLL()[1]
|
|
554
|
+
tmp = tuple(sage_eval(str(tmp).replace(' ', ',')))
|
|
555
|
+
else:
|
|
556
|
+
tmp = M.right_kernel_matrix(proof=False, algorithm=algorithm)
|
|
557
|
+
verbose('Running LLL', level=2)
|
|
558
|
+
tmp = tmp.LLL().row(0)
|
|
559
|
+
verbose('.. done running LLL', level=2)
|
|
558
560
|
return list(tmp)[:n]
|
|
559
561
|
|
|
560
562
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "darmonpoints"
|
|
7
|
-
version = "8.
|
|
7
|
+
version = "8.3"
|
|
8
8
|
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
|
|
9
9
|
description = "Compute non-archimedean Darmon points"
|
|
10
10
|
readme = "README.md"
|
|
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
|
{darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/fundamentaldomains/reduction.m
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/exteriordomains.m
RENAMED
|
File without changes
|
{darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/exteriordomains.sig
RENAMED
|
File without changes
|
|
File without changes
|
{darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/intervals.sig
RENAMED
|
File without changes
|
|
File without changes
|
{darmonpoints-8.2 → darmonpoints-8.3}/darmonpoints/KleinianGroups-1.0/geometry/properties.sig
RENAMED
|
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
|