Function nalgebra::proptest::vector[][src]

pub fn vector<D, ScalarStrategy>(
    value_strategy: ScalarStrategy,
    length: impl Into<DimRange<D>>
) -> MatrixStrategy<ScalarStrategy, D, U1> where
    ScalarStrategy: Strategy + Clone + 'static,
    ScalarStrategy::Value: Scalar,
    D: Dim,
    DefaultAllocator: Allocator<ScalarStrategy::Value, D>, 
Expand description

Create a strategy to generate column vectors containing values drawn from the given strategy, with length in the provided range.

This is a convenience function for calling matrix(value_strategy, length, U1) and should be used when you only want to generate column vectors, as it’s simpler and makes the intent clear.