Click or drag to resize

Cloud Constructor (DoubleMatrix, DoubleMatrix, Basis)

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

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

Parameters

coordinates
Type: Novacta.AnalyticsDoubleMatrix
The coordinates of the cloud points.
weights
Type: Novacta.AnalyticsDoubleMatrix
The weights of the cloud points.
basis
Type: Novacta.Analytics.AdvancedBasis
The basis which the point coordinates are referred to.
Exceptions
ExceptionCondition
ArgumentNullExceptioncoordinates is null.
-or-
weights is null.
-or-
basis is null.
ArgumentOutOfRangeExceptionweights is not a column vector.
-or-
coordinates and weights have unequal numbers of rows.
-or-
The Dimension of basis is not equal to the number of columns of coordinates.
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.

See Also