#include "gstlearn_export.hpp"
|
GSTLEARN_EXPORT void | set_keypair (const char *keyword, int origin, int nrow, int ncol, const double *values) |
|
GSTLEARN_EXPORT void | app_keypair (const char *keyword, int origin, int nrow, int ncol, double *values) |
|
GSTLEARN_EXPORT void | set_keypair_int (const char *keyword, int origin, int nrow, int ncol, int *values) |
|
GSTLEARN_EXPORT void | app_keypair_int (const char *keyword, int origin, int nrow, int ncol, int *values) |
|
GSTLEARN_EXPORT double | get_keypone (const char *keyword, double valdef) |
|
GSTLEARN_EXPORT int | get_keypair (const char *keyword, int *nrow, int *ncol, double **values) |
|
GSTLEARN_EXPORT int | get_keypair_int (const char *keyword, int *nrow, int *ncol, int **values) |
|
GSTLEARN_EXPORT void | del_keypair (const char *keyword, int flag_exact) |
|
GSTLEARN_EXPORT void | print_keypair (int flag_short) |
|
◆ app_keypair()
GSTLEARN_EXPORT void app_keypair |
( |
const char * |
keyword, |
|
|
int |
origin, |
|
|
int |
nrow, |
|
|
int |
ncol, |
|
|
double * |
values |
|
) |
| |
Deposit a keypair (double values) - Append to existing array
- Parameters
-
[in] | keyword | Keyword |
[in] | origin | 1 from C; 2 from R |
[in] | nrow | Number of rows |
[in] | ncol | Number of columns |
[in] | values | Array of values (Dimension: nrow * ncol) |
◆ app_keypair_int()
GSTLEARN_EXPORT void app_keypair_int |
( |
const char * |
keyword, |
|
|
int |
origin, |
|
|
int |
nrow, |
|
|
int |
ncol, |
|
|
int * |
values |
|
) |
| |
Deposit a keypair (doubleinteger values) - Append to existing array
- Parameters
-
[in] | keyword | Keyword |
[in] | origin | 1 from C; 2 from R |
[in] | nrow | Number of rows |
[in] | ncol | Number of columns |
[in] | values | Array of values (Dimension: nrow * ncol) |
◆ del_keypair()
GSTLEARN_EXPORT void del_keypair |
( |
const char * |
keyword, |
|
|
int |
flag_exact |
|
) |
| |
Delete a keypair
- Parameters
-
[in] | keyword | Keyword to be deleted |
[in] | flag_exact | 1 if Exact keyword matching is required |
◆ get_keypair()
GSTLEARN_EXPORT int get_keypair |
( |
const char * |
keyword, |
|
|
int * |
nrow, |
|
|
int * |
ncol, |
|
|
double ** |
values |
|
) |
| |
Inquiry the keypair
- Returns
- Error returned code
- Parameters
-
[in] | keyword | Keyword |
[out] | nrow | Number of rows |
[out] | ncol | Number of columns |
[out] | values | Array of values attached to the keyword |
◆ get_keypair_int()
GSTLEARN_EXPORT int get_keypair_int |
( |
const char * |
keyword, |
|
|
int * |
nrow, |
|
|
int * |
ncol, |
|
|
int ** |
values |
|
) |
| |
Inquiry the keypair (integer values)
- Returns
- Error returned code
- Parameters
-
[in] | keyword | Keyword |
[out] | nrow | Number of rows |
[out] | ncol | Number of columns |
[out] | values | Array of values attached to the keyword |
◆ get_keypone()
GSTLEARN_EXPORT double get_keypone |
( |
const char * |
keyword, |
|
|
double |
valdef |
|
) |
| |
Inquiry the keypair (for a single value)
- Returns
- Returned value
- Parameters
-
[in] | keyword | Keyword |
[in] | valdef | Factory setting value |
◆ print_keypair()
GSTLEARN_EXPORT void print_keypair |
( |
int |
flag_short | ) |
|
Print the list of keypairs
- Parameters
-
[in] | flag_short | 1 for a short output |
◆ set_keypair()
GSTLEARN_EXPORT void set_keypair |
( |
const char * |
keyword, |
|
|
int |
origin, |
|
|
int |
nrow, |
|
|
int |
ncol, |
|
|
const double * |
values |
|
) |
| |
Deposit a keypair (double values)
- Parameters
-
[in] | keyword | Keyword |
[in] | origin | 1 from C; 2 from R |
[in] | nrow | Number of rows |
[in] | ncol | Number of columns |
[in] | values | Array of values (Dimension: nrow * ncol) |
◆ set_keypair_int()
GSTLEARN_EXPORT void set_keypair_int |
( |
const char * |
keyword, |
|
|
int |
origin, |
|
|
int |
nrow, |
|
|
int |
ncol, |
|
|
int * |
values |
|
) |
| |
Deposit a keypair (integer values)
- Parameters
-
[in] | keyword | Keyword |
[in] | origin | 1 from C; 2 from R |
[in] | nrow | Number of rows |
[in] | ncol | Number of columns |
[in] | values | Array of values (Dimension: nrow * ncol) |