AngouriMath.Entity
Classes within the AngouriMath.Entity namespace
Absf
Summary
A node of abs
Alephf
Summary
The aleph numberaleph(k) , the size of an infinite set:aleph(0) is the
size of the whole numbers, andaleph(k + 1) the least size after
aleph(k) .
Remarks
card of an infinite set is one of these, or a power of2 of one:
card(ZZ) isaleph(0) andcard(RR) is2^aleph(0) , which is an
aleph but not a named one -- that it isaleph(1) is the continuum hypothesis,
which ZFC does not decide. A sum or a product of sizes is the larger of them, and the
sizes compare.
https://github.com/asc-community/AngouriMath/issues/1409
Andf
Summary
Is true iff both operands are true
Application
Summary
Application of arguments to the given expression
Arccosecantf
Summary
A node of arccosecant
Arccosf
Summary
A node of arccosine
Arccotanf
Summary
A node of arccotangent
Arcsecantf
Summary
A node of arcsecant
Arcsinf
Summary
A node of arcsine
Arctanf
Summary
A node of arctangent
Argf
Summary
The principal argumentarg(z) : the angle ofz from the positive real axis,
in(-pi, pi] , so thatz = |z| e^(i arg(z)) .
Remarks
arg(-1) ispi , the end of the interval that is included, as the principal
logarithm's imaginary part is.arg(0) has no value: every angle fits
0 = 0 e^(i t) .
https://github.com/asc-community/AngouriMath/issues/2145
Argmaxf
Summary
The set of points at which an expression takes its largest value over a set:
argmax(f(t), t in S) . See Maximumf.
Argminf
Summary
The set of points at which an expression takes its smallest value over a set:
argmin(f(t), t in S) . See Maximumf.
Betaf
Summary
The beta functionB(a, b) = Γ(a) Γ(b)/Γ(a + b) (DLMF 5.12.1), writtenbeta(a, b) . It has no
value wherea orb is0, -1, -2, ... , unlessa + b is one as well and the other
argument is a whole numbern >= 1 : there it is the value at that point of
B(n, b) = (n - 1)!/(b (b + 1) ... (b + n - 1)) , a rational function ofb , so that
B(1, b) = 1/b holds wherever either side has a value. Wherea + b is0, -1, -2, ... and
neither argument is, it is0 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182Binomialf
Summary
A node of the binomial coefficientbinomial(n, k) , "n choose k".
Remarks
A node rather thann!/(k! (n - k)!) : that quotient is correct and useless as a
spelling -- it loses the integrality, it is undefined for a negativen where
the falling factorialn (n - 1) ... (n - k + 1)/k! is not, and no rule can
recognise Pascal's identity or Vandermonde's in a ratio of three factorials. The
falling factorial is the definition for a wholek , whatevern is; a
wholek below zero gives0 ; and for ak that is not whole the
value isΓ(n + 1)/(Γ(k + 1) Γ(n - k + 1)) , which has no value wheren is a negative whole number. What cannot be settled is left as this node.
https://github.com/asc-community/AngouriMath/issues/1409
https://github.com/asc-community/AngouriMath/issues/809
Boolean
Summary
This node represents all possible values a boolean node might be of
CalculusOperator
Summary
Describes any calculus operator
Remarks
Cardf
Summary
This node represents the cardinality of a set:card(S) is the number of
elements ofS . Counted for a finite set whose elements are numbers, and for
an interval whose ends are; left as written for an infinite set, which has a
cardinality this library has no number for, and for a set whose elements are not
yet known to be distinct.
https://github.com/asc-community/AngouriMath/issues/1212
CatalanNumberf
Summary
The Catalan numbercatalannumber(n) ,C_n = binomial(2n, n) / (n + 1) : 1, 1, 2, 5,
14 fromn = 0 , the number of ways to bracket a product ofn + 1 factors.
Remarks
Off the whole numbers it is4^n Γ(n + 1/2) / (√π Γ(n + 2)) , as Mathematica's
CatalanNumber and SymPy'scatalan are:-1/2 at-1 ,0 at
every whole number below it, and no value at a negative half-integer, a pole of Γ(n + 1/2).
https://github.com/asc-community/AngouriMath/issues/2182
Ceilf
Summary
A node of ceil: the least integer not below the argument.
Remarks
Chif
Summary
The hyperbolic cosine integral,Chi(z) = gamma + ln z + int_0^z (cosh t - 1)/t dt , with the cut ofln .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Cif
Summary
The cosine integral,Ci(z) = gamma + ln z + int_0^z (cos t - 1)/t dt , with the cut ofln .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501ComparisonSign
Summary
=, <, >, >=, <=
Nodes Equalsf, Lessf, LessOrEqualf, Greaterf, GreaterOrEqualf are assignable to this type.
Congruentf
Summary
The statement thata andb are congruent modulon : written
a = b (mod n) , ora ≡ b (mod n) , and meaningn divides a - b . A
relation between integers with the modulus written once at the end, as mathematics
writes it — not the remainder operatora mod n , which is a number, and which the
reference this follows refuses to write in this sense at all. The modulus may be any
integer: modulo0 it is equality, and its sign is immaterial, exactly as in
n divides a - b . A statement about integers:NaN elsewhere.
https://github.com/asc-community/AngouriMath/issues/1409
Conjugatef
Summary
The complex conjugateconjugate(z) , also writtenconj(z) :a - b i for
z = a + b i .
Remarks
An involution that fixes the real numbers and sendsi to-i , and a field
automorphism, so it is carried through sums, differences, products, quotients and whole
powers. It is not carried through a root or a logarithm: their branch cuts lie on the
negative real axis, where the conjugate of the principal value is not the principal value
of the conjugate, assqrt(-1) isi and its conjugate-i .
https://github.com/asc-community/AngouriMath/issues/2145
Constant
Summary
A mathematical constant: a number whose spelling happens to be a legal identifier.
Remarks
It is a Variable by inheritance, so everything that reads a leaf by name
keeps working, and a distinct type by record identity, which is the whole point: a
binder that declarespi and the constantpi are no longer one object, so
evaluation can tell them apart without being told where it is.
#984A binder binds occurrences, not values, and that is the whole of the second
distinction here. Every constant a writer types is the one object in
NamedConstants , because the parser and pi hand that
object back; the base ofln and ofexp is
EulerIntrinsic, a separate object, because it is Euler's number standing
in an operator's own definition and not a reference to the namee . A binder
replaces the occurrences it was handed — compared by reference — so
sum(ln(x), e, 1, 2) is2 * ln(x) whilesum(log(e, x), e, 1, 2) ,
where the writer did namee , islog(1, x) + log(2, x) .
The two are equal, and deliberately so: they are the same number, they print
alike, and any rule that matches one matches the other, so nothing about canonical form,
equality or substitution changes. Only the identity of the occurrence differs, and only
while a binder is deciding what it binds — which is at construction, before anything
evaluates.
ContinuousNode
Summary
Any node that might be counted as a number, derived, etc. is continuous
Cosecantf
Summary
A node of secant
Cosf
Summary
A node of cosine
Cotanf
Summary
A node of cotangent
CrossProductf
Summary
The vector productcross(a, b) of two vectors in three dimensions, a column. It is not commutative:
cross(b, a) is-cross(a, b) , and the operands are never put in another order.
Remarks
Computed when both operands are vectors of three components, each a column or a row. Anything else has no vector
product, and the node is left as it is rather than given a value.cross(a) of one vector in the plane is
computed from a vector written out only, and has no node.
https://github.com/asc-community/AngouriMath/issues/105
Derivativef
Summary
A node of derivative
Remarks
Negative iterations convert to integrals.
Determinantf
Summary
The determinantdet(A) of a square matrix.
Remarks
Computed when Argument is a matrix, by Determinant. A
matrix that is not square has no determinant, and the node is left as it is rather than
given a value.
Divf
Summary
A node of division
Dividesf
Summary
This node represents whether the first argument divides the second:a divides b is the statement thatb is a whole multiple ofa , which for integers is
b mod a = 0 , and0 divides b exactly whenb is 0. A statement
about integers: over anything else it isNaN .
https://github.com/asc-community/AngouriMath/issues/1212
DivisorSigmaf
Summary
The divisor functiondivisorsigma(k, n) ,σ_k(n) : the sum of thek -th powers of
the positive divisors of the positive integern , soσ_0 counts them andσ_1 sums
them. The order first, as the notation and Mathematica'sDivisorSigma[k, n] read.
Remarks
https://github.com/asc-community/AngouriMath/issues/2182DotProductf
Summary
The scalar productdot(a, b) of two vectors of one length: the sum of the products of their components,
neither side conjugated, as SymPy'sdot and Mathematica'sDot are.
Remarks
Computed when both operands are vectors, each a column or a row. Vectors of different lengths, or a matrix that
is not a vector, have no scalar product, and the node is left as it is rather than given a value.
https://github.com/asc-community/AngouriMath/issues/105
DoubleFactorialf
Summary
The double factorialn!! : the product of the positive integers up ton with its
parity,n (n - 2) (n - 4) ... , which is not(n!)! .
Remarks
Defined on the integers but the negative even ones:0!! and(-1)!! are the empty
product1 , and below themn!! = (n + 2)!!/(n + 2) , so(-3)!! is
-1 and(-5)!! is1/3 . Off the integers it has no value: the extension
through the gamma function does not give0!! = 1 , so no extension is the double
factorial's. https://github.com/asc-community/AngouriMath/issues/2182
Eif
Summary
The exponential integral,Ei(z) = gamma + (ln z - ln(1/z))/2 + sum_(k >= 1) z^k/(k k!) ,
which on the real line is the principal value ofint_-oo^x e^t/t dt .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Equalsf
Summary
It is true if left and right are equal
Erfcf
Summary
The complementary error function,erfc(z) = 1 - erf(z) .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Erff
Summary
The error function,erf(z) = 2/sqrt(pi) int_0^z e^(-t^2) dt , entire and odd.
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Erfif
Summary
The imaginary error function,erfi(z) = -i erf(i z) , which on the real line is
2/sqrt(pi) int_0^x e^(t^2) dt .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Existsf
Summary
ExistsUniquef
Summary
exists! x in S : P : exactly one member ofS satisfiesP , which is
exists x in S : P and forall y in S : P(y) implies y = x . See Quantifier.
Factorialf
Summary
A node of factorial
FactorialPowers
Summary
The falling and the rising factorial of a number to a whole order, as products.FallingFactorialf
Summary
The falling factorialfallingfactorial(x, n) ,x to then falling:x (x - 1) ... (x - n + 1) for a wholen >= 0 , in the notationx^{\underline{n}} of Graham, Knuth and Patashnik's Concrete Mathematics.
Remarks
For a negative wholen it is1 / ((x + 1) (x + 2) ... (x - n)) , the book's (2.52), and for any othern it isΓ(x + 1) / Γ(x - n + 1) , as Mathematica'sFactorialPower is.
https://github.com/asc-community/AngouriMath/issues/2182
Floorf
Summary
A node of floor: the greatest integer not above the argument.
Remarks
On a complex argument it is taken componentwise, so that
floor(3/2 + 5/2i) is1 + 2i . That is what SymPy and Mathematica
both do, and it is the only reading under whichfloor of a real number
keeps its meaning when the imaginary part happens to be zero.
Forallf
Summary
Function
Summary
Describes any node that is a function (e. g. sin, cos, etc.) or calculus operator (e. g. derivative, integral, limit)
but not an arithmetic operator or leaf
Gcdf
Summary
A node of gcd: the greatest common divisor of its two arguments.
Remarks
Not integers only. SymPy'sgcd is the polynomial gcd with the integer case
as a special case, and this library already computes one — see
PolynomialGcd, which the
PolynomialGcdCancellation rule set uses. What cannot be settled is left as
this node rather than guessed at.
Greaterf
Summary
It is true iff both parts are numeric and real, and left number is greater
than the right one
It is false iff both parts are numeric and real, and left number is less or equal
the right one
It is NaN/unsimplified otherwise.
GreaterOrEqualf
Summary
It is true iff both parts are numeric and real, and left number is greater
than the right one or equal to it
It is false iff both parts are numeric and real, and left number is less
the right one
It is NaN/unsimplified otherwise.
HarmonicNumberf
Summary
The harmonic numberharmonicnumber(n) ,H_n = 1 + 1/2 + ... + 1/n , and the
generalized oneharmonicnumber(n, m) ,H_n^(m) = 1 + 1/2^m + ... + 1/n^m .
Remarks
Off the whole numbers it isζ(m) - ζ(m, n + 1) , as Mathematica'sHarmonicNumber is:ψ(n + 1) - ψ(1) form = 1 , which is2 - 2 ln 2 atn = 1/2 . It
has no value at a negative integern , a pole of the Hurwitz zeta function, but for a
whole orderm <= 0 , where it is a polynomial inn .
https://github.com/asc-community/AngouriMath/issues/2182
Imf
Summary
The imaginary partIm(z) , also writtenim(z) andimag(z) : the real
numberb forz = a + b i , notb i .
Remarks
https://github.com/asc-community/AngouriMath/issues/2145Impliesf
Summary
Is true iff assumption is false or conclusion is true
IncompleteGammaf
Summary
The upper incomplete gamma function,Gamma(a, z) = int_z^oo t^(a - 1) e^(-t) dt , with the principal branch
ofz^a : the cut is the negative real axis.
Remarks
https://github.com/asc-community/AngouriMath/issues/2075Integralf
Summary
A node of integral
Iversonf
Summary
The Iverson bracketiverson(P) :1 where the statementP holds and
0 where it does not.
Remarks
It is how a count is written as a sum:sum(iverson(k divides 12), k, 1, 12) is
the number of divisors of12 . A named function rather than a bracket, since every
bracket shape the grammar has already means something: a vector, a matrix, an interval.
A statement that is not decided keeps the node, and so does a number, which is not a
statement, as a connective keeps one.
https://github.com/asc-community/AngouriMath/issues/1478
Lambda
Summary
A lambda with the only parameter and its body
LambertWf
Summary
The Lambert W functionW_k(z) , the solutionw ofw e^w = z on the branch
k , a whole number:lambertw(z) is the principal branch andlambertw(k, z) the branchk , as Mathematica'sProductLog is.
Remarks
The branches are those of Corless, Gonnet, Hare, Jeffrey and Knuth (1996):W_0 is real
on[-1/e, +oo) andW_(-1) on[-1/e, 0) , and both are-1 at-1/e .
https://github.com/asc-community/AngouriMath/issues/2182
Lcmf
Summary
The least common multiple of two numbers:lcm(a, b) , non-negative by the same
convention as Gcdf, and0 where either is0 . Over
rationalslcm(a/b, c/d) islcm(a, c) / gcd(b, d) , which is what SymPy
gives. Left as this node where it cannot be settled.
https://github.com/asc-community/AngouriMath/issues/1409
Lessf
Summary
It is true iff both parts are numeric and real, and left number is less
than the right one
It is false iff both parts are numeric and real, and left number is greater or equal
the right one
It is NaN/unsimplified otherwise.
LessOrEqualf
Summary
It is true iff both parts are numeric and real, and left number is less
than the right one or equal to it
It is false iff both parts are numeric and real, and left number is greater
the right one
It is NaN/unsimplified otherwise.
Lif
Summary
The logarithmic integral,li(z) = Ei(ln z) , which onx > 0 is the principal
value ofint_0^x dt/ln t .
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Limitf
Summary
A node of limit
Logf
Summary
A node of logarithm
Matrix
Summary
Basic matrix implementation: https://en.wikipedia.org/wiki/Matrix_(mathematics)MatrixEntryf
Summary
The entryA[i, j] in rowi and columnj of a matrix, counted from 1
asa_ij is.
Remarks
Computed when Argument is a matrix and both indices are whole numbers in
its range. An index out of the range or not whole names no entry, and the node is left
as it is rather than given a value.
Maxf
Summary
A node of max: the greater of its two arguments.
Remarks
See Minf for why this is a node.Maximumf
Summary
The largest value of an expression as a variable ranges over a set:
max(f(t), t in S) . A binder, like Summationf: the variable is
bound throughout the expression and the set.
https://github.com/asc-community/AngouriMath/issues/1212
Minf
Summary
A node of min: the lesser of its two arguments.
Remarks
A node rather than sugar over(a + b - abs(a - b)) / 2 . The closed form is
what this simplifies to where that helps; it is not what it should print
as, and the round-trip contract would make that permanent. SymPy keeps
Min as a node for the same reason.
Only ordered arguments compare, so a complex one is left alone rather than
guessed at.
Minimumf
Summary
The smallest value of an expression as a variable ranges over a set:
min(f(t), t in S) . See Maximumf.
Minusf
Summary
A node of difference
Mobiusf
Summary
The Möbius functionmobius(n) ,μ(n) : 0 where a square of a prime divides the positive integern , and(-1)^k wheren is a product ofk distinct primes, soμ(1) = 1 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182Modf
Summary
A node of modulus, that is, the floored remainder after division,
a - b * floor(a / b) , which takes the sign of the divisor:
(-7) mod 3 is2 and7 mod (-3) is-2 , the convention of
SymPy, Mathematica and Maxima and the one under which the residues modulon are0 ton - 1 . Not C#'s% , which truncates; this comment said
the opposite of what the evaluation and the documentation do.
Mulf
Summary
A node of product
NodeStack
Summary
The pre-order walk behind Nodes: the node, then each child's walk in
order, kept on an explicit stack rented from Shared.
Remarks
It allocates nothing, per node or per walk, and keeps nothing on the tree. A chain of
LINQ iterators costs an iterator per node per enumeration, and caching it on every
node keeps that chain alive as long as the node; caching the walk's result instead is
quadratic in memory, since every node would hold its whole subtree (31 MB on a sum of
2000 terms).
#534Every walk has its own stack, so a predicate that walks another tree while this one
is being walked, on this thread or another, shares nothing with it. A walk that is
abandoned without Release only fails to give its array back to the
pool. It is a mutable struct: copying one mid-walk would share the array, so it is
only ever held in a local or in NodeWalk.
NodeWalk
Summary
Normf
Summary
The p-norm of a vector,norm(v, p) = (|v_1|^p + ... + |v_n|^p)^(1/p) forp >= 1 , and the
largest of the moduli|v_i| atp = +oo . The 2-norm is the absolute value of the vector,
abs(v) , and is computed as that. Belowp = 1 it is not a norm, the triangle inequality failing,
and has no value. A vector written out is taken when simplified; the node stays where the vector or
p is not known.
Remarks
https://github.com/asc-community/AngouriMath/issues/2182Notf
Summary
Whatever its argument is, the result will be inverted
Number
Summary
Orf
Summary
Is true iff at least one operand is true,
PartialDerivativef
Summary
A partial derivative,∂L/∂q : the derivative of Expression in the slot Var, with everything else held fixed.
Remarks
Where Derivativef is the total derivative, which follows everything that
moves when its variable does, this holds fixed whatever is not its slot. The two agree
over a variable. Over an unknown function applied,q = f(x) , or a derivative of
one,f'(x) , they do not:f' andx are other slots, as in the
Euler–Lagrange equation, so the partial derivative off^2 + f'^2 inf is
2f , and the total derivative is2f + 2f'' wheref' ≠ 0 .
A slot is a variable, an unknown function applied, or a derivative of one in a
variable. Over any other expression the node is left as written:x^2 and
x * x are one value, and the slotx^2 occurs in only one of them.
It does not bind its slot: it is a function of it, as a derivative is. #230 Phif
Summary
This node represents the Euler totient function (phi)
Piecewise
Summary
This is a node which defined on different subsets differently. When evaluating, it will turn
into a particular case once all cases' predicates before are false, and this case's predicate is true.
That is, the order counts. An example:
Piecewise(a provided false, b provided true, c provided true)
Will be evaluated into b,
Piecewise(a provided false, b provided c, c provided false)
Will remain as it is (although unreachable cases will be removed)
Polygammaf
Summary
The polygamma functionpsi^(n)(z) , the(n + 1) -th derivative ofln Gamma(z) , for a whole
n >= 0 ;psi^(0) is the digamma function,Gamma'(z)/Gamma(z) . Its poles are
0, -1, -2, ... .
Remarks
https://github.com/asc-community/AngouriMath/issues/171Powf
Summary
A node of exponential (power)
Primef
Summary
Then -th prime,prime(n) :prime(1) is2 ,prime(25) is97 . An enumeration ofPP in its order, which a set does not carry, so
a function of its own -- SymPy'sprime(n) . Defined on the positive whole numbers.
https://github.com/asc-community/AngouriMath/issues/1450
PrimeFactorizationf
Summary
The prime factorisation of a positive integer,factorization(n) : the finitely
supported map from each primep to its exponentv_p(n) inn , which
is mathlib'sNat.factorization .factorization(360) is
2 ↦ 3, 3 ↦ 2, 5 ↦ 1 , andfactorization(1) the empty map.
Remarks
By the fundamental theorem of arithmetic a positive integer is its exponent vector, and
multiplying integers adds the vectors; so the factorisation is that map, with
primefactors(n) its support andvaluation(n, p) its value atp , and
product(p ^ valuation(n, p), p in primefactors(n)) = n .
A node of its own, and not the product 2^3 * 3^2 * 5 , which evaluates to the
number it was meant to explain; nor a number, so it does not equaln . Defined on
the positive integers, andNaN at any other number, asprimenu is: 0 has no
factorisation, and a negative integer is-1 times one, which the map cannot write.
Left as written for an expression, and for an integer with a factor neither proven prime
nor split, whose Factors is thennull .
https://github.com/asc-community/AngouriMath/issues/2449
PrimeNuf
Summary
The number of distinct prime factorsprimenu(n) ,ω(n) , of a positive integer:ω(12) = 2 andω(1) = 0 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182PrimeOmegaf
Summary
The number of prime factorsprimeomega(n) ,Ω(n) , of a positive integer, counted with multiplicity:Ω(12) = 3 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182PrimePif
Summary
The prime-counting functionprimepi(x) ,π(x) : how many primes are at most the real numberx , soπ(10) = 4 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182Productf
Summary
A product over a bound variable:product(f, i, from, to) is
f(from) · … · f(to) . See Summationf, which it mirrors exactly.
Remarks
ProductOverSetf
Summary
A product over a set:product(f(x), x in S) is the product off(x) over
the membersx ofS , each counted once. See SumOverSetf, which
it mirrors:product(p, p in PP /\ [1; 30]) is the primorial of 29.
https://github.com/asc-community/AngouriMath/issues/2449
Providedf
Summary
That is a node which equals Expression if Predicate is true, otherwise NaNQuantifier
Summary
A quantified statement:forall x in S : P ,exists x in S : P and
exists! x in S : P . A binder, like a set builder: the name is bound throughout
the body and the set, and the statement is a function of what else the body mentions.
The quantification set is mandatory, as Sullivan and Mackey's proofs book insists — a
statement is quantified over something, andforall x : x^2 >= 0 is true of
the reals and false of the complex numbers.
https://github.com/asc-community/AngouriMath/issues/1409
https://github.com/asc-community/AngouriMath/issues/225
Ref
Summary
The real partRe(z) , also writtenre(z) andreal(z) :a for
z = a + b i .
Remarks
https://github.com/asc-community/AngouriMath/issues/2145RisingFactorialf
Summary
The rising factorialrisingfactorial(x, n) ,x to then rising:x (x + 1) ... (x + n - 1) for a wholen >= 0 , in the notationx^{\overline{n}} of Graham, Knuth and Patashnik's Concrete Mathematics.
Remarks
For a negative wholen it is1 / ((x - 1) (x - 2) ... (x + n)) , and for any othern it isΓ(x + n) / Γ(x) , as Mathematica'sPochhammer is. The namepochhammer is refused, since the Pochhammer symbol is the falling factorial to some authors.
https://github.com/asc-community/AngouriMath/issues/2182
Roundf
Summary
A node of round: the nearest integer, with a tie going to the even one.
Remarks
Half to even, which is what Python, SymPy, Mathematica and IEEE 754 all do — and
what .NET'sMath.Round does by default, though not what most people expect
of it. Soround(1/2) is0 andround(3/2) is2 , and it
is notfloor(x + 1/2) , which differs at every tie.
Secantf
Summary
A node of secant
Set
Summary
https://en.wikipedia.org/wiki/Set_(mathematics) A set might be a set operator, conditinal set, finite set, or interval
Shif
Summary
The hyperbolic sine integral,Shi(z) = int_0^z sinh(t)/t dt , entire and odd.
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Sif
Summary
The sine integral,Si(z) = int_0^z sin(t)/t dt , entire and odd.
Remarks
https://github.com/asc-community/AngouriMath/issues/1501Signumf
Summary
A node of signum
Sinf
Summary
A node of sine
SortKeyCache
Summary
The keys, behind a struct that is equal to every other, for the reason
LazyPropertyA is: an Entity is a record and compares every
field, so a bare array here made two equal trees unequal the moment one had been
sorted -- and the simplifier, which recognises a repeated candidate by equality,
then never recognised one. Measured: 30 GB and 57 s onSimplifyHard .
Statement
Summary
This class describes every node whose value is boolean, that is, true or false.
Example
Entity t1 = "a and b"; // Statement Entity t2 = "a > b > c"; // Statement Entity t3 = "a or b implies x > 0"; // Statement Entity t4 = "a"; // Not Statement Entity t5 = "a + 3"; // Not Statement Entity t6 = "a provided c and d"; // Not StatementSumf
Summary
A node of sum
Summationf
Summary
A summation over a bound variable:sum(f, i, from, to) is
f(from) + … + f(to) .
Remarks
A CalculusOperator rather than a Sumf of many terms,
because the bounds may be symbolic —sum(i, i, 1, n) has no finite expansion
and is still a well-formed expression. Where they are concrete integers it expands,
which is what makes the common case useful without the general case being wrong.
The index is bound: it is the summation index, not a free variable of
the expression, so substituting it from outside must not reach inside. That is the
propertyConditionalSet already has and the one
#878 was about
getting wrong.
#248 SumOverSetf
Summary
A sum over a set:sum(f(x), x in S) is the sum off(x) over the members
x ofS , each counted once. A binder, like Summationf, whose
range is a set rather than two bounds, and so has no index and no order: the sum over
the roots of a polynomial issum(f(w), w in { w : p(w) = 0 }) , which needs no
first root.
https://github.com/asc-community/AngouriMath/issues/1285
Tanf
Summary
A node of tangent
Tracef
Summary
The tracetrace(A) of a square matrix, the sum of its diagonal entries.
Remarks
Only of a square matrix, as Trace is: the trace is defined for the
square ones, as it is the sum of the eigenvalues.
Transposef
Summary
The transposetranspose(A) , the matrix whose rows are the columns ofA .
A vector is a column, so its transpose is a row, as]T writes it.
TrigonometricFunction
Summary
Describes any function that is related to trigonometry
Valuationf
Summary
Thep -adic valuation,valuation(n, p) : the exponent of the prime
p inn , sovaluation(12, 2) is2 andvaluation(12, 5) is0 ;+oo atn = 0 , by the convention every text uses. Sullivan and
Mackey's Ex 5.5.1 writesn = 2^m (2 l + 1) withm the 2-adic valuation, and
n = product(p^valuation(n, p), p in PP) is what a factorisation says.
https://github.com/asc-community/AngouriMath/issues/1450
Variable
Summary
Variable node. It only has a name.
Construct a Variable with an implicit conversion from String.
It has no type, so you can substitute any value under a given variable.
Xorf
Summary
Is true iff one operand is true
Zetaf
Summary
The Hurwitz zeta functionzeta(s, a) ,sum_(n >= 0) 1/(n + a)^s forRe s > 1 and
continued to everys but its pole at1 , witha anything but0, -1, -2, ... (DLMF 25.11.1). The Riemann zeta functionzeta(s) iszeta(s, 1) , and is this node with a
Parameter of1 .
Remarks
https://github.com/asc-community/AngouriMath/issues/2182
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6091 pages online