MCPcopy Create free account

hub / github.com/IntrepidPig/mexprp / functions

Functions168 in github.com/IntrepidPig/mexprp

↓ 42 callersMethodto_string
(&self)
src/op.rs:71
↓ 41 callersMethodeval_ctx
Evaluate the term with the given context
src/term.rs:75
↓ 14 callersMethodop
Perform an operation on all the values of an answer with all the values of another answer
src/answer.rs:21
↓ 12 callersMethodunop
Perform an operation on all the values of an answer
src/answer.rs:64
↓ 11 callersMethodunwrap_single
Unwrap the single variant of an answer
src/answer.rs:87
↓ 8 callersMethodset_var
Add a variable definition to the context, replacing any existing one with the same name
src/context.rs:146
↓ 4 callersMethodeval
Evaluate the term with the default context
src/term.rs:69
↓ 4 callersMethodmul
(&self, other: &Self, _ctx: &Context<Self>)
src/num/rugrat.rs:51
↓ 4 callersMethodpartial_cmp
(&self, other: &ComplexFloat)
src/num/complexfloat.rs:99
↓ 4 callersMethodprecedence
(&self)
src/op.rs:32
↓ 3 callersMethodis_operand
Returns true if this expr is an operand (not an operator)
src/term.rs:411
↓ 3 callersMethodsub
(&self, other: &Self, _ctx: &Context<Self>)
src/num/rugrat.rs:45
↓ 2 callersMethodadd
(&self, other: &Self, _ctx: &Context<Self>)
src/num/rugrat.rs:39
↓ 2 callersFunctioneval
Parse and evaluate a string
src/lib.rs:156
↓ 2 callersMethodjoin
Adds all the answers of another answer to the asnwers of this answer, returning a new answer
src/answer.rs:103
↓ 2 callersMethodmul
(&self, other: &Self, _ctx: &Context<Self>)
src/num/complexrugrat.rs:76
↓ 2 callersMethodmul
(&self, other: &Self, _ctx: &Context<Self>)
src/num/complexfloat.rs:54
↓ 2 callersFunctionparen_to_exprs
Convert ParenTokens to exprs. This function accomplishes two things at once. First, it decides if names are functions or variables depending on their
src/term.rs:146
↓ 2 callersMethodparse
Parse a string into an expression
src/term.rs:47
↓ 2 callersMethodset_func
Add a function definition to the context, replacing any existing one with the same name
src/context.rs:151
↓ 2 callersFunctionsin
()
src/tests.rs:47
↓ 2 callersMethodto_string
(&self)
src/opers.rs:36
↓ 2 callersFunctiontokens_to_args
Converts a Vec of ParenTokens into a Vec of a Vec of Exprs, splitting them by commas and then parsing them into Exprs.
src/term.rs:215
↓ 1 callersMethodabs
(&self, _ctx: &Context<Self>)
src/num/rugrat.rs:63
↓ 1 callersMethodconjugate
Returns the complex conjugate of this number
src/num/complexrugrat.rs:100
↓ 1 callersMethodconjugate
Returns the complex conjugate of this number
src/num/complexfloat.rs:78
↓ 1 callersMethoddiv
(&self, other: &Self, _ctx: &Context<Self>)
src/num/rugrat.rs:57
↓ 1 callersMethodeval_ctx
Evaluate the expression with the given context
src/expr.rs:51
↓ 1 callersFunctionget_parse_order
Return a list of functions to use (in order) to try and parse the next token based on the last token that was parsed.
src/parse.rs:179
↓ 1 callersFunctionget_tokens
Get ParenTokens from a string
src/parse.rs:313
↓ 1 callersFunctioninsert_operators
(mut raw: Vec<Expr>)
src/term.rs:234
↓ 1 callersMethodis_left_associative
(&self)
src/op.rs:52
↓ 1 callersFunctionnext_token
Get the next token of a string based on the last token. Returns either a Token and the rest of the string or an error
src/parse.rs:216
↓ 1 callersMethodpartial_cmp
(&self, other: &ComplexRugRat)
src/num/complexrugrat.rs:109
↓ 1 callersFunctionpostfix_to_term
Parse a postfix token stream into a single term
src/term.rs:319
↓ 1 callersMethodpow
(&self, _other: &Self, _ctx: &Context<Self>)
src/num/mod.rs:103
↓ 1 callersFunctionrecurse
(raw: &[Token])
src/parse.rs:253
↓ 1 callersFunctionrecurse
(raw: &[Expr])
src/term.rs:277
↓ 1 callersMethodshould_shunt
True if the operator should be evaluated before this one
src/op.rs:97
↓ 1 callersFunctionto_paren_tokens
Convert tokens to a tree based on expression within parentheses
src/parse.rs:252
↓ 1 callersMethodto_str
(&self)
src/op.rs:120
↓ 1 callersFunctionto_tokens
Convert a string to a list of tokens
src/parse.rs:241
↓ 1 callersMethodto_vec
Convert this answer into a vector
src/answer.rs:95
↓ 1 callersFunctiontokenexprs_to_postfix
Convert a vector of infix exprs to a postfix representations (shunting yard)
src/term.rs:276
↓ 1 callersMethodtryord
(&self, other: &Self, _ctx: &Context<Self>)
src/num/rugrat.rs:31
Methodabs
(&self, _ctx: &Context<Self>)
src/num/mod.rs:121
Methodabs
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:73
Methodabs
(&self, _ctx: &Context<Self>)
src/num/float64.rs:83
Methodacos
(&self, _ctx: &Context<Self>)
src/num/mod.rs:151
Methodacos
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:103
Methodacos
(&self, _ctx: &Context<Self>)
src/num/float64.rs:103
Methodadd
(&self, _other: &Self, _ctx: &Context<Self>)
src/num/mod.rs:79
Methodadd
(&self, other: &Self, ctx: &Context<Self>)
src/num/rugcomplex.rs:33
Methodadd
(&self, other: &Self, _ctx: &Context<Self>)
src/num/complexrugrat.rs:62
Methodadd
(&self, other: &Self, _ctx: &Context<Self>)
src/num/float64.rs:49
Methodadd
(&self, other: &Self, _ctx: &Context<Self>)
src/num/complexfloat.rs:40
Methodasin
(&self, _ctx: &Context<Self>)
src/num/mod.rs:145
Methodasin
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:97
Methodasin
(&self, _ctx: &Context<Self>)
src/num/float64.rs:99
Methodatan
(&self, _ctx: &Context<Self>)
src/num/mod.rs:157
Methodatan
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:109
Methodatan
(&self, _ctx: &Context<Self>)
src/num/float64.rs:107
Methodatan2
(&self, _other: &Self, _ctx: &Context<Self>)
src/num/mod.rs:163
Methodatan2
(&self, other: &Self, _ctx: &Context<Self>)
src/num/float64.rs:111
Functionbasic
()
src/tests.rs:13
Methodceil
(&self, _ctx: &Context<Self>)
src/num/rugrat.rs:75
Methodceil
(&self, _ctx: &Context<Self>)
src/num/mod.rs:175
Methodceil
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:124
Methodceil
(&self, _ctx: &Context<Self>)
src/num/float64.rs:119
Methodcos
(&self, _ctx: &Context<Self>)
src/num/mod.rs:133
Methodcos
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:85
Methodcos
(&self, _ctx: &Context<Self>)
src/num/float64.rs:91
Methoddefault
()
src/context.rs:177
Methoddiv
(&self, _other: &Self, _ctx: &Context<Self>)
src/num/mod.rs:97
Methoddiv
(&self, other: &Self, ctx: &Context<Self>)
src/num/rugcomplex.rs:51
Methoddiv
(&self, other: &Self, ctx: &Context<Self>)
src/num/complexrugrat.rs:87
Methoddiv
(&self, other: &Self, _ctx: &Context<Self>)
src/num/float64.rs:61
Methoddiv
(&self, other: &Self, ctx: &Context<Self>)
src/num/complexfloat.rs:65
Methodempty
Creates an empty `Context` with the default config
src/context.rs:156
Functioneq
(x: N, y: f64)
src/tests.rs:82
Methodeq
(&self, other: &ComplexRugRat)
src/num/complexrugrat.rs:115
Methodeq
(&self, other: &ComplexFloat)
src/num/complexfloat.rs:105
Methodeval
(&self, args: &[Term<N>], ctx: &Context<N>)
src/func.rs:19
Methodeval
(&self, ctx: &Context<N>)
src/opers.rs:27
Methodeval
(&self, args: &[Term<N>], ctx: &Context<N>)
src/context.rs:216
Methodeval
Evaluate the expression
src/expr.rs:46
Functioneval_ctx
Parse and evaluate a string with the given context
src/lib.rs:161
Functionexpr_context
()
src/tests.rs:31
Methodfloor
(&self, _ctx: &Context<Self>)
src/num/rugrat.rs:69
Methodfloor
(&self, _ctx: &Context<Self>)
src/num/mod.rs:169
Methodfloor
(&self, ctx: &Context<Self>)
src/num/rugcomplex.rs:115
Methodfloor
(&self, _ctx: &Context<Self>)
src/num/float64.rs:115
Methodfmt
(&self, f: &mut fmt::Formatter)
src/answer.rs:127
Methodfmt
(&self, f: &mut fmt::Formatter)
src/term.rs:120
Methodfmt
(&self, f: &mut fmt::Formatter)
src/context.rs:189
Methodfmt
(&self, f: &mut fmt::Formatter)
src/op.rs:108
Methodfmt
(&self, f: &mut fmt::Formatter)
src/expr.rs:57
Methodfmt
(&self, f: &mut fmt::Formatter)
src/num/complexrugrat.rs:121
Methodfmt
(&self, f: &mut fmt::Formatter)
src/num/complexfloat.rs:111
Methodfrom
(t: ParseError)
src/errors.rs:81
next →1–100 of 168, ranked by callers