## Uses of Class
org.apache.sysds.hops.LiteralOp

- Packages that use LiteralOp
  Package | Description
  --- | ---
  org.apache.sysds.hops |
  org.apache.sysds.hops.rewrite |
  org.apache.sysds.runtime.instructions.cp |

- - ### Uses of LiteralOp in org.apache.sysds.hops

    Methods in org.apache.sysds.hops with parameters of type LiteralOp
    Modifier and Type | Method and Description
    --- | ---
    `static double` | OptimizerUtils.`getBinaryOpSparsityConditionalSparseSafe(double sp1, Types.OpOp2 op, LiteralOp lit)`
    `static boolean` | OptimizerUtils.`isBinaryOpConditionalSparseSafeExact(Types.OpOp2 op, LiteralOp lit)` Determines if a given binary op with scalar literal guarantee an output sparsity which is exactly the same as its matrix input sparsity.
    `static boolean` | OptimizerUtils.`isBinaryOpSparsityConditionalSparseSafe(Types.OpOp2 op, LiteralOp lit)`

    Constructors in org.apache.sysds.hops with parameters of type LiteralOp
    Constructor and Description
    `LiteralOp(LiteralOp that)`

  - ### Uses of LiteralOp in org.apache.sysds.hops.rewrite

    Methods in org.apache.sysds.hops.rewrite with parameters of type LiteralOp
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | HopRewriteUtils.`getBooleanValue(LiteralOp op)`
    `static boolean` | HopRewriteUtils.`getBooleanValueSafe(LiteralOp op)`
    `static double` | HopRewriteUtils.`getDoubleValue(LiteralOp op)`
    `static double` | HopRewriteUtils.`getDoubleValueSafe(LiteralOp op)`
    `static long` | HopRewriteUtils.`getIntValue(LiteralOp op)` Return the int value of a LiteralOp (as a long).
    `static long` | HopRewriteUtils.`getIntValueSafe(LiteralOp op)`
    `static ScalarObject` | HopRewriteUtils.`getScalarObject(LiteralOp op)`
    `static boolean` | HopRewriteUtils.`isEqualValue(LiteralOp hop1, LiteralOp hop2)`

    Method parameters in org.apache.sysds.hops.rewrite with type arguments of type LiteralOp
    Modifier and Type | Method and Description
    --- | ---
    `static Hop` | HopRewriteUtils.`createDataGenOpByVal(ArrayList<LiteralOp> values, long rows, long cols)`

  - ### Uses of LiteralOp in org.apache.sysds.runtime.instructions.cp

    Methods in org.apache.sysds.runtime.instructions.cp that return LiteralOp
    Modifier and Type | Method and Description
    --- | ---
    `static LiteralOp` | ScalarObjectFactory.`createLiteralOp(ScalarObject so)`
    `static LiteralOp` | ScalarObjectFactory.`createLiteralOp(ScalarObject so, UnaryOp cast)`
    `static LiteralOp` | ScalarObjectFactory.`createLiteralOp(Types.ValueType vt, String value)`

    Methods in org.apache.sysds.runtime.instructions.cp with parameters of type LiteralOp
    Modifier and Type | Method and Description
    --- | ---
    `static ScalarObject` | ScalarObjectFactory.`createScalarObject(LiteralOp lit)`
    `static ScalarObject` | ScalarObjectFactory.`createScalarObject(Types.ValueType vt, LiteralOp lit)`

Copyright © 2021 The Apache Software Foundation. All rights reserved.