semantic-math-processor-client
Version:
Semantic Math Processor Client is a plugin for SemanticMathEditor, which allows making math calculation using Math Processor - our REST wrapper around Sympy CAS
20 lines (19 loc) • 789 B
TypeScript
/**
* @hidden
* @packageDocumentation
*/
import { HttpClient } from "./model";
export declare class SympyRESTClient {
private readonly CUSTOM;
private readonly FUNCTION;
private readonly METHOD;
private readonly PLOT;
private readonly http;
private readonly serverAddress;
constructor(serverAddress: string, http: HttpClient);
plotSrc(method: string, args: string[], svg: boolean, params?: any, checkErrorOnly?: boolean): string;
checkPlotValidity(method: string, args: string[], svg: boolean, params?: any): Promise<boolean>;
callFunction(name: string, args: string[], params?: any): Promise<string>;
callMethod(object: string, method: string, args: string[]): Promise<string>;
callCustom<T>(name: string, args: string[]): Promise<T>;
}