See {@link #rdiv(String, SDVariable)}
776602
public SDVariable rdiv(SDVariable sameDiffVariable) {
        return rdiv(sameDiff.generateNewVarName(RDivOp.OP_NAME,0),sameDiffVariable);
    }
1026351
@Override
    public void setTessVariable(String key, String value) {
        prop.setProperty(key, value);
    }
223517
public int forAll(final int r, final int var) {
    final int res;
    if (var < 2)
      return r;
    varset2vartable(var);
    initRef();
    res = quantRec(r, Operand.AND, (var << 3) | CACHEID_FORALL);
    return res;
  }
717783
private String getRDN(String name) {
        if (name == null) {
            return name;
        }
        int indexOfEqual = name.indexOf('=');
        if (indexOfEqual < 0) {
            return name;
        }
        String rdnValue = name.substring(0, indexOfEqual);
        return rdnValue;
    }
106764
public void pushOutputVar(String outputVarName) {
    outputVars.push(OutputVar.create(outputVarName, false));
    currOutputVarName = outputVarName;
    currOutputVarIsInited = false;
  }
525721
public SDVariable write(SDVariable flow, int index, SDVariable value){
        return write(flow, intToVar(index), value);
    }
1179741
private void writeVars(Definition def, Writer out, int indent) throws IOException
   {
      writeWithIndent(out, indent, "/** JNDI name */\n");
      writeWithIndent(out, indent,
            "private static final String JNDI_NAME = \"java:/eis/" + def.getDefaultValue() + "\";\n\n");

      writeWithIndent(out, indent, "/** MBeanServer instance */\n");
      writeWithIndent(out, indent, "private MBeanServer mbeanServer;\n\n");

      writeWithIndent(out, indent, "/** Object Name */\n");
      writeWithIndent(out, indent, "private String objectName;\n\n");

      writeWithIndent(out, indent, "/** The actual ObjectName instance */\n");
      writeWithIndent(out, indent, "private ObjectName on;\n\n");

      writeWithIndent(out, indent, "/** Registered */\n");
      writeWithIndent(out, indent, "private boolean registered;\n\n");
   }
740103
public SDVariable rarg() {
        val args = args();
        if(args == null || args.length != 2)
            throw new ND4JIllegalStateException("In order to use this function, the number of arguments for this function must be 2.");
        return args[1];
    }
1224711
public SDVariable gatherNd(SDVariable df, SDVariable indices) {
        return gatherNd(null, df, indices);
    }
471975
public SDVariable assign(String name, SDVariable x, SDVariable y) {
        SDVariable ret = f().assign(x, y);
        return updateVariableNameAndReference(ret, name);
    }
474355
public SDVariable assign(SDVariable in, Number value) {
        return assign(null, in, value);
    }
971745
public SDVariable scalarSet(SDVariable in, Number set) {
        return scalarSet(null, in, set);
    }
321368
@Override
	public String onVariable(String variable) {
		switch(variable) {
		case "USERHOME":
			return System.getProperty("user.home");
		case "WINDIR":
			return System.getenv("windir");
		case "SYSTEMROOT":
			return System.getenv("SystemRoot");
		case "COMMONPROGRAMFILES":
			return System.getenv("CommonProgramFiles");
		case "PROGRAMFILES":
			return System.getenv("ProgramFiles");
		case "TEMP":
			return System.getenv("TEMP");
		case "SYSTEMDRIVE":
			return System.getenv("SystemDrive");
		case "USERPROFILE":
			return System.getenv("USERPROFILE");
		case "APPDATA":
			return System.getenv("APPDATA");
		}
		return null;
	}
525527
@Override
    public String getPathVariable(String variable) {
        ServletRESTRequestImpl ret = castRequest();
        if (ret != null)
            return ret.getPathVariable(variable);
        return null;
    }
988304
public SDVariable sru(String baseName, SRUConfiguration configuration) {
        return new SRU(sd, configuration).outputVariables(baseName)[0];
    }
135728
public Object getVariableValue(String namespaceURI, String prefix, String localName) throws UnresolvableException {
        if (this.request.hasAttribute(localName)) {
            return String.valueOf(this.request.getAttribute(localName));
        }
        
        return null;
    }
262932
public SDVariable l2Loss(String name, @NonNull SDVariable var) {
        validateNumerical("l2 loss", var);
        SDVariable result = f().lossL2(var);
        result = updateVariableNameAndReference(result, name);
        result.markAsLoss();
        return result;
    }