Arithmetic

public static class Arithmetic
This static class collects and maintains all arithmetic operators.

Methods

Abs

#
[Function(Unary.Abs)] public static Angle Abs(Angle x)
x (Angle)

Abs

#
[Function(Unary.Abs)] public static BigInteger Abs(BigInteger x)
x (BigInteger)

Abs

#
[Function(Unary.Abs)] public static double Abs(Complex x)
x (Complex)

Abs

#
[Function(Unary.Abs)] public static double Abs(double x)
x (double)

Abs

#
[Function(Unary.Abs)] public static Field Abs(Field x)
x (Field)

Abs

#
[Function(Unary.Abs)] public static Function Abs(Function x)
x (Function)

Abs

#
[Function(Unary.Abs)] public static int Abs(int x)
x (int)

Abs

#
[Function(Unary.Abs)] public static Interval Abs(Interval x)
x (Interval)

Abs

#
[Function(Unary.Abs)] public static Point3d Abs(Point3d x)
x (Point3d)

Abs

#
[Function(Unary.Abs)] public static Vector3d Abs(Vector3d x)
x (Vector3d)

Acos

#
[Function(Unary.Acos)] public static Angle Acos(Angle x)
x (Angle)

Acos

#
[Function(Unary.Acos)] public static Angle Acos(BigInteger x)
x (BigInteger)

Acos

#
[Function(Unary.Acos)] public static Angle Acos(double x)
x (double)

Acos

#
[Function(Unary.Acos)] public static Angle Acos(int x)
x (int)

Acos

#
[Function(Unary.Acos)] public static Complex Acos(Complex x)
x (Complex)

Acos

#
[Function(Unary.Acos)] public static Field Acos(Field x)
x (Field)

Acos

#
[Function(Unary.Acos)] public static Function Acos(Function x)
x (Function)

Acos

#
[Function(Unary.Acos)] public static Interval Acos(Interval x)
x (Interval)

Acot

#
[Function(Unary.Acot)] public static Angle Acot(Angle x)
x (Angle)

Acot

#
[Function(Unary.Acot)] public static Angle Acot(BigInteger x)
x (BigInteger)

Acot

#
[Function(Unary.Acot)] public static Angle Acot(double x)
x (double)

Acot

#
[Function(Unary.Acot)] public static Angle Acot(int x)
x (int)

Acot

#
[Function(Unary.Acot)] public static Complex Acot(Complex x)
x (Complex)

Acot

#
[Function(Unary.Acot)] public static Field Acot(Field x)
x (Field)

Acot

#
[Function(Unary.Acot)] public static Function Acot(Function x)
x (Function)

Acot

#
[Function(Unary.Acot)] public static Interval Acot(Interval x)
x (Interval)

Acsc

#
[Function(Unary.Acsc)] public static Angle Acsc(Angle x)
x (Angle)

Acsc

#
[Function(Unary.Acsc)] public static Angle Acsc(BigInteger x)
x (BigInteger)

Acsc

#
[Function(Unary.Acsc)] public static Angle Acsc(double x)
x (double)

Acsc

#
[Function(Unary.Acsc)] public static Angle Acsc(int x)
x (int)

Acsc

#
[Function(Unary.Acsc)] public static Complex Acsc(Complex x)
x (Complex)

Acsc

#
[Function(Unary.Acsc)] public static Field Acsc(Field x)
x (Field)

Acsc

#
[Function(Unary.Acsc)] public static Function Acsc(Function x)
x (Function)

Acsc

#
[Function(Unary.Acsc)] public static Interval Acsc(Interval x)
x (Interval)

Add

#
[Operator(Operation.Add)] public static BigInteger Add(int a, int b)
a (int)
b (int)

Add

#
[Operator(Operation.Add)] public static double Add(BigInteger a, double b)
a (BigInteger)
b (double)

Add

#
[Operator(Operation.Add)] public static double Add(double a, BigInteger b)
a (double)
b (BigInteger)

Add

#
[Operator(Operation.Add)] public static Interval Add(Interval a, Interval b)
a (Interval)
b (Interval)

AddRepository

#
public static int AddRepository(Type type)
Copy all functionality from an ArithmeticRepository into the global server.
type (Type)Type pointing at a ArithmeticRepository.
True if repo was added.

Apply

#
public static dynamic Apply(Binary fn, dynamic a, dynamic b)
Attempt to run a known operator on two values. This method is the recommended one for arithmetic operations, as it will first attempt the operation on type defined operator overloads.
fn (Arithmetic.Binary)
a (dynamic)
b (dynamic)
Result of Function(a), or an Exception if the function is undefined. Note that this method will return rather than throw that exception, allowing the caller to differenciate between exceptions arising from unrecognised operations and those from the operation implementations.

Apply

#
public static dynamic Apply(Operation op, dynamic a, dynamic b)
Attempt to run a known operator on two values. Note that null values will act as identities. If you wish to have coalescing nulls you must check for that yourself. Also, in case it wasn't horribly obvious, this is MUCH slower than just calling the appropriate operator on values directly. Only use this method if you have no way of knowing at compile time what types your arguments are.
op (Arithmetic.Operation)
a (dynamic)
b (dynamic)

Apply

#
public static dynamic Apply(Ternary fn, dynamic a, dynamic b, dynamic c)
Attempt to run a known operator on two values. This method is the recommended one for arithmetic operations, as it will first attempt the operation on type defined operator overloads.
fn (Arithmetic.Ternary)
a (dynamic)
b (dynamic)
c (dynamic)
Result of Function(a, b), or an Exception if the function is undefined. Note that this method will return rather than throw that exception, allowing the caller to differenciate between exceptions arising from unrecognised operations and those from the operation implementations.

Apply

#
public static dynamic Apply(Unary fn, dynamic a)
Try and apply the given function to an argument.
fn (Arithmetic.Unary)Function to apply.
a (dynamic)Argument to operate on.
Result of Function(a), or an Exception if the function is undefined. Note that this method will return rather than throw that exception, allowing the caller to differenciate between exceptions arising from unrecognised operations and those from the operation implementations.

ApplyBulk

#
public static ITree ApplyBulk(Binary fn, ITree a, ITree b, CancellationToken token)
Apply a binary function to two trees.
fn (Arithmetic.Binary)Function to apply.
a (ITree)First tree.
b (ITree)Second tree.
token (CancellationToken)Cancellation token.
Resulting values.

ApplyBulk

#
public static ITree ApplyBulk(Operation op, ITree a, ITree b, CancellationToken token)
Apply an operation to two trees.
op (Arithmetic.Operation)Operation to apply.
a (ITree)First tree.
b (ITree)Second tree.
token (CancellationToken)Cancellation token.
Resulting values.

ApplyBulk

#
public static ITree ApplyBulk(Ternary fn, ITree a, ITree b, ITree c, CancellationToken token)
Apply a ternary function to three trees.
fn (Arithmetic.Ternary)Function to apply.
a (ITree)First tree.
b (ITree)Second tree.
c (ITree)Third tree.
token (CancellationToken)Cancellation token.
Resulting values.

ApplyBulk

#
public static ITree ApplyBulk(Unary fn, ITree a, CancellationToken token)
Apply a uniary function to a tree.
fn (Arithmetic.Unary)Function to apply.
a (ITree)Tree.
token (CancellationToken)Cancellation token.
Resulting values.

Asec

#
[Function(Unary.Asec)] public static Angle Asec(Angle x)
x (Angle)

Asec

#
[Function(Unary.Asec)] public static Angle Asec(BigInteger x)
x (BigInteger)

Asec

#
[Function(Unary.Asec)] public static Angle Asec(double x)
x (double)

Asec

#
[Function(Unary.Asec)] public static Angle Asec(int x)
x (int)

Asec

#
[Function(Unary.Asec)] public static Complex Asec(Complex x)
x (Complex)

Asec

#
[Function(Unary.Asec)] public static Field Asec(Field x)
x (Field)

Asec

#
[Function(Unary.Asec)] public static Function Asec(Function x)
x (Function)

Asec

#
[Function(Unary.Asec)] public static Interval Asec(Interval x)
x (Interval)

Asin

#
[Function(Unary.Asin)] public static Angle Asin(Angle x)
x (Angle)

Asin

#
[Function(Unary.Asin)] public static Angle Asin(BigInteger x)
x (BigInteger)

Asin

#
[Function(Unary.Asin)] public static Angle Asin(double x)
x (double)

Asin

#
[Function(Unary.Asin)] public static Angle Asin(int x)
x (int)

Asin

#
[Function(Unary.Asin)] public static Complex Asin(Complex x)
x (Complex)

Asin

#
[Function(Unary.Asin)] public static Field Asin(Field x)
x (Field)

Asin

#
[Function(Unary.Asin)] public static Function Asin(Function x)
x (Function)

Asin

#
[Function(Unary.Asin)] public static Interval Asin(Interval x)
x (Interval)

Atan

#
[Function(Unary.Atan)] public static Angle Atan(Angle x)
x (Angle)

Atan

#
[Function(Unary.Atan)] public static Angle Atan(BigInteger x)
x (BigInteger)

Atan

#
[Function(Unary.Atan)] public static Angle Atan(double x)
x (double)

Atan

#
[Function(Unary.Atan)] public static Angle Atan(int x)
x (int)

Atan

#
[Function(Unary.Csc)] public static Complex Atan(Complex x)
x (Complex)

Atan

#
[Function(Unary.Atan)] public static Field Atan(Field x)
x (Field)

Atan

#
[Function(Unary.Atan)] public static Function Atan(Function x)
x (Function)

Atan

#
[Function(Unary.Atan)] public static Interval Atan(Interval x)
x (Interval)

Cbrt

#
[Function(Unary.Cbrt)] public static Angle Cbrt(Angle x)
x (Angle)

Cbrt

#
[Function(Unary.Cbrt)] public static Complex Cbrt(Complex x)
x (Complex)

Cbrt

#
[Function(Unary.Cbrt)] public static double Cbrt(BigInteger x)
x (BigInteger)

Cbrt

#
[Function(Unary.Cbrt)] public static double Cbrt(double x)
x (double)

Cbrt

#
[Function(Unary.Cbrt)] public static double Cbrt(int x)
x (int)

Cbrt

#
[Function(Unary.Cbrt)] public static Field Cbrt(Field x)
x (Field)

Cbrt

#
[Function(Unary.Cbrt)] public static Function Cbrt(Function x)
x (Function)

Cbrt

#
[Function(Unary.Cbrt)] public static Interval Cbrt(Interval x)
x (Interval)

Cbrt

#
[Function(Unary.Cbrt)] public static Point3d Cbrt(Point3d x)
x (Point3d)

Cbrt

#
[Function(Unary.Cbrt)] public static Vector3d Cbrt(Vector3d x)
x (Vector3d)

Ceiling

#
[Function(Unary.Ceiling)] public static Angle Ceiling(Angle x)
x (Angle)

Ceiling

#
[Function(Unary.Ceiling)] public static BigInteger Ceiling(BigInteger x)
x (BigInteger)

Ceiling

#
[Function(Unary.Ceiling)] public static Complex Ceiling(Complex x)
x (Complex)

Ceiling

#
[Function(Unary.Ceiling)] public static double Ceiling(double x)
x (double)

Ceiling

#
[Function(Unary.Ceiling)] public static Field Ceiling(Field x)
x (Field)

Ceiling

#
[Function(Unary.Ceiling)] public static Function Ceiling(Function x)
x (Function)

Ceiling

#
[Function(Unary.Ceiling)] public static int Ceiling(int x)
x (int)

Ceiling

#
[Function(Unary.Ceiling)] public static Interval Ceiling(Interval x)
x (Interval)

Ceiling

#
[Function(Unary.Ceiling)] public static Point3d Ceiling(Point3d x)
x (Point3d)

Ceiling

#
[Function(Unary.Ceiling)] public static Vector3d Ceiling(Vector3d x)
x (Vector3d)

Cos

#
[Function(Unary.Cos)] public static Complex Cos(Complex x)
x (Complex)

Cos

#
[Function(Unary.Cos)] public static double Cos(Angle x)
x (Angle)

Cos

#
[Function(Unary.Cos)] public static double Cos(BigInteger x)
x (BigInteger)

Cos

#
[Function(Unary.Cos)] public static double Cos(double x)
x (double)

Cos

#
[Function(Unary.Cos)] public static double Cos(int x)
x (int)

Cos

#
[Function(Unary.Cos)] public static Field Cos(Field x)
x (Field)

Cos

#
[Function(Unary.Cos)] public static Function Cos(Function x)
x (Function)

Cos

#
[Function(Unary.Cos)] public static Interval Cos(Interval x)
x (Interval)

Cot

#
[Function(Unary.Cot)] public static Complex Cot(Complex x)
x (Complex)

Cot

#
[Function(Unary.Cot)] public static double Cot(Angle x)
x (Angle)

Cot

#
[Function(Unary.Cot)] public static double Cot(BigInteger x)
x (BigInteger)

Cot

#
[Function(Unary.Cot)] public static double Cot(double x)
x (double)

Cot

#
[Function(Unary.Cot)] public static double Cot(int x)
x (int)

Cot

#
[Function(Unary.Cot)] public static Field Cot(Field x)
x (Field)

Cot

#
[Function(Unary.Cot)] public static Function Cot(Function x)
x (Function)

Cot

#
[Function(Unary.Cot)] public static Interval Cot(Interval x)
x (Interval)

Csc

#
[Function(Unary.Csc)] public static Complex Csc(Complex x)
x (Complex)

Csc

#
[Function(Unary.Csc)] public static double Csc(Angle x)
x (Angle)

Csc

#
[Function(Unary.Csc)] public static double Csc(BigInteger x)
x (BigInteger)

Csc

#
[Function(Unary.Csc)] public static double Csc(double x)
x (double)

Csc

#
[Function(Unary.Csc)] public static double Csc(int x)
x (int)

Csc

#
[Function(Unary.Csc)] public static Field Csc(Field x)
x (Field)

Csc

#
[Function(Unary.Csc)] public static Function Csc(Function x)
x (Function)

Csc

#
[Function(Unary.Csc)] public static Interval Csc(Interval x)
x (Interval)

Div

#
[Operator(Operation.Div)] public static double Div(BigInteger a, BigInteger b)
a (BigInteger)
b (BigInteger)

Div

#
[Operator(Operation.Div)] public static double Div(BigInteger a, double b)
a (BigInteger)
b (double)

Div

#
[Operator(Operation.Div)] public static double Div(double a, BigInteger b)
a (double)
b (BigInteger)

Div

#
[Operator(Operation.Div)] public static double Div(int a, int b)
a (int)
b (int)

Div

#
[Operator(Operation.Div)] public static Interval Div(double a, Interval b)
a (double)
b (Interval)

Div

#
[Operator(Operation.Div)] public static Interval Div(int a, Interval b)
a (int)
b (Interval)

Div

#
[Operator(Operation.Div)] public static Interval Div(Interval a, double b)
a (Interval)
b (double)

Div

#
[Operator(Operation.Div)] public static Interval Div(Interval a, int b)
a (Interval)
b (int)

Div

#
[Operator(Operation.Div)] public static Interval Div(Interval a, Interval b)
a (Interval)
b (Interval)

Division

#
[Operator(Operation.Div)] public static TimeSpan Division(TimeSpan a, double b)
a (TimeSpan)
b (double)

Division

#
[Operator(Operation.Div)] public static TimeSpan Division(TimeSpan a, int b)
a (TimeSpan)
b (int)

Exp

#
[Function(Unary.Exp)] public static Angle Exp(Angle x)
x (Angle)

Exp

#
[Function(Unary.Exp)] public static Complex Exp(Complex x)
x (Complex)

Exp

#
[Function(Unary.Exp)] public static double Exp(BigInteger x)
x (BigInteger)

Exp

#
[Function(Unary.Exp)] public static double Exp(double x)
x (double)

Exp

#
[Function(Unary.Exp)] public static double Exp(int x)
x (int)

Exp

#
[Function(Unary.Cbrt)] public static Field Exp(Field x)
x (Field)

Exp

#
[Function(Unary.Exp)] public static Function Exp(Function x)
x (Function)

Exp

#
[Function(Unary.Exp)] public static Interval Exp(Interval x)
x (Interval)

Exp

#
[Function(Unary.Exp)] public static Point3d Exp(Point3d x)
x (Point3d)

Exp

#
[Function(Unary.Exp)] public static Vector3d Exp(Vector3d x)
x (Vector3d)

Floor

#
[Function(Unary.Floor)] public static Angle Floor(Angle x)
x (Angle)

Floor

#
[Function(Unary.Floor)] public static BigInteger Floor(BigInteger x)
x (BigInteger)

Floor

#
[Function(Unary.Floor)] public static Complex Floor(Complex x)
x (Complex)

Floor

#
[Function(Unary.Floor)] public static double Floor(double x)
x (double)

Floor

#
[Function(Unary.Floor)] public static Field Floor(Field x)
x (Field)

Floor

#
[Function(Unary.Floor)] public static Function Floor(Function x)
x (Function)

Floor

#
[Function(Unary.Floor)] public static int Floor(int x)
x (int)

Floor

#
[Function(Unary.Floor)] public static Interval Floor(Interval x)
x (Interval)

Floor

#
[Function(Unary.Floor)] public static Point3d Floor(Point3d x)
x (Point3d)

Floor

#
[Function(Unary.Floor)] public static Vector3d Floor(Vector3d x)
x (Vector3d)

Format

#
public static string Format(Binary fn)
Gets the notational format for the given binary function. The format will include '{0}' and '{1}' fields for the arguments.
fn (Arithmetic.Binary)

Format

#
public static string Format(Operation op)
Gets the notational format for the given arithmetic operator. The format will include '{0}' and '{1}' fields for the operands.
op (Arithmetic.Operation)

Format

#
public static string Format(Ternary fn)
Gets the notational format for the given ternary function. The format will include '{0}', '{1}' and '{2}' fields for the arguments.
fn (Arithmetic.Ternary)

Format

#
public static string Format(Unary fn)
Gets the notational format for the given unary function. The format will include a '{0}' fields for the argument.
fn (Arithmetic.Unary)

Log

#
[Function(Binary.Log)] public static Angle Log(Angle x, double base)
x (Angle)
base (double)

Log

#
[Function(Binary.Log)] public static Angle Log(Angle x, int base)
x (Angle)
base (int)

Log

#
[Function(Unary.Log)] public static Angle Log(Angle x)
x (Angle)

Log

#
[Function(Binary.Log)] public static Complex Log(Complex x, double base)
x (Complex)
base (double)

Log

#
[Function(Binary.Log)] public static Complex Log(Complex x, int base)
x (Complex)
base (int)

Log

#
[Function(Unary.Log)] public static Complex Log(Complex x)
x (Complex)

Log

#
[Function(Binary.Log)] public static double Log(BigInteger x, double base)
x (BigInteger)
base (double)

Log

#
[Function(Binary.Log)] public static double Log(BigInteger x, int base)
x (BigInteger)
base (int)

Log

#
[Function(Unary.Log)] public static double Log(BigInteger x)
x (BigInteger)

Log

#
[Function(Binary.Log)] public static double Log(double x, double base)
x (double)
base (double)

Log

#
[Function(Binary.Log)] public static double Log(double x, int base)
x (double)
base (int)

Log

#
[Function(Unary.Log)] public static double Log(double x)
x (double)

Log

#
[Function(Binary.Log)] public static double Log(int x, double base)
x (int)
base (double)

Log

#
[Function(Binary.Log)] public static double Log(int x, int base)
x (int)
base (int)

Log

#
[Function(Unary.Log)] public static double Log(int x)
x (int)

Log

#
[Function(Binary.Log)] public static Field Log(Field x, double base)
x (Field)
base (double)

Log

#
[Function(Binary.Log)] public static Field Log(Field x, int base)
x (Field)
base (int)

Log

#
[Function(Unary.Log)] public static Field Log(Field x)
x (Field)

Log

#
[Function(Binary.Log)] public static Function Log(Function x, double base)
x (Function)
base (double)

Log

#
[Function(Binary.Log)] public static Function Log(Function x, int base)
x (Function)
base (int)

Log

#
[Function(Unary.Log)] public static Function Log(Function x)
x (Function)

Log

#
[Function(Binary.Log)] public static Interval Log(Interval x, double base)
x (Interval)
base (double)

Log

#
[Function(Binary.Log)] public static Interval Log(Interval x, int base)
x (Interval)
base (int)

Log

#
[Function(Unary.Log)] public static Interval Log(Interval x)
x (Interval)

Log

#
[Function(Binary.Log)] public static Point3d Log(Point3d x, double base)
x (Point3d)
base (double)

Log

#
[Function(Binary.Log)] public static Point3d Log(Point3d x, int base)
x (Point3d)
base (int)

Log

#
[Function(Unary.Log)] public static Point3d Log(Point3d x)
x (Point3d)

Log

#
[Function(Binary.Log)] public static Vector3d Log(Vector3d x, double base)
x (Vector3d)
base (double)

Log

#
[Function(Binary.Log)] public static Vector3d Log(Vector3d x, int base)
x (Vector3d)
base (int)

Log

#
[Function(Unary.Log)] public static Vector3d Log(Vector3d x)
x (Vector3d)

Log10

#
[Function(Unary.Log10)] public static Angle Log10(Angle x)
x (Angle)

Log10

#
[Function(Unary.Log10)] public static Complex Log10(Complex x)
x (Complex)

Log10

#
[Function(Unary.Log10)] public static double Log10(BigInteger x)
x (BigInteger)

Log10

#
[Function(Unary.Log10)] public static double Log10(double x)
x (double)

Log10

#
[Function(Unary.Log10)] public static double Log10(int x)
x (int)

Log10

#
[Function(Unary.Log10)] public static Field Log10(Field x)
x (Field)

Log10

#
[Function(Unary.Log10)] public static Function Log10(Function x)
x (Function)

Log10

#
[Function(Unary.Log10)] public static Interval Log10(Interval x)
x (Interval)

Log10

#
[Function(Unary.Log10)] public static Point3d Log10(Point3d x)
x (Point3d)

Log10

#
[Function(Unary.Log10)] public static Vector3d Log10(Vector3d x)
x (Vector3d)

Log2

#
[Function(Unary.Log2)] public static Angle Log2(Angle x)
x (Angle)

Log2

#
[Function(Unary.Log2)] public static Complex Log2(Complex x)
x (Complex)

Log2

#
[Function(Unary.Log2)] public static double Log2(BigInteger x)
x (BigInteger)

Log2

#
[Function(Unary.Log2)] public static double Log2(double x)
x (double)

Log2

#
[Function(Unary.Log2)] public static double Log2(int x)
x (int)

Log2

#
[Function(Unary.Log2)] public static Field Log2(Field x)
x (Field)

Log2

#
[Function(Unary.Log2)] public static Function Log2(Function x)
x (Function)

Log2

#
[Function(Unary.Log2)] public static Interval Log2(Interval x)
x (Interval)

Log2

#
[Function(Unary.Log2)] public static Point3d Log2(Point3d x)
x (Point3d)

Log2

#
[Function(Unary.Log2)] public static Vector3d Log2(Vector3d x)
x (Vector3d)

Max

#
[Function(Binary.Max)] public static Angle Max(Angle x, Angle y)
x (Angle)
y (Angle)

Max

#
[Function(Binary.Max)] public static Angle Max(Angle x, BigInteger y)
x (Angle)
y (BigInteger)

Max

#
[Function(Binary.Max)] public static Angle Max(Angle x, double y)
x (Angle)
y (double)

Max

#
[Function(Binary.Max)] public static Angle Max(BigInteger x, Angle y)
x (BigInteger)
y (Angle)

Max

#
[Function(Binary.Max)] public static Angle Max(double x, Angle y)
x (double)
y (Angle)

Max

#
[Function(Binary.Max)] public static BigInteger Max(BigInteger x, BigInteger y)
x (BigInteger)
y (BigInteger)

Max

#
[Function(Binary.Max)] public static Complex Max(Complex x, Complex y)
x (Complex)
y (Complex)

Max

#
[Function(Binary.Max)] public static Complex Max(Complex x, double y)
x (Complex)
y (double)

Max

#
[Function(Binary.Max)] public static Complex Max(double x, Complex y)
x (double)
y (Complex)

Max

#
[Function(Binary.Max)] public static double Max(BigInteger x, double y)
x (BigInteger)
y (double)

Max

#
[Function(Binary.Max)] public static double Max(double x, BigInteger y)
x (double)
y (BigInteger)

Max

#
[Function(Binary.Max)] public static double Max(double x, double y)
x (double)
y (double)

Max

#
[Function(Binary.Max)] public static Field Max(Field x, Field y)
x (Field)
y (Field)

Max

#
[Function(Binary.Max)] public static Function Max(Function x, Function y)
x (Function)
y (Function)

Max

#
[Function(Binary.Max)] public static int Max(int x, int y)
x (int)
y (int)

Max

#
[Function(Binary.Max)] public static Interval Max(double x, Interval y)
x (double)
y (Interval)

Max

#
[Function(Binary.Max)] public static Interval Max(Interval x, double y)
x (Interval)
y (double)

Max

#
[Function(Binary.Max)] public static Interval Max(Interval x, Interval y)
x (Interval)
y (Interval)

Max

#
[Function(Binary.Max)] public static Point3d Max(Point3d x, Point3d y)
x (Point3d)
y (Point3d)

Max

#
[Function(Binary.Max)] public static Point3d Max(Point3d x, Vector3d y)
x (Point3d)
y (Vector3d)

Max

#
[Function(Binary.Max)] public static Vector3d Max(Vector3d x, Point3d y)
x (Vector3d)
y (Point3d)

Max

#
[Function(Binary.Max)] public static Vector3d Max(Vector3d x, Vector3d y)
x (Vector3d)
y (Vector3d)

Min

#
[Function(Binary.Min)] public static Angle Min(Angle x, Angle y)
x (Angle)
y (Angle)

Min

#
[Function(Binary.Min)] public static Angle Min(Angle x, BigInteger y)
x (Angle)
y (BigInteger)

Min

#
[Function(Binary.Min)] public static Angle Min(Angle x, double y)
x (Angle)
y (double)

Min

#
[Function(Binary.Min)] public static Angle Min(BigInteger x, Angle y)
x (BigInteger)
y (Angle)

Min

#
[Function(Binary.Min)] public static Angle Min(double x, Angle y)
x (double)
y (Angle)

Min

#
[Function(Binary.Min)] public static BigInteger Min(BigInteger x, BigInteger y)
x (BigInteger)
y (BigInteger)

Min

#
[Function(Binary.Min)] public static Complex Min(Complex x, Complex y)
x (Complex)
y (Complex)

Min

#
[Function(Binary.Min)] public static Complex Min(Complex x, double y)
x (Complex)
y (double)

Min

#
[Function(Binary.Min)] public static Complex Min(double x, Complex y)
x (double)
y (Complex)

Min

#
[Function(Binary.Min)] public static double Min(BigInteger x, double y)
x (BigInteger)
y (double)

Min

#
[Function(Binary.Min)] public static double Min(double x, BigInteger y)
x (double)
y (BigInteger)

Min

#
[Function(Binary.Min)] public static double Min(double x, double y)
x (double)
y (double)

Min

#
[Function(Binary.Min)] public static Field Min(Field x, Field y)
x (Field)
y (Field)

Min

#
[Function(Binary.Min)] public static Function Min(Function x, Function y)
x (Function)
y (Function)

Min

#
[Function(Binary.Min)] public static int Min(int x, int y)
x (int)
y (int)

Min

#
[Function(Binary.Min)] public static Interval Min(double x, Interval y)
x (double)
y (Interval)

Min

#
[Function(Binary.Min)] public static Interval Min(Interval x, double y)
x (Interval)
y (double)

Min

#
[Function(Binary.Min)] public static Interval Min(Interval x, Interval y)
x (Interval)
y (Interval)

Min

#
[Function(Binary.Min)] public static Point3d Min(Point3d x, Point3d y)
x (Point3d)
y (Point3d)

Min

#
[Function(Binary.Min)] public static Point3d Min(Point3d x, Vector3d y)
x (Point3d)
y (Vector3d)

Min

#
[Function(Binary.Min)] public static Vector3d Min(Vector3d x, Point3d y)
x (Vector3d)
y (Point3d)

Min

#
[Function(Binary.Min)] public static Vector3d Min(Vector3d x, Vector3d y)
x (Vector3d)
y (Vector3d)

Mul

#
[Operator(Operation.Mul)] public static BigInteger Mul(int a, int b)
a (int)
b (int)

Mul

#
[Operator(Operation.Mul)] public static double Mul(double a, BigInteger b)
a (double)
b (BigInteger)

Mul

#
[Operator(Operation.Mul)] public static Interval Mul(double a, Interval b)
a (double)
b (Interval)

Mul

#
[Operator(Operation.Mul)] public static Interval Mul(int a, Interval b)
a (int)
b (Interval)

Mul

#
[Operator(Operation.Mul)] public static Interval Mul(Interval a, double b)
a (Interval)
b (double)

Mul

#
[Operator(Operation.Mul)] public static Interval Mul(Interval a, int b)
a (Interval)
b (int)

Mul

#
[Operator(Operation.Mul)] public static Interval Mul(Interval a, Interval b)
a (Interval)
b (Interval)

MulFloatInteger

#
public static BigInteger MulFloatInteger(double d, BigInteger b)
A multiplication method for double and BigIntegers, which operates entirely within the BigInteger range.
d (double)Floating point factor.
b (BigInteger)BigInteger base.

Multiple

#
[Function(Binary.Multiple)] public static Angle Multiple(Angle x, Angle y)
x (Angle)
y (Angle)

Multiple

#
[Function(Binary.Multiple)] public static BigInteger Multiple(BigInteger x, BigInteger y)
x (BigInteger)
y (BigInteger)

Multiple

#
[Function(Binary.Multiple)] public static Complex Multiple(Complex x, Complex y)
x (Complex)
y (Complex)

Multiple

#
[Function(Binary.Multiple)] public static Complex Multiple(Complex x, double y)
x (Complex)
y (double)

Multiple

#
[Function(Binary.Multiple)] public static double Multiple(double x, double y)
x (double)
y (double)

Multiple

#
[Function(Binary.Multiple)] public static int Multiple(int x, int y)
x (int)
y (int)

Multiple

#
[Function(Binary.Multiple)] public static Interval Multiple(Interval x, double y)
x (Interval)
y (double)

Multiple

#
[Function(Binary.Multiple)] public static Interval Multiple(Interval x, Interval y)
x (Interval)
y (Interval)

Multiple

#
[Function(Binary.Multiple)] public static Point3d Multiple(Point3d x, Point3d y)
x (Point3d)
y (Point3d)

Multiple

#
[Function(Binary.Multiple)] public static Point3d Multiple(Point3d x, Vector3d y)
x (Point3d)
y (Vector3d)

Multiple

#
[Function(Binary.Multiple)] public static Vector3d Multiple(Vector3d x, Point3d y)
x (Vector3d)
y (Point3d)

Multiple

#
[Function(Binary.Multiple)] public static Vector3d Multiple(Vector3d x, Vector3d y)
x (Vector3d)
y (Vector3d)

Multiplication

#
[Operator(Operation.Mul)] public static TimeSpan Multiplication(double a, TimeSpan b)
a (double)
b (TimeSpan)

Multiplication

#
[Operator(Operation.Mul)] public static TimeSpan Multiplication(int a, TimeSpan b)
a (int)
b (TimeSpan)

Multiplication

#
[Operator(Operation.Mul)] public static TimeSpan Multiplication(TimeSpan a, double b)
a (TimeSpan)
b (double)

Multiplication

#
[Operator(Operation.Mul)] public static TimeSpan Multiplication(TimeSpan a, int b)
a (TimeSpan)
b (int)

Pow

#
[Function(Binary.Pow)] public static Angle Pow(Angle x, double exponent)
x (Angle)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Angle Pow(Angle x, int exponent)
x (Angle)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Complex Pow(Complex x, Complex exponent)
x (Complex)
exponent (Complex)

Pow

#
[Function(Binary.Pow)] public static Complex Pow(Complex x, double exponent)
x (Complex)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Complex Pow(Complex x, int exponent)
x (Complex)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static double Pow(double x, double exponent)
x (double)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static double Pow(double x, int exponent)
x (double)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Field Pow(Field x, double exponent)
x (Field)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Field Pow(Field x, Field exponent)
x (Field)
exponent (Field)

Pow

#
[Function(Binary.Pow)] public static Field Pow(Field x, int exponent)
x (Field)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Function Pow(Function x, double exponent)
x (Function)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Function Pow(Function x, Function exponent)
x (Function)
exponent (Function)

Pow

#
[Function(Binary.Pow)] public static Function Pow(Function x, int exponent)
x (Function)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Interval Pow(Interval x, double exponent)
x (Interval)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Interval Pow(Interval x, int exponent)
x (Interval)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static object Pow(BigInteger x, BigInteger exponent)
x (BigInteger)
exponent (BigInteger)

Pow

#
[Function(Binary.Pow)] public static object Pow(BigInteger x, double exponent)
x (BigInteger)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static object Pow(BigInteger x, int exponent)
x (BigInteger)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static object Pow(int x, double exponent)
x (int)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static object Pow(int x, int exponent)
x (int)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Point3d Pow(Point3d x, double exponent)
x (Point3d)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Point3d Pow(Point3d x, int exponent)
x (Point3d)
exponent (int)

Pow

#
[Function(Binary.Pow)] public static Vector3d Pow(Vector3d x, double exponent)
x (Vector3d)
exponent (double)

Pow

#
[Function(Binary.Pow)] public static Vector3d Pow(Vector3d x, int exponent)
x (Vector3d)
exponent (int)

Round

#
[Function(Binary.Round)] public static Angle Round(Angle x, int digits)
x (Angle)
digits (int)

Round

#
[Function(Binary.Round)] public static BigInteger Round(BigInteger x, int digits)
x (BigInteger)
digits (int)

Round

#
[Function(Binary.Round)] public static Complex Round(Complex x, int digits)
x (Complex)
digits (int)

Round

#
[Function(Binary.Round)] public static double Round(double x, int digits)
x (double)
digits (int)

Round

#
[Function(Binary.Round)] public static Field Round(Field x, int digits)
x (Field)
digits (int)

Round

#
[Function(Binary.Round)] public static Function Round(Function x, Function digits)
x (Function)
digits (Function)

Round

#
[Function(Binary.Round)] public static Function Round(Function x, int digits)
x (Function)
digits (int)

Round

#
[Function(Binary.Round)] public static int Round(int x, int digits)
x (int)
digits (int)

Round

#
[Function(Binary.Round)] public static Interval Round(Interval x, int digits)
x (Interval)
digits (int)

Round

#
[Function(Binary.Round)] public static Point3d Round(Point3d x, int digits)
x (Point3d)
digits (int)

Round

#
[Function(Binary.Round)] public static Vector3d Round(Vector3d x, int digits)
x (Vector3d)
digits (int)

Sec

#
[Function(Unary.Sec)] public static Complex Sec(Complex x)
x (Complex)

Sec

#
[Function(Unary.Sec)] public static double Sec(Angle x)
x (Angle)

Sec

#
[Function(Unary.Sec)] public static double Sec(BigInteger x)
x (BigInteger)

Sec

#
[Function(Unary.Sec)] public static double Sec(double x)
x (double)

Sec

#
[Function(Unary.Sec)] public static double Sec(int x)
x (int)

Sec

#
[Function(Unary.Sec)] public static Field Sec(Field x)
x (Field)

Sec

#
[Function(Unary.Sec)] public static Function Sec(Function x)
x (Function)

Sec

#
[Function(Unary.Sec)] public static Interval Sec(Interval x)
x (Interval)

Sign

#
[Function(Unary.Sign)] public static Field Sign(Field x)
x (Field)

Sign

#
[Function(Unary.Sign)] public static Function Sign(Function x)
x (Function)

Sign

#
[Function(Unary.Sign)] public static int Sign(Angle x)
x (Angle)

Sign

#
[Function(Unary.Sign)] public static int Sign(BigInteger x)
x (BigInteger)

Sign

#
[Function(Unary.Sign)] public static int Sign(Complex x)
x (Complex)

Sign

#
[Function(Unary.Sign)] public static int Sign(double x)
x (double)

Sign

#
[Function(Unary.Sign)] public static int Sign(int x)
x (int)

Sign

#
[Function(Unary.Sign)] public static int Sign(Interval x)
x (Interval)

Sign

#
[Function(Unary.Sign)] public static int Sign(Point3d x)
x (Point3d)

Sign

#
[Function(Unary.Sign)] public static int Sign(Vector3d x)
x (Vector3d)

Sin

#
[Function(Unary.Sin)] public static Complex Sin(Complex x)
x (Complex)

Sin

#
[Function(Unary.Sin)] public static double Sin(Angle x)
x (Angle)

Sin

#
[Function(Unary.Sin)] public static double Sin(BigInteger x)
x (BigInteger)

Sin

#
[Function(Unary.Sin)] public static double Sin(double x)
x (double)

Sin

#
[Function(Unary.Sin)] public static double Sin(int x)
x (int)

Sin

#
[Function(Unary.Sin)] public static Field Sin(Field x)
x (Field)

Sin

#
[Function(Unary.Sin)] public static Function Sin(Function x)
x (Function)

Sin

#
[Function(Unary.Sin)] public static Interval Sin(Interval x)
x (Interval)

SmartIntegerDivision

#
public static bool SmartIntegerDivision(object numerator, object denominator, out object result)
Perform clever integer division which always reverts to the most appropriate output type.
numerator (object)Numerator of either int or BigInteger.
denominator (object)Denominator of either int or BigInteger.
result (out object)Either a double, int or BigInteger depending on the input values.
True if an integer division was performed.

SmartIntegerDivision

#
public static object SmartIntegerDivision(object numerator, object denominator)
Perform clever integer division which always reverts to the most appropriate output type.
numerator (object)Numerator of either int or BigInteger.
denominator (object)Denominator of either int or BigInteger.
Result of smart integer division or floating point division.

Sqrt

#
[Function(Unary.Sqrt)] public static Angle Sqrt(Angle x)
x (Angle)

Sqrt

#
[Function(Unary.Sqrt)] public static Complex Sqrt(Complex x)
x (Complex)

Sqrt

#
[Function(Unary.Sqrt)] public static double Sqrt(BigInteger x)
x (BigInteger)

Sqrt

#
[Function(Unary.Sqrt)] public static double Sqrt(double x)
x (double)

Sqrt

#
[Function(Unary.Sqrt)] public static double Sqrt(int x)
x (int)

Sqrt

#
[Function(Unary.Sqrt)] public static Field Sqrt(Field x)
x (Field)

Sqrt

#
[Function(Unary.Sqrt)] public static Function Sqrt(Function x)
x (Function)

Sqrt

#
[Function(Unary.Sqrt)] public static Interval Sqrt(Interval x)
x (Interval)

Sqrt

#
[Function(Unary.Sqrt)] public static Point3d Sqrt(Point3d x)
x (Point3d)

Sqrt

#
[Function(Unary.Sqrt)] public static Vector3d Sqrt(Vector3d x)
x (Vector3d)

Sub

#
[Operator(Operation.Sub)] public static BigInteger Sub(int a, int b)
a (int)
b (int)

Sub

#
[Operator(Operation.Sub)] public static double Sub(BigInteger a, double b)
a (BigInteger)
b (double)

Sub

#
[Operator(Operation.Sub)] public static double Sub(double a, BigInteger b)
a (double)
b (BigInteger)

Sub

#
[Operator(Operation.Sub)] public static Interval Sub(Interval a, Interval b)
a (Interval)
b (Interval)

Tan

#
[Function(Unary.Tan)] public static Complex Tan(Complex x)
x (Complex)

Tan

#
[Function(Unary.Tan)] public static double Tan(Angle x)
x (Angle)

Tan

#
[Function(Unary.Tan)] public static double Tan(BigInteger x)
x (BigInteger)

Tan

#
[Function(Unary.Tan)] public static double Tan(double x)
x (double)

Tan

#
[Function(Unary.Tan)] public static double Tan(int x)
x (int)

Tan

#
[Function(Unary.Tan)] public static Field Tan(Field x)
x (Field)

Tan

#
[Function(Unary.Tan)] public static Function Tan(Function x)
x (Function)

Tan

#
[Function(Unary.Tan)] public static Interval Tan(Interval x)
x (Interval)

Truncate

#
[Function(Unary.Truncate)] public static Angle Truncate(Angle x)
x (Angle)

Truncate

#
[Function(Unary.Truncate)] public static BigInteger Truncate(BigInteger x)
x (BigInteger)

Truncate

#
[Function(Unary.Truncate)] public static Complex Truncate(Complex x)
x (Complex)

Truncate

#
[Function(Unary.Truncate)] public static double Truncate(double x)
x (double)

Truncate

#
[Function(Unary.Truncate)] public static Field Truncate(Field x)
x (Field)

Truncate

#
[Function(Unary.Truncate)] public static Function Truncate(Function x)
x (Function)

Truncate

#
[Function(Unary.Truncate)] public static int Truncate(int x)
x (int)

Truncate

#
[Function(Unary.Truncate)] public static Interval Truncate(Interval x)
x (Interval)

Truncate

#
[Function(Unary.Truncate)] public static Point3d Truncate(Point3d x)
x (Point3d)

Truncate

#
[Function(Unary.Truncate)] public static Vector3d Truncate(Vector3d x)
x (Vector3d)