version 1.43, 2016/08/23 02:24:19 |
version 1.47, 2022/03/28 09:11:19 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.42 2016/07/14 08:16:19 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.46 2020/11/01 10:28:22 noro Exp $ */ |
|
|
#ifndef _OX_TOOLKIT_H_ |
#ifndef _OX_TOOLKIT_H_ |
#define _OX_TOOLKIT_H_ |
#define _OX_TOOLKIT_H_ |
|
|
|
|
#include <stdio.h> |
#include <stdio.h> |
|
#include <string.h> |
#include <gmp.h> |
#include <gmp.h> |
#include <mpfr.h> |
#include <mpfr.h> |
#include <ox/cmotag.h> |
#include <ox/cmotag.h> |
Line 232 cmo_distributed_polynomial* new_cmo_distributed_polyno |
|
Line 233 cmo_distributed_polynomial* new_cmo_distributed_polyno |
|
cmo_dms_generic* new_cmo_dms_generic(); |
cmo_dms_generic* new_cmo_dms_generic(); |
cmo_ring_by_name* new_cmo_ring_by_name(cmo* ob); |
cmo_ring_by_name* new_cmo_ring_by_name(cmo* ob); |
cmo_indeterminate* new_cmo_indeterminate(cmo* ob); |
cmo_indeterminate* new_cmo_indeterminate(cmo* ob); |
|
cmo_indeterminate* new_cmo_indeterminate_set_name(char *s); |
cmo_polynomial_in_one_variable* new_cmo_polynomial_in_one_variable(int var); |
cmo_polynomial_in_one_variable* new_cmo_polynomial_in_one_variable(int var); |
cmo_recursive_polynomial* new_cmo_recursive_polynomial(cmo_list* ringdef, cmo* coef); |
cmo_recursive_polynomial* new_cmo_recursive_polynomial(cmo_list* ringdef, cmo* coef); |
cmo_tree* new_cmo_tree(cmo_string* name, cmo_list *attributes, cmo_list *leaves); |
cmo_tree* new_cmo_tree(cmo_string* name, cmo_list *attributes, cmo_list *leaves); |
Line 286 cmo_list* list_append_monomial(cmo_list* , cm |
|
Line 288 cmo_list* list_append_monomial(cmo_list* , cm |
|
cmo_list* list_appendl(cmo_list*, ...); |
cmo_list* list_appendl(cmo_list*, ...); |
int list_length(cmo_list* ); |
int list_length(cmo_list* ); |
cmo* list_nth(cmo_list* , int n); |
cmo* list_nth(cmo_list* , int n); |
|
cell* list_nth_cell(cmo_list* , int n); |
cmo* list_first_cmo(cmo_list *); |
cmo* list_first_cmo(cmo_list *); |
|
char* cmo_indeterminate_get_name(cmo_indeterminate *); |
|
|
int cmolen_cmo(cmo* m); |
int cmolen_cmo(cmo* m); |
void dump_buffer_init(char *s); |
void dump_buffer_init(char *s); |
Line 344 void oxf_determine_byteorder_server(OXFILE *oxfp); |
|
Line 348 void oxf_determine_byteorder_server(OXFILE *oxfp); |
|
OXFILE *oxf_execute_cmd(OXFILE *oxfp, char *cmd); |
OXFILE *oxf_execute_cmd(OXFILE *oxfp, char *cmd); |
cmo_mathcap *oxf_cmo_mathcap(OXFILE *oxfp); |
cmo_mathcap *oxf_cmo_mathcap(OXFILE *oxfp); |
void oxf_mathcap_update(OXFILE *oxfp, cmo_mathcap *ob); |
void oxf_mathcap_update(OXFILE *oxfp, cmo_mathcap *ob); |
|
int oxf_setbuffer(OXFILE *oxfp, char *buf, int size); |
|
|
/* example: which("xterm", getenv("PATH")); */ |
/* example: which("xterm", getenv("PATH")); */ |
char *which(char *exe, const char *env); |
char *which(char *exe, const char *env); |
Line 351 char *generate_otp(); |
|
Line 356 char *generate_otp(); |
|
|
|
int ox_stderr_init(FILE *fp); |
int ox_stderr_init(FILE *fp); |
int ox_printf(char *format, ...); |
int ox_printf(char *format, ...); |
|
|
|
int gclose(); |
|
int gopen(); |
|
int gFlush(); |
|
int moveto(int x, int y); |
|
int lineto(int x, int y); |
|
int setpixel(int x, int y); |
|
|
#ifdef __cplusplus |
#ifdef __cplusplus |
} |
} |