## ExperimentalFeatures

← Back to list of classes

## Description

Summary

Features that might become stable
in the future, but are not guaranteed
to do anything useful or correctly
at the current moment.

## Members

• ### DecomposeRational (AngouriMath. Entity. Number. Integer, AngouriMath. Entity. Number. Integer)

Summary

Decomposes an arbitrary rational
number into sum of rationals a_i / p_i^k,
where p_i is a prime number. Evaluates
lazily.

• ### DecomposeRational (AngouriMath. Entity. Number. Rational)

Summary

Decomposes an arbitrary rational
number into sum of rationals a_i / p_i^k,
where p_i is a prime number. Evaluates
lazily.

• ### ExpandCosineArgumentMultiplied (AngouriMath. Entity, AngouriMath. Entity, System. Int32)

Method

Summary

Assume you have cos(n x), where
n is an integer number. Then
cos(n x) can be easily represented
as a combination of arithmetic operations
of sin(x) and cos(x), which is exactly what
this function does.

Parameter "sinx"

The value of sin(x)

Parameter "cosx"

The value of cos(x)

Parameter "n"

The integer multiplier of the
angle in the original cos(n x)

Returns

Expanded cosine.

• ### ExpandCosineOfSum (System. Collections. Generic. IReadOnlyList{System. ValueTuple{AngouriMath. Entity, AngouriMath. Entity}})

Method

Summary

Expands a cosine over terms
via binary expansion.
TODO: more docs

• ### ExpandSineArgumentMultiplied (AngouriMath. Entity, AngouriMath. Entity, System. Int32)

Method

Summary

Assume you have sin(n x), where
n is an integer number. Then
sin(n x) can be easily represented
as a combination of arithmetic operations
of sin(x) and cos(x), which is exactly what
this function does.

Parameter "sinx"

The value of sin(x)

Parameter "cosx"

The value of cos(x)

Parameter "n"

The integer multiplier of the
angle in the original sin(n x)

Returns

Expanded sine.

• ### ExpandSineOfSum (System. Collections. Generic. IReadOnlyList{System. ValueTuple{AngouriMath. Entity, AngouriMath. Entity}})

Method

Summary

Expands a sine over terms
via binary expansion.
TODO: more docs

• ### GetCosineOfHalvedAngle (AngouriMath. Entity, AngouriMath. Entity)

Method

Summary

We are given angle theta and cos(theta)
This function returns cos(theta / 2).

Parameter "theta"

An angle, cosine of half of which
will be computed (that is, if
you have cos(2x), then pass 2x here).

Parameter "cos2x"

The value of the cosine of
doubled angle.

Returns

The value of cosine of half of the
given angle if can (null otherwise)

• ### GetSineOfHalvedAngle (AngouriMath. Entity, AngouriMath. Entity)

Method

Summary

We are given angle theta and sin(theta)
This function returns sin(theta / 2).

Parameter "theta"

An angle, sine of half of which
will be computed (that is, if
you have sin(2x), then pass 2x here).

Parameter "sin2x"

The value of the sine of
doubled angle.

Returns

The value of sine of half of the
given angle if can (null otherwise)

• ### SolveDiophantineEquation (AngouriMath. Entity. Number. Integer, AngouriMath. Entity. Number. Integer, AngouriMath. Entity. Number. Integer)

Method

Summary

Solves an equation
a x + b y = c

Returns

x and y if found, null otherwise

• ### SymbolicFormOfCosine (AngouriMath. Entity)

Method

Summary

Finds the symbolic form of cosine, if can
For example, cos(9/14) is cos(1/2 + 1/7) which
can be expanded as a cosine of sum and hence
an analytical (symbolic) form.

Parameter "angle"

Returns

The cosine's symbolic form
or null if cannot find it

• ### SymbolicFormOfSine (AngouriMath. Entity)

Method

Summary

Finds the symbolic form of sine, if can
For example, sin(9/14) is sin(1/2 + 1/7) which
can be expanded as a sine of sum and hence
an analytical (symbolic) form.

Parameter "angle"

Returns

The sine's symbolic form
or null if cannot find it

2019-2021 Angouri · Project's repo · Site's repo · Octicons