Skip to content

Releases: r-lib/sparsevctrs

sparsevctrs 0.3.3

14 Apr 17:30
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug where coerce_to_sparse_matrix() would sometimes error if input had NA values. (#109)

sparsevctrs 0.3.2

21 Mar 15:43
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug where sparsity() error on numeric vectors with classes. (#106)

sparsevctrs 0.3.1

17 Mar 20:24
Compare
Choose a tag to compare
  • Fixed bug where sparse multiplication caused undefined behaviour. ($103)

sparsevctrs 0.3.0

10 Mar 17:04
Compare
Choose a tag to compare

New Functions

  • Adding the scalar arithmatic functions sparse_division_scalar(), sparse_multiplication_scalar(), sparse_addition_scalar(), sparse_subtraction_scalar(). (#87)

  • Adding the arithmatic function sparse_multiplication(). (#93)

  • Helper function sparse_lag() bas been added. (#99)

  • Helper function sparse_sqrt() has been added. (#90)

  • Helper function sparse_replace_na() has been added. (#91)

  • Helper functions sparse_is_na() and sparse_which_na() have been added. (#92)

Improvements

  • Adding wts argument to sparse_mean(). (#95)

Bug Fixes

  • Fixed bug in coerce_to_sparse_data_frame() and coerce_to_sparse_tibble() where they didn't work with ngCMatrix. (#89)

sparsevctrs 0.2.0

22 Jan 20:52
Compare
Choose a tag to compare

New Functions

  • sparsity() has been added, allows sparsity calculations of data.frames, matrices, and sparse matrices. (#82)

  • Utility function has_sparse_elements() has been added. (#70)

  • Helper function sparse_dummy() has beenn added. (#49)

  • Helper functions sparse_mean(), sparse_var(), sparse_sd(), sparse_median() has been added. (#49)

Improvements

  • All sparse vector types now have a significant smaller base object size. (#67)

  • All coerce functions have received a call argument. (#72)

  • is_sparse_vector() has been rewritten for speed improvement. (#76)

  • coerce_to_sparse_matrix() Now turns dense zeroes into sparse zeroes. (#77)

Bug Fixes

  • Fixed bug where coerce_to_sparse_data_frame() and coerce_to_sparse_tibble() didn't work with matrices with fully sparse columns. (#69)

  • Fixed bugs where coerce_to_sparse_matrix() would error for completely sparse columns. (#77)

sparsevctrs 0.1.0

31 May 22:01
Compare
Choose a tag to compare
  • Initial CRAN submission.