Skip to main content

Crate ftp_core_bindings_c

Crate ftp_core_bindings_c 

Source

Structs§

FtpHandle
Opaque handle returned to C callers.

Functions§

ftp_compute⚠
Runs the FTP computation.
ftp_create⚠
Creates a new FtpHandle from raw row-major data.
ftp_free⚠
Frees an FtpHandle. No-op if handle is null.
ftp_get_dims⚠
Writes the output matrix dimensions (rows, cols) into the provided pointers.
ftp_get_ftp_int⚠
Copies ftp_int into out_buf. Returns 0 on success, -1 on error.
ftp_get_ftp_rate⚠
Copies ftp_rate into out_buf. Returns 0 on success, -1 on error.
ftp_get_last_error⚠
Copies the last error message into buf (max buf_len bytes, NUL-terminated).
ftp_get_market_rate⚠
Copies market_rate into out_buf. Returns 0 on success, -1 on error.
ftp_get_stock_amort⚠
Copies stock_amort into out_buf. Returns 0 on success, -1 on error.
ftp_get_stock_instal⚠
Copies stock_instal into out_buf. Returns 0 on success, -1 on error.
ftp_get_varstock_amort⚠
Copies varstock_amort into out_buf. Returns 0 on success, -1 on error.
ftp_get_varstock_instal⚠
Copies varstock_instal into out_buf. Returns 0 on success, -1 on error.