mikera.arrayz
Interface ISparse
-
- All Known Subinterfaces:
- ISparseVector
- All Known Implementing Classes:
- ADiagonalMatrix, ASingleBandMatrix, ASingleElementVector, ASparseIndexedVector, ASparseVector, AxisVector, BlockDiagonalMatrix, DiagonalMatrix, GrowableIndexedVector, IdentityMatrix, PermutationMatrix, QuadtreeMatrix, ScalarMatrix, SingleElementVector, SparseColumnMatrix, SparseHashedVector, SparseImmutableVector, SparseIndexedVector, SparseRowMatrix, Vector0, WrappedDiagonalMatrix, ZeroArray, ZeroMatrix, ZeroVector
public interface ISparseMarker interface for sparse arrays. May be used to hint that an array can be used to drive calculations more efficiently. A sparse array will often use less space than the total implied by its elements, assuming a sufficient number of elements are zero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doubledensity()Computes the density ratio of this sparse array (proportion of non-zero elements)
-
DMelt 3.0 © DataMelt by jWork.ORG