Documentation of 'org.nd4j.linalg.indexing.BooleanIndexing' Java class
BooleanIndexing
org.nd4j.linalg.indexing

Class BooleanIndexing



  • public class BooleanIndexing
    extends java.lang.Object
    Boolean indexing
    • Constructor Detail

      • BooleanIndexing

        public BooleanIndexing()
    • Method Detail

      • or

        public static boolean or(IComplexNDArray n,
                                 Condition cond)
        Or over the whole ndarray given some condition
        Parameters:
        n -
        cond -
        Returns:
      • and

        public static boolean and(INDArray n,
                                  Condition cond)
        And over the whole ndarray given some condition
        Parameters:
        n -
        cond -
        Returns:
      • or

        public static boolean or(INDArray n,
                                 Condition cond)
        Or over the whole ndarray given some condition
        Parameters:
        n -
        cond -
        Returns:
      • applyWhere

        public static void applyWhere(INDArray to,
                                      Condition condition,
                                      Function<java.lang.Number,java.lang.Number> function)
        Based on the matching elements transform to based on condition to with function function
        Parameters:
        to - the ndarray to transform
        condition - the condition on transform
        function - the function to apply the transform to
      • applyWhere

        public static void applyWhere(IComplexNDArray to,
                                      Condition condition,
                                      Function<IComplexNumber,IComplexNumber> function)
        Based on the matching elements transform to based on condition to with function function
        Parameters:
        to - the ndarray to transform
        condition - the condition on transform
        function - the function to apply the transform to

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.