Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix_complex_ball_dense: Level 1 implementation (using acb_mat from Arb) #17220

Closed
cheuberg opened this issue Oct 25, 2014 · 76 comments
Closed

Comments

@cheuberg
Copy link
Contributor

Wrap the acb_mat type for matrices over complex balls.

In this ticket, level 1 functionality of matrices is provided.

Depends on #19751

CC: @sagetrac-alina @fredrik-johansson @sagetrac-ktkohl @sagetrac-skropf @jdemeyer @mezzarobba

Component: numerical

Keywords: arb, acb_mat, complex balls, matrix

Author: Clemens Heuberger

Branch/Commit: 8983012

Reviewer: Marc Mezzarobba, Fredrik Johansson

Issue created by migration from https://trac.sagemath.org/ticket/17220

@cheuberg cheuberg added this to the sage-6.4 milestone Oct 25, 2014
@cheuberg
Copy link
Contributor Author

Branch: u/cheuberg/matrix/acb_dense

@cheuberg
Copy link
Contributor Author

Last 10 new commits:

4a34322remove real_arb from documentation as it is an optional package
eb8b584Trac #17194: Fix typo in one doctest
a6cb2caTrac #17194: declare return types
55bdc8bTrac #17194: mark all doctests in real_arb.pyx as "optional - arb"
4b9cdedTrac #17218: Minimal bindings for acb's in the optional arb package
65fa1e5Trac #17218: rename attribute Acb.precision to Acb._precision_
b082b08Trac #17218: remove unneeded variable prec
4279c8cTrac #17218: Acb: Fix missing documentation of input parameters
222c3beTrac #17218: import a few more functions from acb.h
116de7bTrac #17220: Minimal bindings for acb_mat in the optional arb package

@cheuberg
Copy link
Contributor Author

Commit: 116de7b

@cheuberg
Copy link
Contributor Author

cheuberg commented Feb 6, 2015

comment:3

The modifications made in #17194 will have to be made here, too, once #17194 is in final form.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 20, 2015

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

4e7ec46Trac #17194: is_zero, is_nonzero, is_exact
9e26152Trac #17194: Implement comparisons
1196b57Trac #17194: Fix RealBallField._an_element_
195a6eeTrac #17194: Fix two broken references
5166337Trac #17218: Merge #17194
1b39b15Trac #17218: rename module to complex_ball_acb
ceeb591Trac #17218: Fix doctests after renaming modules
fa46546Trac #17218: implement parent
2f7c032Trac #17220: Merge #17218 branch due to incompatible changes
3b7cd32Trac #17220: Fix code after merge; acb_mat_to_matrix takes CIF

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 20, 2015

Changed commit from 116de7b to 3b7cd32

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 24, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

f40aaefTrac #17218: Change signature of acb_to_ComplexIntervalFieldElement
dacd766Merge #17218 due to conflicting change in commit f40aaef
fda400eTrac #17220: Fix code after merge

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 24, 2015

Changed commit from 3b7cd32 to fda400e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

2efc505Trac #17218: let ComplexBallField belong to Fields()
e1dd21aTrac #17220: Merge #17218
06bcc68Trac #17220: rename matrix_acb_dense to matrix_complex_ball_dense
68d673bTrac #17220: acb_mat as Sage matrix --- Level 1 functionality

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 28, 2015

Changed commit from fda400e to 68d673b

@cheuberg
Copy link
Contributor Author

Changed keywords from arb, acb_mat, complex intervals, matrix to arb, acb_mat, complex balls, matrix

@cheuberg

This comment has been minimized.

@cheuberg cheuberg modified the milestones: sage-6.4, sage-6.6 Feb 28, 2015
@cheuberg cheuberg changed the title Minimal bindings for acb_mat in the optional arb package Matrix_complex_ball_dense: Level 1 implementation (using acb_mat from Arb) Feb 28, 2015
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 1, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

cbce806Trac #17220: mark three doctests as optional - arb

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 1, 2015

Changed commit from 68d673b to cbce806

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

1e0608cMerge tag '6.6.beta5' into rings/complex_interval_acb
ef6ae7bTrac #17218: Fix doctests after merge of 6.6.beta5 (and therefore #17786)
87bbb16Trac #17218: Fix indendations
0e3a82eTrac #17218: Merge '6.7.beta1' due to merge conflict with #18145
1a8e8dcTrac #17220: Merge branch #17218 due to merge conflict with #18145

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2015

Changed commit from cbce806 to 1a8e8dc

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 24, 2015

Changed commit from 1a8e8dc to 1dd4c89

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 24, 2015

Branch pushed to git repo; I updated commit sha1. New commits:

8049ae3Trac #17218: Merge 6.7.beta4 (necessitated by #17890)
4f3489bTrac #17218: Replace cdef _richcmp_c_impl by cpdef `_richcmp_` (cf. #17890)
d671d83Trac #17218: Call Element.__init__ directly
b559917Trac #17218: rewrite comparison
b666ea2Trac #17218: mark as experimental
556651aTrac #17220: merge latest version of #17220
1dd4c89Trac #17220: Adapt doctest to include FutureWarning

@mezzarobba
Copy link
Member

comment:37

Indeed: I don't know how I missed that while reviewing the ticket, but apparently one can in fact not provide a “level-1” implementation only, because neither Matrix nor Matrix_dense provides a default implementation of _multiply_classical (even though docs.py claims implementing it is optional)!

@mezzarobba
Copy link
Member

Changed commit from c095ddd to 5b13456

@mezzarobba
Copy link
Member

Changed branch from u/cheuberg/acb_mat to public/arb/acb_mat

@mezzarobba
Copy link
Member

Changed dependencies from #18546, #19063, #19152 to #19751

@mezzarobba
Copy link
Member

comment:38

Should be okay with #19751.


New commits:

308ed3dgeneric multiplication for dense matrices
e0a8669Merge in branch 'genmatmult' (trac #19751)
5b13456#17220 test that multiplication and other basic ops still work

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 23, 2016

Changed commit from 5b13456 to 7762a79

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 23, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

19ace33Merge branch 'develop' into acb_mat
7762a79#17220 include signals.pxi instead of interrupt.pxi

@mezzarobba
Copy link
Member

comment:40

Just to clarify, I think this ticket is good to go if someone reviews the small changes I made in the last few commits (and the dependency, which is 10 lines of code).

@fredrik-johansson
Copy link
Contributor

Changed reviewer from Marc Mezzarobba to Marc Mezzarobba, Fredrik Johansson

@fredrik-johansson
Copy link
Contributor

comment:41

Nitpick: it is claimed that a matrix can have up to 2^{64}-1 rows or columns, but the limit is technically 2^{63}-1 since a signed integer is used (and in practice, much less, since that much memory couldn't be addressed).

Other than that, it looks ok to me.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 7, 2016

Changed commit from 7762a79 to 8983012

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 7, 2016

Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:

8983012#17220 fix minor inaccuracy in docstring

@mezzarobba
Copy link
Member

comment:43

Replying to @fredrik-johansson:

Nitpick: it is claimed that a matrix can have up to 2^{64}-1 rows or columns, but the limit is technically 2^{63}-1 since a signed integer is used (and in practice, much less, since that much memory couldn't be addressed).

Fixed (for a definition of 64-bit machines that goes a little bit beyond current architectures ;-))

Other than that, it looks ok to me.

Thanks!

@vbraun
Copy link
Member

vbraun commented Apr 8, 2016

Changed branch from public/arb/acb_mat to 8983012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants