Fills the given double precision matrix with M.Cols quasirandom points. The
points are the columns of the matrix, hence the number of rows in the
given matrix must be equal to the Dimension. The quasirandom numbers
will follow a uniform distribution in the hypercube [0,1]^n, where n is
equal to Dimension.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void Fill( DoubleMatrix M ) |
| Visual Basic (Declaration) |
|---|
Public Sub Fill ( _ M As DoubleMatrix _ ) |
| Visual C++ |
|---|
public: void Fill( DoubleMatrix^ M ) |
Parameters
- M
- Type: CenterSpace.NMath.Core..::.DoubleMatrix
Matrix to fill. M must have Dimension rows.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.InvalidArgumentException | Thrown if the number of rows in the input matrix is not equal to Dimension. |