Module nalgebra_sparse::proptest[][src]

Expand description

Functionality for integrating nalgebra-sparse with proptest.

This module is only available if the proptest-support feature is enabled.

The strategies provided here are generally expected to be able to generate the entire range of possible outputs given the constraints on dimensions and values. However, there are no particular guarantees on the distribution of possible values.

Functions

A strategy for producing COO matrices without duplicate entries.

A strategy for producing COO matrices with duplicate entries.

A strategy for generating CSC matrices.

A strategy for generating CSR matrices.

A strategy for generating sparsity patterns.