Expand description
§FTP Core Library
Core library for Funds Transfer Pricing (FTP) calculations.
§Main features
- Stock and flux computation methods
- Matrix-based FTP rate, interest, and market rate calculations
§Usage
use ftp_core::{FtpResult, ComputeMethod};
use ndarray::array;
let mut result = FtpResult::new(
array![[1000.0]],
array![[1.0, 0.5, 0.2]],
array![[0.01, 0.02]],
);
result.compute(ComputeMethod::Stock).unwrap();Structs§
- FtpResult
- Main structure holding all FTP calculation inputs and outputs.
Enums§
- Compute
Method - Method used for FTP computation.
- FtpError
- Errors that can occur during FTP calculations.