Class CNodeUnary
- java.lang.Object
- 
- org.apache.sysds.hops.codegen.cplan.CNode
- 
- org.apache.sysds.hops.codegen.cplan.CNodeUnary
 
 
- 
 public class CNodeUnary extends CNode 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classCNodeUnary.UnaryType
 - 
Constructor SummaryConstructors Constructor Description CNodeUnary(CNode in1, CNodeUnary.UnaryType type)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcodegen(boolean sparse, SpoofCompiler.GeneratorAPI api)booleanequals(Object o)CNodeUnary.UnaryTypegetType()inthashCode()booleanisSupported(SpoofCompiler.GeneratorAPI api)voidsetOutputDims()voidsetType(CNodeUnary.UnaryType type)StringtoString()- 
Methods inherited from class org.apache.sysds.hops.codegen.cplan.CNodecreateVarname, getClassname, getDataType, getID, getInput, getNumCols, getNumRows, getOutput, getVarname, getVarname, getVectorLength, isGenerated, isLiteral, isVisited, resetGenerated, resetHash, resetVisitStatus, setDataType, setLiteral, setNumCols, setNumRows, setOutput, setVarName, setVisited, setVisited
 
- 
 
- 
- 
- 
Constructor Detail- 
CNodeUnarypublic CNodeUnary(CNode in1, CNodeUnary.UnaryType type) 
 
- 
 - 
Method Detail- 
getTypepublic CNodeUnary.UnaryType getType() 
 - 
setTypepublic void setType(CNodeUnary.UnaryType type) 
 - 
codegenpublic String codegen(boolean sparse, SpoofCompiler.GeneratorAPI api) 
 - 
setOutputDimspublic void setOutputDims() - Specified by:
- setOutputDimsin class- CNode
 
 - 
isSupportedpublic boolean isSupported(SpoofCompiler.GeneratorAPI api) - Specified by:
- isSupportedin class- CNode
 
 
- 
 
-