Calculator
Object Hierarchy:
Description:
public class Calculator : Object
A constant calculator for different operations.
Content:
Static methods:
- public static MathConstant acos (MathConstant c1, AngleUnit units = RADIANS)
Calculates the arc, in the given units, represented by the cosine of
c1
- public static MathConstant add (MathConstant c1, MathConstant c2)
- public static MathConstant asin (MathConstant c1, AngleUnit units = RADIANS)
Calculates the arc, in the given units, represented by the sine of c1
- public static MathConstant atan (MathConstant c1, AngleUnit units = RADIANS)
Calculates the arc, with the given units, represented by the tangent
of c1
- public static MathConstant catalan ()
Creates a constant with the value of constant CATALAN
- public static MathConstant cos (MathConstant c1, AngleUnit units = RADIANS)
Calculates the cosine of c1 angle at the given units
- public static MathConstant divide (MathConstant c1, MathConstant c2)
Divide c1/c2
- public static bool eq (MathConstant c1, MathConstant c2)
Operator c1 = c2 (equal)
- public static MathConstant euler ()
Creates a constant with the value of constant EULER
- public static MathConstant exp (MathConstant c1)
Calculates the the exponential of iven c1
- public static bool gt (MathConstant c1, MathConstant c2)
Operator c1 > c2
- public static MathConstant log10 (MathConstant c1)
Calculates the logarithm base 10 of given c1
- public static MathConstant log2 ()
Creates a constant with the value of constant logarithm of 2
- public static bool lt (MathConstant c1, MathConstant c2)
Operator c1 < c2
- public static MathConstant multiply (MathConstant c1, MathConstant c2)
- public static MathConstant neg (MathConstant c)
Calculates the negative value of c
- public static MathConstant pi ()
Creates a constant with the value of constant PI
- public static MathConstant pow (MathConstant c, MathConstant p)
Calculates c raised to p
- public static MathConstant sin (MathConstant c1, AngleUnit units = RADIANS)
Calculates the sine of c1 angle at the given units
- public static MathConstant sqrt (MathConstant c)
Calculates square root of c
- public static MathConstant subtract (MathConstant c1, MathConstant c2)
Substract C2 to C1 operation (c1 - c2)
- public static MathConstant tan (MathConstant c1, AngleUnit units = RADIANS)
Calculates the tangent of c1 angle at the given units
Creation methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref