int function ( String arg0 ) { if ( variables . containsKey ( arg0 ) ) return ( ( Integer ) variables . get ( arg0 ) ) . intValue ( ) ; int loc0 = variables . size ( ) ; variables . put ( arg0 , new Integer ( loc0 ) ) ; return loc0 ; }
get the index of a variable with this method . concode_field_sep double constant concode_elem_sep double[] values concode_elem_sep double[] coefficients concode_elem_sep List<Equation> equations concode_elem_sep TreeMap<String,Integer> variables concode_field_sep Equation createEquation concode_elem_sep Set<String> getVariables concode_elem_sep void subConstant concode_elem_sep void addCoefficient concode_elem_sep void printEquations concode_elem_sep double getAbsoluteError concode_elem_sep double getAverageError concode_elem_sep double getLeftHandSide concode_elem_sep void removeEquation concode_elem_sep List<Equation> getEquations concode_elem_sep void printStatistics concode_elem_sep void addEquation concode_elem_sep Equation getMaximumErrorEquation concode_elem_sep double getConstant concode_elem_sep Solution solveLeastSquares concode_elem_sep double getCoefficient concode_elem_sep void setConstant concode_elem_sep void multiply concode_elem_sep int getVariableIndex concode_elem_sep double getSignedError concode_elem_sep void clear concode_elem_sep void subCoefficient concode_elem_sep double getMaximumError concode_elem_sep String getVariableName concode_elem_sep Solution solveWithSVD concode_elem_sep void addConstant concode_elem_sep double getValue concode_elem_sep void print concode_elem_sep void setCoefficient