예제 #1
0
        private IntPtr CallDeviceFunction(IntPtr call, IntPtr operation, IntPtr args, IntPtr environment, Func <Language, SymbolicExpression, Pairlist, REnvironment, SymbolicExpression> func)
        {
            var c       = new Language(Engine, call);
            var op      = new SymbolicExpression(Engine, operation);
            var arglist = new Pairlist(Engine, args);
            var env     = new REnvironment(Engine, environment);
            SymbolicExpression result = func(c, op, arglist, env);

            return(result.DangerousGetHandle());
        }
예제 #2
0
 /// <summary>
 /// Return the NULL SEXP; no other effect
 /// </summary>
 /// <param name="call"></param>
 /// <param name="operation"></param>
 /// <param name="args"></param>
 /// <param name="environment"></param>
 /// <returns></returns>
 public SymbolicExpression AddHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment)
 {
     return environment.Engine.NilValue;
 }
예제 #3
0
 /// <summary>
 /// Return the NULL SEXP; no other effect
 /// </summary>
 /// <param name="call"></param>
 /// <param name="operation"></param>
 /// <param name="args"></param>
 /// <param name="environment"></param>
 /// <returns></returns>
 public SymbolicExpression AddHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment)
 {
     return(environment.Engine.NilValue);
 }
예제 #4
0
 public SymbolicExpression SaveHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment)
 {
     throw new NotImplementedException();
 }
예제 #5
0
 public SymbolicExpression SaveHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment)
 {
     throw new NotImplementedException();
 }
예제 #6
0
 public SymbolicExpression AddHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment)
 {
     return(null);
 }