Skip to content

quantcore.matrix 2.0.3

Compare
Choose a tag to compare
@jtilly jtilly released this 15 Jul 20:34

2.0.3 - 2021-07-15

Bug fix:

  • In SplitMatrix.sandwich, when a col subset was specified, incorrect output was produced if the components of the indices array were not sorted. SplitMatrix.__init__ now checks for sorted indices and maintains sorted index lists when combining matrices.

Other changes:

  • SplitMatrix.__init__ now filters out any empty matrices.
  • StandardizedMatrix.sandwich passes rows=None and cols=None onwards to the underlying matrix instead of replacing them with full arrays of indices. This should improve performance slightly.
  • SplitMatrix.__repr__ now includes the type of the underlying matrix objects in the string output.