MCPcopy Create free account

hub / github.com/Aghajari/MathParser / functions

Functions186 in github.com/Aghajari/MathParser

↓ 26 callersMethodtrim
()
MathParser/src/com/aghajari/math/MathParser.java:1112
↓ 18 callersMethodapply
(double a, double b)
MathParser/src/com/aghajari/math/MathParser.java:873
↓ 14 callersMethodget
()
MathParser/src/com/aghajari/math/MathParser.java:1116
↓ 13 callersMethodgetVariable
Returns the instance of {@link MathVariable} if the variable exists on {@link #getVariables()} or {@link #getInnerVariables()}, Null otherwise.
MathParser/src/com/aghajari/math/MathParser.java:757
↓ 9 callersMethodparse
Parses and calculates the expression @param expression the expression to parse and calculate @throws MathParserException If somethi
MathParser/src/com/aghajari/math/MathParser.java:168
↓ 7 callersMethodrealTrim
(String src)
MathParser/src/com/aghajari/math/Utils.java:201
↓ 7 callersMethodwrap
(final Method method)
MathParser/src/com/aghajari/math/MathFunction.java:60
↓ 6 callersMethodcalculate
Calculates and returns the value Parameters are usually double values
MathParser/src/com/aghajari/math/MathFunction.java:46
↓ 6 callersMethodgetParameterCount
()
MathParser/src/com/aghajari/math/MathFunction.java:48
↓ 5 callersMethodaddVariable
Adds a new variable to this {@link MathParser} @param name variable name @param expression expression of variable @see #addVariable(String, dou
MathParser/src/com/aghajari/math/MathParser.java:610
↓ 5 callersMethodisIdentifier
(String text)
MathParser/src/com/aghajari/math/Utils.java:205
↓ 5 callersMethodlog
(double a, double b)
MathParser/src/com/aghajari/math/Functions.java:113
↓ 4 callersMethodaddConst
Adds a const variable to {@link #innerVariables};
MathParser/src/com/aghajari/math/MathParser.java:747
↓ 4 callersMethodclone
Creates a new copy of this {@link MathParser} @return a shallow copy of this {@link MathParser} @noinspection MethodDoesntCallSuperMethod
MathParser/src/com/aghajari/math/MathParser.java:844
↓ 4 callersMethodfindBestIndex
(String src, boolean before)
MathParser/src/com/aghajari/math/Utils.java:104
↓ 4 callersMethodgetAnswer
()
MathParser/src/com/aghajari/math/MathParser.java:905
↓ 4 callersMethodisSpecialSign
@return True if src is an special characters, False otherwise
MathParser/src/com/aghajari/math/MathParser.java:831
↓ 4 callersMethodremoveVariable
Removes the specified variable from {@link #getVariables()}
MathParser/src/com/aghajari/math/MathParser.java:689
↓ 4 callersMethodtoString
()
MathParser/src/com/aghajari/math/MathParser.java:957
↓ 3 callersMethodaddFunctions
(Collection<Method> methods, List<MathFunction> functions)
MathParser/src/com/aghajari/math/Functions.java:71
↓ 3 callersMethodcalculate
Calculates and returns the value of an expression @param exp the simplified expression @param main the original expression
MathParser/src/com/aghajari/math/MathParser.java:385
↓ 3 callersMethodfactorial
(double x)
MathParser/src/com/aghajari/math/Functions.java:272
↓ 3 callersMethodgetVariables
Returns the list of imported variables
MathParser/src/com/aghajari/math/MathParser.java:726
↓ 3 callersMethodmin
(Double... a)
MathParser/src/com/aghajari/math/Functions.java:141
↓ 2 callersMethodarccosh
(double x)
MathParser/src/com/aghajari/math/Functions.java:379
↓ 2 callersMethodarcsinh
(double x)
MathParser/src/com/aghajari/math/Functions.java:391
↓ 2 callersMethodarctanh
(double x)
MathParser/src/com/aghajari/math/Functions.java:451
↓ 2 callersMethodattachToParser
Calls when this function just attached to a parser or it's parent variable called to calculate
MathParser/src/com/aghajari/math/MathFunction.java:58
↓ 2 callersMethodcompareNames
@return True if name mentions this function
MathParser/src/com/aghajari/math/MathFunction.java:40
↓ 2 callersMethodcreate
()
MathParser/src/com/aghajari/math/MathParser.java:153
↓ 2 callersMethodfirstSimplify
Simplify syntax for common functions
MathParser/src/com/aghajari/math/MathParser.java:197
↓ 2 callersMethodfix
(String src, String function, char c)
MathParser/src/com/aghajari/math/MathParser.java:238
↓ 2 callersMethodgetExpression
()
MathParser/src/com/aghajari/math/MathParser.java:945
↓ 2 callersMethodgetName
()
MathParser/src/com/aghajari/math/MathParser.java:941
↓ 2 callersMethodisUnsignedInteger
(String s)
MathParser/src/com/aghajari/math/Utils.java:192
↓ 2 callersMethodmax
(Double... a)
MathParser/src/com/aghajari/math/Functions.java:134
↓ 2 callersMethodname
@return the name of function
MathParser/src/com/aghajari/math/MathFunction.java:35
↓ 2 callersMethodround
Rounds the value if {@link #roundEnabled} is true. @see #setRoundEnabled(boolean) @see #isRoundEnabled()
MathParser/src/com/aghajari/math/MathParser.java:373
↓ 2 callersMethodsetRoundEnabled
Because of the way floating-point numbers are stored as binary, it is better to round them a bit <p> Some functions like {@link Functions#derivative(M
MathParser/src/com/aghajari/math/MathParser.java:779
↓ 2 callersMethodtrySplitVariables
(String word, double coefficient)
MathParser/src/com/aghajari/math/MathParser.java:1065
↓ 2 callersMethodvalidate
validate syntax
MathParser/src/com/aghajari/math/MathParser.java:190
↓ 1 callersMethodaddExpression
Adds support of an expression to this {@link MathParser}, the expression must contains {@code =}, There are two types of phrases. Variable and Functio
MathParser/src/com/aghajari/math/MathParser.java:594
↓ 1 callersMethodaddFunction
Adds a new function to this {@link MathParser} @see #addExpression(String)
MathParser/src/com/aghajari/math/MathParser.java:659
↓ 1 callersMethodarccot
(double x)
MathParser/src/com/aghajari/math/Functions.java:463
↓ 1 callersMethodarccoth
(double x)
MathParser/src/com/aghajari/math/Functions.java:471
↓ 1 callersMethodarccsc
(double x)
MathParser/src/com/aghajari/math/Functions.java:427
↓ 1 callersMethodarccsch
(double x)
MathParser/src/com/aghajari/math/Functions.java:439
↓ 1 callersMethodarcsec
(double x)
MathParser/src/com/aghajari/math/Functions.java:403
↓ 1 callersMethodarcsech
(double x)
MathParser/src/com/aghajari/math/Functions.java:415
↓ 1 callersMethodarctan
(double x)
MathParser/src/com/aghajari/math/Functions.java:443
↓ 1 callersMethodavg
(Double... a)
MathParser/src/com/aghajari/math/Functions.java:159
↓ 1 callersMethodcalculateVariables
Calculate the answer of variables
MathParser/src/com/aghajari/math/MathParser.java:356
↓ 1 callersMethodcouldNotFindVariables
Couldn't find the variable but let's try to guess what could it be, may help to debug the expression
MathParser/src/com/aghajari/math/MathParser.java:1093
↓ 1 callersMethodfindCharAfter
(String src, int start)
MathParser/src/com/aghajari/math/Utils.java:93
↓ 1 callersMethodfindCharBefore
(String src, int start)
MathParser/src/com/aghajari/math/Utils.java:84
↓ 1 callersMethodfixBinary
(0b010) -> (2)
MathParser/src/com/aghajari/math/MathParser.java:304
↓ 1 callersMethodfixDegrees
Makes degrees readable for Math trigonometry functions x° => toRadians(x)
MathParser/src/com/aghajari/math/MathParser.java:212
↓ 1 callersMethodfixDoubleType
(2e+2) -> (200.0)
MathParser/src/com/aghajari/math/MathParser.java:278
↓ 1 callersMethodfixFactorial
Makes factorial readable x! => factorial(x)
MathParser/src/com/aghajari/math/MathParser.java:234
↓ 1 callersMethodfixHexadecimal
(0x0FF) -> (255)
MathParser/src/com/aghajari/math/MathParser.java:318
↓ 1 callersMethodfixOctal
(0o027) -> (23)
MathParser/src/com/aghajari/math/MathParser.java:332
↓ 1 callersMethodgaussQuad
()
MathParser/src/com/aghajari/math/custom/Integration.java:105
↓ 1 callersMethodgaussQuadCoeff
(double[] gaussQuadDist, double[] gaussQuadWeight, int n)
MathParser/src/com/aghajari/math/custom/Integration.java:172
↓ 1 callersMethodgenerateMessages
(String src, int index)
MathParser/src/com/aghajari/math/exception/MathParserException.java:44
↓ 1 callersMethodgenerateTmpName
Generates a new unique name for temp variables in format of __tmp{index}
MathParser/src/com/aghajari/math/MathParser.java:570
↓ 1 callersMethodgetCursor
()
MathParser/src/com/aghajari/math/exception/MathParserException.java:36
↓ 1 callersMethodgetDerivative
Calculates the derivative around a certain point using a numerical approximation. @param x the x-coordinate at which to approximate the derivative @r
MathParser/src/com/aghajari/math/custom/Derivative.java:22
↓ 1 callersMethodgetFunction
(String src, int index, String name, int count, List<MathFunction> innerFunctions)
MathParser/src/com/aghajari/math/Functions.java:89
↓ 1 callersMethodgetFunctions
Returns the list of imported functions
MathParser/src/com/aghajari/math/MathParser.java:733
↓ 1 callersMethodgetInnerVariables
Returns the list of const and temp variables
MathParser/src/com/aghajari/math/MathParser.java:740
↓ 1 callersMethodgetIntegralSum
()
MathParser/src/com/aghajari/math/custom/Integration.java:96
↓ 1 callersMethodgetLevenshteinDistance
java.org.apache.commons.lang3.StringUtils#getLevenshteinDistance(CharSequence, CharSequence)
MathParser/src/com/aghajari/math/Utils.java:141
↓ 1 callersMethodinitDefaultVariables
Adds default constants {pi, e}
MathParser/src/com/aghajari/math/MathParser.java:346
↓ 1 callersMethodintegral
(MathParser parser, String variableName, String exp, double lowerLimit, double upperLimit)
MathParser/src/com/aghajari/math/Functions.java:237
↓ 1 callersMethodisExp
(String line)
MathParser/src/com/aghajari/Main.java:47
↓ 1 callersMethodisMathSign
@return True if src exists on supported operations, False otherwise
MathParser/src/com/aghajari/math/MathParser.java:814
↓ 1 callersMethodisSpecialParameter
@return True if the parameter at specified index won't be a double value (String otherwise)
MathParser/src/com/aghajari/math/MathFunction.java:53
↓ 1 callersMethodlimit
(MathParser parser, String variable, String exp)
MathParser/src/com/aghajari/math/Functions.java:197
↓ 1 callersMethodlimit
(MathParser parser, MathParser.MathVariable var, String exp, double approach)
MathParser/src/com/aghajari/math/custom/LimitFunction.java:14
↓ 1 callersMethodlimitFromAbove
(FunctionWrapper function, double approach)
MathParser/src/com/aghajari/math/custom/LimitFunction.java:43
↓ 1 callersMethodlimitFromBelow
(FunctionWrapper function, double approach)
MathParser/src/com/aghajari/math/custom/LimitFunction.java:23
↓ 1 callersMethodnextWord
()
MathParser/src/com/aghajari/math/MathParser.java:1122
↓ 1 callersMethodnot
(double a)
MathParser/src/com/aghajari/math/Functions.java:294
↓ 1 callersMethodor
(double a, double b)
MathParser/src/com/aghajari/math/Functions.java:298
↓ 1 callersMethodorderAgain
{@link #calculate(String, String, boolean)} has simplified the expression as much as it's possible, It is time to set priorities of {@link #operations
MathParser/src/com/aghajari/math/MathParser.java:525
↓ 1 callersMethodradical
(double a)
MathParser/src/com/aghajari/math/Functions.java:121
↓ 1 callersMethodrepeat
@see jdk.internal.joptsimple.internal.Strings#repeat(char, int)
MathParser/src/com/aghajari/math/Utils.java:75
↓ 1 callersMethodsimilarity
Calculates the similarity (a number within 0 and 1) between two strings. https://stackoverflow.com/a/16018452/9187189
MathParser/src/com/aghajari/math/Utils.java:124
↓ 1 callersMethodsum
(Double... a)
MathParser/src/com/aghajari/math/Functions.java:148
↓ 1 callersMethodtryParseWord
so there is a string which isn't a number, this function will try to parse this word and check for variables "xy" => can be two variables (x or y) or
MathParser/src/com/aghajari/math/MathParser.java:1038
↓ 1 callersMethodupdateAnswer
(Object... answers)
MathParser/src/com/aghajari/math/MathParser.java:913
↓ 1 callersMethodvalidateBalancedParentheses
@param src the expression to check @throws BalancedParenthesesException If parentheses aren't balanced
MathParser/src/com/aghajari/math/Utils.java:48
MethodBalancedParenthesesException
(String src, int index)
MathParser/src/com/aghajari/math/exception/BalancedParenthesesException.java:5
MethodExpValue
(String expression, String original)
MathParser/src/com/aghajari/math/MathParser.java:981
MethodFunctionWrapper
(MathParser parser, String exp, MathParser.MathVariable var)
MathParser/src/com/aghajari/math/custom/FunctionWrapper.java:12
MethodIF
(MathParser parser, String condition, String a, String b)
MathParser/src/com/aghajari/math/Functions.java:326
MethodIntegration
(FunctionWrapper intFunc)
MathParser/src/com/aghajari/math/custom/Integration.java:40
MethodLimitFunction
()
MathParser/src/com/aghajari/math/custom/LimitFunction.java:11
MethodMathFunctionInvalidArgumentsException
(String src, int index, MathFunction function, int count)
MathParser/src/com/aghajari/math/exception/MathFunctionInvalidArgumentsException.java:9
MethodMathFunctionNotFoundException
(String src, int index, String function)
MathParser/src/com/aghajari/math/exception/MathFunctionNotFoundException.java:9
next →1–100 of 186, ranked by callers