Angle.degrees 120.
Angle.radians (Math.PI / 3.)
Angle.inDegrees Angle.halfPi
Angle.inRadians Angle.halfPi
Angle.sin Angle.pi
Angle.cos Angle.pi
Angle.tan Angle.pi
Angle.asin (1. / 2.)
Angle.acos (1. / 2.)
Angle.atan (1. / 2.)
Angle.zero
|
0 |
Angle.pi
|
\(\pi\) |
Angle.twoPi
|
\(2 \pi\) |
Angle.piOverTwo
|
\(\frac{\pi}{2}\) |
Angle.halfPi
|
\(\frac{\pi}{2}\) |
Angle.radiansToDegrees
|
\(\frac{180}{\pi}\) |
Angle.degreesToRadians
|
\(\frac{\pi}{180}\) |
- |
Angle |
|
Angle |
-length
|
Angle.neg
|
+ |
Angle |
Angle |
Angle |
lhs + rhs
|
Angle.plus
|
- |
Angle |
Angle |
Angle |
lhs - rhs
|
Angle.minus
|
* |
Angle |
float |
Angle |
lhs * 0.5
|
Angle.times
|
* |
float |
Angle |
Angle |
0.5 * rhs
|
None |
* |
Angle |
Length |
Length |
angle / length
|
None |
* |
Length |
Angle |
Length |
length / angle
|
None |
/ |
Angle |
float |
Angle |
lhs / 4.
|
Angle.dividedBy
|
/ |
Angle |
Angle |
float |
lhs / rhs
|
None |
/ |
Angle |
Length |
Length |
angle / length
|
None |
/ |
Length |
Angle |
Length |
length / angle
|
None |
type Math =
static member Abs: value: decimal -> decimal + 7 overloads
static member Acos: d: float -> float
static member Acosh: d: float -> float
static member Asin: d: float -> float
static member Asinh: d: float -> float
static member Atan: d: float -> float
static member Atan2: y: float * x: float -> float
static member Atanh: d: float -> float
static member BigMul: a: int * b: int -> int64 + 2 overloads
static member BitDecrement: x: float -> float
...
<summary>Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.</summary>
namespace Math.Units
namespace System
Multiple items
union case Cartesian.Cartesian: Cartesian
--------------------
type Cartesian = | Cartesian
Multiple items
module Angle
from Math.Units
<category>Module: Unit System</category>
<summary>
An <c>Angle</c> represents an angle in degrees, radians, or turns. It is stored
as a number of radians.
</summary>
<note>
Angles are sometimes measured in degrees, minutes, and seconds, where 1 minute =
1/60th of a degree and 1 second = 1/60th of a minute.
</note>
<example>
You can construct an angle from your unit scheme. All of the following are equivalent.
<code>
Angle.radians Math.PI
Angle.degrees 180.
Angle.turns 0.5
</code></example>
--------------------
type Angle = Quantity<Radians>
<category>Unit System</category>
val degrees: d: float -> Angle
<category>Degrees</category>
Create an angle from a number of degrees.
val radians: r: float -> Angle
<category>Radians</category>
Create an angle from a number of radians.
field Math.PI: float = 3.14159265359
<summary>Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.</summary>
val inDegrees: angle: Angle -> float
<category>Degrees</category>
Get a
<c>float</c>
of the given angle in degrees.
val halfPi: Angle
<summary>
π/2.
Alias for <see cref="M:Math.Units.Angle.piOverTwo" />.
</summary>
<category>Constants</category>
val inRadians: r: Angle -> float
<category>Radians</category>
Get a
<c>float</c>
of the given angle in radians
val sin: r: Angle -> float
<category>Trigonometry</category>
<summary>
Run the <c>sin</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>sin</c> function.
<code>
sin Angle.pi = Angle.sin Angle.pi
</code></example>
val pi: Angle
<category>Constants</category>
π
val cos: r: Angle -> float
<category>Trigonometry</category>
<summary>
Run the <c>cos</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>cos</c> function.
<code>
cos Angle.pi = Angle.cos Angle.pi
</code></example>
val tan: r: Angle -> float
<category>Trigonometry</category>
<summary>
Run the <c>tan</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>tan</c> function.
<code>
tan Angle.pi = Angle.tan Angle.pi
</code></example>
val asin: x: float -> Angle
<category>Trigonometry</category>
<summary>
Run the <c>asin</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>asin</c> function.
<code>
asin Angle.pi = Angle.asin Angle.pi
</code></example>
val acos: x: float -> Angle
<category>Trigonometry</category>
<summary>
Run the <c>acos</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>acos</c> function.
<code>
acos Angle.pi = Angle.acos Angle.pi
</code></example>
val atan: x: float -> Angle
<category>Trigonometry</category>
<summary>
Run the <c>atan</c> function on an angle.
</summary>
<example>
This can also be called using the builtin <c>atan</c> function.
<code>
atan Angle.pi = Angle.atan Angle.pi
</code></example>