1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Update math_functions.nu

This commit is contained in:
Kamil 2021-10-23 09:35:59 +00:00 committed by GitHub
parent f535b4cc10
commit ee5b1b654b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,3 +16,8 @@ def root [ denominator: number, num: number ] {
def aroot [ scaler: number, denominator: number, num: number ] {
$num ** ($scaler / $denominator) | math round
}
#TODO:
# -sin, cos, tan table for 0-90 degrees
# -radians to degrees and reversed
# -sin, cos, tan, ctg, sec, cosec functions