org.apache.sysml.runtime.instructions.spark

Class RandSPInstruction

    • Method Detail

      • getRows

        public long getRows()
      • setRows

        public void setRows(long rows)
      • getCols

        public long getCols()
      • setCols

        public void setCols(long cols)
      • getRowsInBlock

        public int getRowsInBlock()
      • setRowsInBlock

        public void setRowsInBlock(int rowsInBlock)
      • getColsInBlock

        public int getColsInBlock()
      • setColsInBlock

        public void setColsInBlock(int colsInBlock)
      • getMinValue

        public double getMinValue()
      • setMinValue

        public void setMinValue(double minValue)
      • getMaxValue

        public double getMaxValue()
      • setMaxValue

        public void setMaxValue(double maxValue)
      • getSparsity

        public double getSparsity()
      • setSparsity

        public void setSparsity(double sparsity)
      • processInstruction

        public void processInstruction(org.apache.sysml.runtime.controlprogram.context.ExecutionContext ec)
                                throws DMLRuntimeException
        Description copied from class: Instruction
        This method should be used to execute the instruction.
        Specified by:
        processInstruction in class SPInstruction
        Parameters:
        ec - execution context
        Throws:
        DMLRuntimeException - if DMLRuntimeException occurs

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