2 stable releases
1.0.1 | Aug 19, 2024 |
---|
#3 in #simplifying
22KB
587 lines
Expression Simplify
You can find the crate on https://crates.io/crates/expression_simplify
The program is a Rust library crate in the use of simplifying math expression, its function is based on the HW1 of the first Unit of Object Oriented course of SCSE, BUAA.
如何在Rust中实现多态
- 定义一个trait
- 为不同类型实现trait
- 使用特征对象
Box<dyn Trait>
动态指针
version 1.0.0
: hw1
lib.rs
:
Expression Simplifier
The program is a Rust library crate in the use of simplifying math expression, its function is based on the first Unit of HW1, Object Oriented course of SCSE, BUAA.
#Example
use expression_simplify::read_input;
fn main() {
read_input();
}