Overview Schemas Index

MATHEMATICAL_FUNCTIONS_SCHEMA (jsdai.SMathematical_functions_schema)


FUNCTION convert_to_operands_prcmfn
          (srcdom : maths_space_or_function, prepfun : LIST [0:?] OF maths_function, finfun : maths_function_select) : LIST [2:?] OF generic_expression;

LOCAL
    operands : LIST OF generic_expression := [];
  END_LOCAL;
  INSERT  (operands, srcdom, 0);
  REPEAT i := 1 TO SIZEOF  (prepfun);
    INSERT  (operands, prepfun[i], i);
  END_REPEAT;
  INSERT (operands, convert_to_maths_function (finfun), SIZEOF (prepfun)+1);
  RETURN (operands);

END_FUNCTION; -- convert_to_operands_prcmfn

public class FConvert_to_operands_prcmfn
          public static Value run(SdaiContext _context, Value srcdom, Value prepfun, Value finfun)