- qspec.analyze.generate_collinear_points_cpp ( mean , cov , n_samples = None , n_accepted = None , seed = None , report = None , ** kwargs )[source]
-
- Parameters:
-
- meanndarray
The data vectors. Must have shape (k, n), where k is the number of data points and n is the number of dimensions of each point.
- covndarray
The covariance matrices of the data vectors. Must have shape (k, n, n). Use 'covariance_matrix' to construct covariance matrices.
- n_samplesint
The number of samples generated for each data point.
- n_acceptedint
The number of samples to be accepted for each data point.
- seedint
A seed for the random number generator.
- reportbool
Whether to report the number of samples.
- kwargsNone
Additional keyword arguments.
- Returns:
-
- outNone
The randomly generated data vectors p with shape (n_accepted, k ,n) aligned along a straight line and the number of accepted and generated samples.