Go to the documentation of this file.
40 template <
class rand_type>
125 #endif // test_utils_h
Numeric lo(Workspace &ws) noexcept
Rand(rand_type lo, rand_type hi)
void random_fill_vector(VectorView A, Numeric range, bool positive)
Fill vector with random values.
rand_type operator()() const
void random_fill_matrix_symmetric(MatrixView A, Numeric range, bool positive)
Generate random, symmetric matrix.
Implementation of Matrix, Vector, and such stuff.
A class implementing complex numbers for ARTS.
void random_fill_matrix_pos_semi_def(MatrixView A, Numeric range, bool positive)
Generate random, positive semi-definite matrix.
rand_type low
Random Index class.
void add_noise(VectorView v, Numeric range)
Add noise to vector.
MatrixView random_submatrix(MatrixView A, Index m, Index n)
NUMERIC Numeric
The type to use for all floating point numbers.
A constant view of a Matrix.
The ComplexMatrixView class.
void random_fill_matrix(MatrixView A, Numeric range, bool positive)
Fill matrix with random values.
void random_fill_matrix_pos_def(MatrixView A, Numeric range, bool positive)
Generate random, positive definite matrix.
A constant view of a ComplexMatrix.
Range random_range(Index n)
Generate random sub-range of the range [0, n-1].
INDEX Index
The type to use for all integer numbers and indices.
A constant view of a Vector.
Numeric get_maximum_error(ConstMatrixView A1, ConstMatrixView A2, bool relative)
Maximum element-wise error of two matrices.