Click or drag to resize

Cloud Constructor (DoubleMatrix, DoubleMatrix)

Initializes a new instance of the Cloud class that contains points having the specified weights and whose coordinates are taken with respect to the standard basis.

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public Cloud(
	DoubleMatrix coordinates,
	DoubleMatrix weights
)

Parameters

coordinates
Type: Novacta.AnalyticsDoubleMatrix
The coordinates of the cloud points.
weights
Type: Novacta.AnalyticsDoubleMatrix
The weights of the cloud points.
Exceptions
ExceptionCondition
ArgumentNullExceptioncoordinates is null.
-or-
weights is null.
ArgumentOutOfRangeExceptionweights is not a column vector.
-or-
coordinates and weights have not the same numbers of rows.
Remarks

Matrix coordinates has as many rows as the number of points in the cloud. The number of columns is the dimension of the space in which the points lie.

Each row represents the coordinates of a given point in the cloud. Points are thus well ordered, and hence thoroughly identified, by the index of the row in which its coordinates are stored. As a consequence, the same order must be followed when inserting entries in the vector of weights. The coordinates are automatically referred to the standard basis having dimension equal to the number of columns of coordinates.

See Also