Documentation of 'mikera.vectorz.impl.AArrayVector' Java class
AArrayVector
mikera.vectorz.impl

Class AArrayVector

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<INDArray>, java.lang.Iterable<java.lang.Double>, INDArray, IVector
    Direct Known Subclasses:
    AStridedVector, StridedMatrixViewVector, TriangularIndexedVector


    public abstract class AArrayVector
    extends ASizedVector
    Base class for all vectors backed by a single final double[] array Supports arbitrary indexing: array elements may not correspond to vector elements in any particular order. Ordering of elements is defined by subclasses of AArrayVector.
    See Also:
    Serialized Form
    • Method Detail

      • slice

        public AScalar slice(int i)
        Description copied from interface: INDArray
        Returns the specified major slice of this array as a view (slice along dimension 0) 0 dimensional slice results are permitted, but attempting to slice a 0 dimensional array will result in an error.
        Specified by:
        slice in interface INDArray
        Overrides:
        slice in class AVector
      • selectView

        public AVector selectView(int... indices)
        Description copied from class: AVector
        Selects a subset of indices from a vector, returning a view
        Overrides:
        selectView in class AVector
        Returns:
        a view of the selected indices
      • maxAbsElement

        public double maxAbsElement()
        Description copied from class: AVector
        Returns the maximum absolute element value of a vector
        Overrides:
        maxAbsElement in class AVector
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.