Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Latest commit

 

History

History
123 lines (78 loc) · 3.17 KB

README.md

File metadata and controls

123 lines (78 loc) · 3.17 KB

Groophy.Math

NuGet version (Groophy.Math)

Source Code

OVERVIEW
It's still under development!

Usage

Addaddition

Subtraction

Multiplication

Division

Modulo

Period

Exponent|Power|Caret

Sigma

And more...

Types

        public bool get_Bool { get; set; }
        public byte get_Byte { get; set; }
        public sbyte get_Sbyte { get; set; }
        public short get_Short { get; set; }
        public ushort get_UShort { get; set; }
        public int get_Int { get; set; }
        public uint get_UInt { get; set; }
        public long get_Long { get; set; }
        public ulong get_ULong { get; set; }
        public float get_Float { get; set; }
        public double get_Double { get; set; }
        public decimal get_Decimal { get; set; }
        public string get_String { get; set; }
GValue g = new GValue("5");
Short Short_of_g = g.get_Short; //5

Example of Sigma

public static GValue Sigma(GValue n, GValue to, string formula)
GValue g = Groophy.Math.Math.Sigma(new GValue("2"), new GValue("5"), "n*2");
g.PrintAll();

It applies the formula "formula" until the number "n" is increased one by one until the number "to".

2*2

3*2

4*2

= 18

sig

1.0.0 Template,

Methods with single type parameter(GValue)

Addaddition

Subtraction

Multiplication

Division

Modulo

Period

Exponent|Power|Caret

Sigma


1.0.1 Methods with two type parameter(GValue, String) and fixes

Root

per(%)

Absolute

Factorial

Permutation

Combination

First Sample(find Area and Diameter of circle)


~Groophy Lifefor