Crates.io | rust_math |
lib.rs | rust_math |
version | 0.3.7 |
source | src |
created_at | 2022-06-11 21:19:44.165625 |
updated_at | 2022-09-17 11:02:09.161492 |
description | Math library written in Rust |
homepage | |
repository | https://github.com/bktech2021/rust_math |
max_upload_size | |
id | 604218 |
size | 16,660 |
Math library written in Rust. Functions for integer lists, for numbers, and trigonometry functions.
Sorts the list with algorithm bubble sort
Bubble sort but reversed
This function returns median of the list
If list is sorted returns median of list, else -1.
This function returns average of the list
This funtion returns mode of list.
This function returns the standard deviation of the list.
This function returns the highest number in the list.
This function returns the lowest number in the list.
Returns true if list is sorted, else false.
Returns square root of number
Returns absolute value of number
Returns factorial of number. (i128 is due to overflow)
Returns true if prime. Else false.
Finds greatest common divisor of two numbers
Finds least common of 2 numbers
Find prime factors of given number
Finds sine of angle in degrees
Finds cosine of angle in degrees
Finds tangent of angle in degrees
Finds cotangent of angle in degrees
Finds secant of angle in degrees
Finds cosecant of angle in degrees
Finds arcsine of number
Finds arctangent of number
Finds arccosine of number
Converts degrees to radians
Converts radians to degrees
Finds quadrant of angle in degrees
1 - Problem solvers, at least for find x at first. Time unknown.
Thanks for using this project ❤️