Package ru.sscc.spline.reduction

The collection of multi-D space transformations (reductions) and multi-D meshes.

See:
          Description

Interface Summary
Reduction The reduction (transformation) of multidimensional space.
 

Class Summary
IdenticReduction The implementation of the identic space reduction yi = xi.
OrthogonalReduction The implementation of an abstract space reduction consisting of an internal reduction and orthogonalization with respect to a set of vectors.
ReducedMesh The abstract support for a multidimensional mesh.
ScaledReduction The implementation of an abstract space reduction based on affine transform yi = si*(xi-oi) with different scale factors for different directions.
ScatteredMesh The implementation of the reduced mesh stored internally in the float type container.
StrictScatteredMesh The implementation of the reduced mesh stored internally in the double type container.
UniscaledReduction The implementation of an abstract space reduction based on affine transform y=scale*(x-origin) with the same scale factor for all directions.
 

Package ru.sscc.spline.reduction Description

The collection of multi-D space transformations (reductions) and multi-D meshes.

The Reduction interface describes a space reduction (transformation with a possible dimensionality reduction). All classes of the package implement this interface. The interface contains the reducePoint(x,y) method that does the reduction of the point x and stores the result to y. Two informational methods initialDimension() and reducedDimension() return the dimensionality of the initial space and the space after the reduction.

A number of reduction methods is implemented:

The ReducedMesh abstract class joins the reduction features with a mesh in multi-D space. It implements the Reduction interface and provides an access to the nodes of the reduced mesh: the squaredDistance(i,y) method returns the squared distance between the i-th mesh node (counted from zero) and the point y of the reduced space; the putNode(i,y) method copies the i-th node coordinates to y.

Two subclasses extend this class: the ScatteredMesh implements the ReducedMesh with the internal storage of mesh nodes in the float type container and the ScatteredMesh internally stores the reduced mesh in the double type container. This subclasses have a number of constructors that allow to transform a user's mesh by many ways.