Changes between Version 11 and Version 12 of Ticket #25511


Ignore:
Timestamp:
06/06/18 10:22:23 (3 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25511 – Description

    v11 v12  
    1 1. The class `Matrix_gfpn_dense` has a special (and undocumented!) constructor to create a matrix from a filename. This is a very special case because it is the only case where the first argument is ''not'' the parent (the matrix space). Because of this special case, some optimizations that I plan to do in #25505 become harder. Instead, this constructor from a filename is changed to a classmethod `Matrix_gfpn_dense.from_filename()`.
     11. The class `Matrix_gfpn_dense` has a special (and undocumented!) constructor to create a matrix from a filename. This is a very special case because it is the only case where the first argument is ''not'' the parent (the matrix space). Because of this special case, some optimizations that I plan to do in #25505 become harder. Instead, this constructor from a filename is changed to a staticmethod `Matrix_gfpn_dense.from_filename()`.
    22
    332. Add a new function `new_mtx` to create a new `Matrix_gfpn_dense` from a meataxe `Matrix_t*` and use it where applicable. This simplifies a lot of existing code. It allows to remove `_new()` and many calls to `__copy__`.