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

Class ABooleanVector

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


    public abstract class ABooleanVector
    extends ASizedVector
    Abstract base class for boolean vectors Boolean vectors only support two element values, 0.0 and 1.0
    See Also:
    Serialized Form
    • Method Detail

      • isBoolean

        public boolean isBoolean()
        Description copied from interface: INDArray
        Returns true if the array is boolean (contains only 0.0 or 1.0 values)
        Specified by:
        isBoolean in interface INDArray
        Overrides:
        isBoolean in class AbstractArray<java.lang.Double>
      • isFullyMutable

        public boolean isFullyMutable()
        Description copied from class: AVector
        Returns true if this vector is fully mutable, i.e. can contain any unconstrained double values
        Specified by:
        isFullyMutable in interface INDArray
        Overrides:
        isFullyMutable in class AVector
      • hasUncountable

        public boolean hasUncountable()
        Description copied from class: AbstractArray
        Returns true if any element is this array is NaN or infinite
        Specified by:
        hasUncountable in interface INDArray
        Overrides:
        hasUncountable in class AVector
        Returns:
        True if any element is this array is NaN or infinite, false otherwise
      • elementPowSum

        public double elementPowSum(double p)
        Returns the sum of all the elements raised to a specified power
        Specified by:
        elementPowSum in interface INDArray
        Overrides:
        elementPowSum in class AVector
        Returns:
      • elementAbsPowSum

        public double elementAbsPowSum(double p)
        Returns the sum of the absolute values of all the elements raised to a specified power
        Specified by:
        elementAbsPowSum in interface INDArray
        Overrides:
        elementAbsPowSum in class AVector
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.