private void checkInvoke(SymbolicExpression result, string expected) { Assert.Equal(expected, result.AsCharacter().ToArray()[0]); }
private void WriteSymbolicExpression(SymbolicExpression sexp, IntPtr pointer, int offset) { Marshal.WriteIntPtr(pointer, offset, sexp.DangerousGetHandle()); }
/// <summary> /// Converts the specified expression to a GenericVector. /// </summary> /// <param name="expression">The expression.</param> /// <returns>The GenericVector. Returns <c>null</c> if the specified expression is not vector.</returns> public static GenericVector AsList(this SymbolicExpression expression) { return(asList(expression)); }
/// <summary> /// Assign a value to a name in the global environment. /// </summary> /// <param name="name">The name.</param> /// <param name="expression">The symbol.</param> public void SetSymbol(string name, SymbolicExpression expression) { CheckEngineIsRunning(); GlobalEnvironment.SetSymbol(name, expression); }
public SymbolicExpression LoadHistory(Language call, SymbolicExpression operation, Pairlist args, REnvironment environment) { throw new NotImplementedException(); }