![]() |
itpp_sci
1.0.0
it++ based simulation framework for scicoslab, scilab and scipy
|
Functions | |
| void | sci_if_err_set (int e) |
| void | sci_if_err_msg_set (const char *p_msg) |
| void | sci_if_info_set (int i) |
| void | scipy_error_callback () |
| void | scipy_if_error_handler (const char *p_err_msg, int info, int err) |
| int | scipy_init (py_allocator_t p_allocator, py_error_handler_t p_error_handler) |
| void * | scipy_alloc_callback (scipy_var_t scipy_var) |
| struct var_struct | scipy_to_var_struct (scipy_var_t *p_scipy_var) |
| void | set_p_pyVar (var_struct_t *p_v_s, scipy_var_t *p_scipy_var) |
| scipy_var_t | var_struct_to_scipy (var_struct_t *p_v_s) |
| void * | scipy_create (int sci_type) |
| C interface to sci_create. More... | |
| void | scipy_set (void *p_sci, int param, scipy_var_t *p_scipy_x) |
| C interface to sci_set. More... | |
| void | scipy_get (void *p_sci, int param) |
| C interface to sci_get. More... | |
| void | scipy_exec (void *p_sci, int param) |
| C interface to sci_exec. More... | |
| void | scipy_gen (void *p_sci, scipy_var_t *p_scipy_ce) |
| C interface to sci_gen. More... | |
| void | scipy_proc (void *p_sci, scipy_var_t *p_scipy_ce, scipy_var_t *p_scipy_x) |
| C interface to sci_proc. More... | |
| void | scipy_destroy (void *p_sci) |
| C interface to scilab sci_destroy. More... | |
Variables | |
| py_allocator_t | p_py_allocator = NULL |
| py_error_handler_t | p_py_error_handler = NULL |
| void sci_if_err_msg_set | ( | const char * | p_msg | ) |
| void sci_if_err_set | ( | int | e | ) |
| void sci_if_info_set | ( | int | i | ) |
| void* scipy_alloc_callback | ( | scipy_var_t | scipy_var | ) |
| void* scipy_create | ( | int | sci_type | ) |
C interface to sci_create.
Example: p_fir1 = sci_create(SCI_FIR); input1 SCI_TYPE (standard enum type == double) output pointer to created SCI_TYPE object
| void scipy_destroy | ( | void * | p_sci | ) |
C interface to scilab sci_destroy.
Example: sci_destroy(p_fir1); input SCI_FIR = type of SCI_TYPE object output void
| void scipy_error_callback | ( | ) |
| void scipy_exec | ( | void * | p_sci, |
| int | param | ||
| ) |
C interface to sci_exec.
Example: sci_exec(p_fir1,SCI_RESET); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 SCI_RESET = type of command output NONE
| void scipy_gen | ( | void * | p_sci, |
| scipy_var_t * | p_scipy_ce | ||
| ) |
C interface to sci_gen.
Example: y = sci_gen(p_mod,ce); input1 p_mod = pointer to the instance of SCI_TYPE object input2 ce = boolean output y = variable of any type
| void scipy_get | ( | void * | p_sci, |
| int | param | ||
| ) |
C interface to sci_get.
Example: c0 = sci_get(p_fir1,SCI_TAPS); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 SCI_TAPS = enum type - scilab default type - double output c0 = variable - might be matrix (scalar) of booleans, integers, doubles, complexes
| void scipy_if_error_handler | ( | const char * | p_err_msg, |
| int | info, | ||
| int | err | ||
| ) |
| int scipy_init | ( | py_allocator_t | p_allocator, |
| py_error_handler_t | p_error_handler | ||
| ) |
| void scipy_proc | ( | void * | p_sci, |
| scipy_var_t * | p_scipy_ce, | ||
| scipy_var_t * | p_scipy_x | ||
| ) |
C interface to sci_proc.
Example: y = sci_proc(p_fir1,ce,x); input1 p_fir1 = pointer to the instance of SCI_TYPE object input2 ce - boolean input2 x - any variable output y - any variable
| void scipy_set | ( | void * | p_sci, |
| int | param, | ||
| scipy_var_t * | p_scipy_x | ||
| ) |
C interface to sci_set.
Example: sci_set(p_fir1,SCI_TAPS,c0); input1 p_fir1= pointer to the instance SCI_TYPE object input2 SCI_TAPS = enum type - scilab default type - double input3 c0 = variable - might be matrix (scalar) booleans, integers, doubles, complexes output NONE
| struct var_struct scipy_to_var_struct | ( | scipy_var_t * | p_scipy_var | ) |
| void set_p_pyVar | ( | var_struct_t * | p_v_s, |
| scipy_var_t * | p_scipy_var | ||
| ) |
| scipy_var_t var_struct_to_scipy | ( | var_struct_t * | p_v_s | ) |
| py_allocator_t p_py_allocator = NULL |
| py_error_handler_t p_py_error_handler = NULL |
1.8.9.1