mirror of
https://gitlab.com/rnger/amath
synced 2026-01-11 23:56:36 +00:00
Prerelease 1.7.0
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
## language english
|
||||
## codeset 0
|
||||
; #############################################################################
|
||||
; Copyright (c) 2015-2017 Carsten Sonne Larsen <cs@innolan.dk>
|
||||
; Copyright (c) 2014-2017 Carsten Sonne Larsen <cs@innolan.net>
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
@ -46,7 +46,7 @@ symhyper
|
||||
-------------------------------------------------#NEWLINE#sinh Hyperbolic sine function.#NEWLINE#cosh Hyperbolic cosine function.#NEWLINE#tanh Hyperbolic tangent function.#NEWLINE#coth Hyperbolic cotangent function.#NEWLINE#sech Hyperbolic secant function.#NEWLINE#csch Hyperbolic cosecant function. #NEWLINE#asinh Inverse hyperbolic sine function.#NEWLINE#acosh Inverse hyperbolic cosine function.#NEWLINE#atanh Inverse hyperbolic tangent function.#NEWLINE#acoth Inverse hyperbolic cotangent function.#NEWLINE#asech Inverse hyperbolic secant function.#NEWLINE#acsch Inverse hyperbolic cosecant function.#NEWLINE#-------------------------------------------------#NEWLINE#Inverse functions can be prefixed with ar or arc #NEWLINE#instead of a.#NEWLINE#
|
||||
; Table of statements
|
||||
symstatement
|
||||
---------------------------------------------------------#NEWLINE#clear Clear console window.#NEWLINE#def Define function.#NEWLINE#delete Delete variable or function.#NEWLINE#digits Set number of significant digits.#NEWLINE#eval Evaluate arithmetic expression.#NEWLINE#execute Execute statements in a file.#NEWLINE#functions Show list of user defined functions.#NEWLINE#input Change numeral input system (experimental).#NEWLINE#help Show basic help text.#NEWLINE#output Change numeral output system (experimental).#NEWLINE#list Show content of a directory.#NEWLINE#show Show content of a file.#NEWLINE#load Load variable and functions from file.#NEWLINE#save Save variable and functions to file.#NEWLINE#variables Show list of variables.#NEWLINE#version Show version string.#NEWLINE#memory Show internal memory usage.#NEWLINE#exit Exit program.#NEWLINE#---------------------------------------------------------#NEWLINE#The def and eval statements are optional. Functions and#NEWLINE#variables statements can be shorten to funcs and vars.#NEWLINE#
|
||||
---------------------------------------------------------#NEWLINE#clear Clear console window.#NEWLINE#def Define function.#NEWLINE#delete Delete variable or function.#NEWLINE#digits Set number of significant digits.#NEWLINE#eval Evaluate arithmetic expression.#NEWLINE#execute Execute statements in a file.#NEWLINE#functions Show list of user defined functions.#NEWLINE#input Change numeral input system.#NEWLINE#help Show basic help text.#NEWLINE#output Change numeral output system.#NEWLINE#list Show content of a directory.#NEWLINE#show Show content of a file.#NEWLINE#load Load variable and functions from file.#NEWLINE#save Save variable and functions to file.#NEWLINE#variables Show list of variables.#NEWLINE#version Show version string.#NEWLINE#memory Show internal memory usage.#NEWLINE#exit Exit program.#NEWLINE#---------------------------------------------------------#NEWLINE#The def and eval statements are optional. Functions and#NEWLINE#variables statements can be shorten to funcs and vars.#NEWLINE#
|
||||
; Help for complex numbers
|
||||
symcomplex
|
||||
Expressions with complex numbers are written using an i to denote#NEWLINE#the imaginary value. Complex numbers can seamlessly be mixed with#NEWLINE#real numbers.#NEWLINE##SYNTAXHIGHLIGHT#Syntax: 2+3i#NEWLINE#Example: 2+3.2i*cos(-1i)+5/7#NEWLINE#
|
||||
|
||||
@ -8,18 +8,18 @@
|
||||
;## This file is published under Creative Common License. See:
|
||||
;## http://creativecommons.org/licenses/by-sa/3.0/
|
||||
;## Parts of the content came from wikipedia.org:
|
||||
;## http://en.wikipedia.org/wiki/Wikipedia:Copyrights#Re-use_of_text
|
||||
;## https://wikipedia.org/wiki/Wikipedia:Copyrights#Re-use_of_text
|
||||
;#############################################################################
|
||||
; Partly from http://en.wikipedia.org/wiki/Absolute_value
|
||||
; Partly from https://wikipedia.org/wiki/Absolute_value
|
||||
abs
|
||||
The absolute value (or modulus) |x| of a real number x is the#NEWLINE#non-negative value of x without regard to its sign.#NEWLINE##SYNTAXHIGHLIGHT#Example: abs(-237.25)#NORMALTEXT##NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Sign_function
|
||||
; Partly from https://wikipedia.org/wiki/Sign_function
|
||||
sgn
|
||||
The sign function or signum function is used to extract the sign of a number.#NEWLINE#Thus sgn(x) is 1 when x is positive, and sgn(x) is -1 when x is negative.#NEWLINE##SYNTAXHIGHLIGHT#Example: sgn(-23.94)#NORMALTEXT##NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Rounding
|
||||
; Partly from https://wikipedia.org/wiki/Rounding
|
||||
round
|
||||
Rounding a numerical value means replacing it by another value that is#NEWLINE#approximately equal but has a shorter, simpler, or more explicit#NEWLINE#representation. Amath rounds a number to the nearest integer.#NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Rounding
|
||||
; Partly from https://wikipedia.org/wiki/Rounding
|
||||
trunc
|
||||
Truncation is limiting the number of digits right of the decimal point,#NEWLINE#by discarding the least significant ones. Amath truncates a number to#NEWLINE#the nearest integer.#NEWLINE##SYNTAXHIGHLIGHT#Example: trunc(-23.94#NEWLINE#
|
||||
floor
|
||||
@ -36,13 +36,13 @@ ln
|
||||
No help is available for this function.#NEWLINE#
|
||||
lg
|
||||
No help is available for this function.#NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Sine
|
||||
; Partly from https://wikipedia.org/wiki/Sine
|
||||
sin
|
||||
Sine is the trigonometric function that for an acute angle is the#NEWLINE#ratio between the leg opposite the angle when it is considered#NEWLINE#part of a right triangle and the hypotenuse.#NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Trigonometric_functions
|
||||
; Partly from https://wikipedia.org/wiki/Trigonometric_functions
|
||||
cos
|
||||
Cosine is the trigonometric function that for an acute angle is the#NEWLINE#ratio between the leg adjacent to the angle when it is considered#NEWLINE#part of a right triangle and the hypotenuse#NEWLINE#
|
||||
; Partly from http://en.wikipedia.org/wiki/Trigonometric_functions
|
||||
; Partly from https://wikipedia.org/wiki/Trigonometric_functions
|
||||
tan
|
||||
Tangent is one of the trigonometry functions. In a right triangle,#NEWLINE#the tangent of an angle is the opposite side over the adjacent side.#NEWLINE#
|
||||
cot
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
## language english
|
||||
## codeset 0
|
||||
; #############################################################################
|
||||
; Copyright (c) 2015-2017 Carsten Sonne Larsen <cs@innolan.dk>
|
||||
; Copyright (c) 2014-2017 Carsten Sonne Larsen <cs@innolan.net>
|
||||
; All rights reserved.
|
||||
;
|
||||
; Redistribution and use in source and binary forms, with or without
|
||||
|
||||
Reference in New Issue
Block a user