Plugin Name:
MathEx
Current Version:
1.4.0.0
Description:
This plugin adds a number of math functions to your arsenal.
Licence:
Free to use and distribute.
Author:
Centauri Soldier and Compiled to AMS8 by abood1987
Web:
http://www.abc4web.com
E-mail:
electricfire05@yahoo.com
Copyright:
2013 Compiled by abood
Install Notes:
Place "MathEx" Folder in your "AutoPlay Media Studio/Plugins/Actions" folder.
MathEx.Base10ToBaseX
MathEx.BaseConvert
MathEx.BaseXToBase10
MathEx.CoefficientOfVariation
MathEx.CreateCounter
MathEx.DecimalColorToHex
MathEx.DecimalColorToRGB
MathEx.Divide
MathEx.FiveSummaryData
MathEx.FractionToDecimal
MathEx.FractionToLowestTerms
MathEx.GCF
MathEx.GetCounterPos
MathEx.GetPrimeFactors
MathEx.GetPrimes
MathEx.HexColorToRGB
MathEx.Intersection
MathEx.IsEven
MathEx.IsInteger
MathEx.IsNegative
MathEx.IsPrime
MathEx.LCD
MathEx.LCM
MathEx.Ln
MathEx.Log
MathEx.Mean
MathEx.Median
MathEx.Mode
MathEx.NumberCount
MathEx.NumberToTable
MathEx.NumberToWords
MathEx.RGBColorToHex
MathEx.Range
MathEx.SortNumericDataSet
MathEx.StandardDeviation
MathEx.StepCounter
MathEx.Summation
MathEx.Variance
(string) MathEx.Base10ToBaseX ( |
(number) Number = 435, (number) Output Base = 16 ) |
Converts a number from base ten to any other base(bases 2 - 36 supported).
(number) The number that will be converted.
(number) The base in which to output the number.
This action returns a (string) value.
(string) MathEx.BaseConvert ( |
(string) Number (as string) = "A54D6E", (number) Input Base = 17, (number) Output Base = 6 ) |
Convert a number from any base to any other base (bases 2 - 36 supported).
(string) The number (in string format) that will be converted.
(number) The base of the input number.
(number) The base in which to return the output.
This action returns a (string) value.
(number) MathEx.BaseXToBase10 ( |
(string) Number (as string) = "010101011110110101", (number) Input Base = 2 ) |
Converts a number from any base in a number in base ten(bases 2 - 36 supported).
(string) The number which to convert (in string format);
(number) The base of the input number.
This action returns a (number) value.
(number) MathEx.CoefficientOfVariation ( |
(table) Dataset = tDataset ) |
Returns the coefficient of variation for a set of data
(table) The table of numbers for which to find the coefficient of variation.
This action returns a (number) value.
MathEx.CreateCounter ( |
(string) Counter Name = "Items", (number) Max Count = 34, (boolean) Is 0 Based = false ) |
Creates a repeating counter.
(string) The name by which the counter is represented.
(number) The highest number to which the counter will go.
(boolean) Whether or not the counter will be a 0-based counter (as opposed to a 1-based counter).
This action dose not return any value.
(string) MathEx.DecimalColorToHex ( |
(number) Color = 1232143 ) |
Converts a decimal color value to a hex color value.
(number) The decimal color value.
This action returns a (string) value.
(table) MathEx.DecimalColorToRGB ( |
(number) Color = 1232143 ) |
Converts a decimal color value to an RGB value.
(number) The decimal color value.
This action returns a (table) value.
(table) MathEx.Divide ( |
(number) Dividend = 15, (number) Divisor = 3 ) |
Performs long division on two numbers.
(number) The number to divide.
(number) The number by which to divide the dividend.
This action returns a (table) value.
(table) MathEx.FiveSummaryData ( |
(table) Dataset = tDataset ) |
Gets the Five Summary Data for a given numeric dataset.
(table) The table of numbers for which to find the Five Summary Data.
This action returns a (table) value.
(number) MathEx.FractionToDecimal ( |
(number) Numerator = 15, (number) Denominator = 30 ) |
This action converts a fraction into a decimal.
(number) The numerator of the fraction.
(number) The denominator of the fraction.
This action returns a (number) value.
(table) MathEx.FractionToLowestTerms ( |
(number) Numerator = 20, (number) Denominator = 80 ) |
This action reduces a fraction to its lowest terms.
(number) The numerator of the fraction.
(number) The denominator of the fraction.
This action returns a (table) value.
(number) MathEx.GCF ( |
(number) Number 1 = 7, (number) Number 2 = 13 ) |
This finds the Greatest Common Factor of two numbers.
(number) The first number.
(number) The second number.
This action returns a (number) value.
(number) MathEx.GetCounterPos ( |
(string) Counter Name = "Items" ) |
Gets the current position of the given counter.
(string) The name by which the counter is represented.
This action returns a (number) value.
(table) MathEx.GetPrimeFactors ( |
(number) Number = 28 ) |
Returns the prime factors of a given integer.
(number) The number for which to find the prime factors.
This action returns a (table) value.
(table) MathEx.GetPrimes ( |
(number) Range Start = 1, (number) Range End = 100, (variant) Callback Function = nil ) |
Gets all prime numbers in a given range.
(number) The starting number of the search range.
(number) The last number in the search range.
(variant) The callback function to use when a prime number is found.
This action returns a (table) value.
(table) MathEx.HexColorToRGB ( |
(string) Color = "F34AC5" ) |
Converts a hex color value to an RGB color value.
(string) The six character string value of the hex color.
This action returns a (table) value.
(table) MathEx.Intersection ( |
(table) Set 1 = {1, 2, 3}, (table) Set 2 = {1, 2, 4, 7} ) |
Finds the intersection of two sets of numbers.
(table) The first set of numbers (in table format).
(table) The second set of numbers (in table format).
This action returns a (table) value.
(boolean) MathEx.IsEven ( |
(number) Number = 34 ) |
Determines whether or not a given number is an even number.
(number) The input number to check.
This action returns a (boolean) value.
(boolean) MathEx.IsInteger ( |
(number) Number = 23.5 ) |
Determines whether or not a number is an integer (a whole number).
(number) The input number to check.
This action returns a (boolean) value.
(boolean) MathEx.IsNegative ( |
(number) Number = 12 ) |
Determines whether or not a number is negative.
(number) The input number to check.
This action returns a (boolean) value.
(boolean) MathEx.IsPrime ( |
(number) Number = 17 ) |
Determines whether or not a given number is a prime number.
(number) The input number to check.
This action returns a (boolean) value.
(number) MathEx.LCD ( |
(table) Numbers = {32, 14, 8, 9, 24} ) |
Gets the least common denominator for a given set of integers.
(table) A set of numbers (in table format) for which to find the least common denominator.
This action returns a (number) value.
(number) MathEx.LCM ( |
(number) Number 1 = 427, (number) Number 2 = 238 ) |
This finds the Least Common Multiple of two numbers.
(number) The first number.
(number) The second number.
This action returns a (number) value.
(number) MathEx.Ln ( |
(number) Input = 100 ) |
Returns the natural log of a number.
(number) The number for which to find the natural log.
This action returns a (number) value.
(number) MathEx.Log ( |
(number) Log Base = 10, (number) Input = 100 ) |
Allows the input of the log base (where the stock AMS action "Math.Log" does not).
(number) The base of the log.
(number) The number for which to find the log.
This action returns a (number) value.
(number) MathEx.Mean ( |
(table) Dataset = tDataset ) |
Calculates the mean of a set of numbers.
(table) The table of numbers for which to find the mean.
This action returns a (number) value.
(number) MathEx.Median ( |
(table) Dataset = tDataset ) |
Finds the median of a set of numbers.
(table) The table of numbers for which to find the median.
This action returns a (number) value.
(number) MathEx.Mode ( |
(table) Dataset = tDataset ) |
Finds the mode of a set of numbers.
(table) The table of numbers for which to find the mode.
This action returns a (number) value.
(number) MathEx.NumberCount () |
Counts the number of places in a given number.
This action returns a (number) value.
(table) MathEx.NumberToTable () |
Stores each digit of a number in a table.
This action returns a (table) value.
(string) MathEx.NumberToWords ( |
(number) Number = 1234, (boolean) Use Commas = true, (boolean) Is Monetary = true ) |
This will convert a number to a string of words.
(number) The input number.
(boolean) Whether or not to use commas.
(boolean) Whether or not to display the result in terms of money (only USD is currently supported).
This action returns a (string) value.
(string) MathEx.RGBColorToHex ( |
(table) RGB = tRGB ) |
Conerts an RGB colro value to a hex color value.
(table) The table containing the three RGB values.
This action returns a (string) value.
(number) MathEx.Range ( |
(table) Dataset = tDataset ) |
gets the range of a given set of numbers.
(table) The table of numbers for which to find the range.
This action returns a (number) value.
(table) MathEx.SortNumericDataSet ( |
(table) Dataset = tDataset, (boolean) Ascending = true ) |
Sorts a table of numbers.
(table) The table of numbers to sort.
(boolean) Whether to sort the items in ascending or descending order.
This action returns a (table) value.
(number) MathEx.StandardDeviation ( |
(table) Dataset = tDataset ) |
Calculates the standard deviation for a given set of numbers.
(table) The table of number for which to find the standard deviation.
This action returns a (number) value.
(number) MathEx.StepCounter ( |
(string) Counter Name = "Items" ) |
Steps a counter from its current position to its next position.
(string) The name by which the counter is represented.
This action returns a (number) value.
(number) MathEx.Summation ( |
(table) Dataset = tDataset ) |
Calculates the total of all items(added together) of a given set of numbers.
(table) The set of numbers which to add.
This action returns a (number) value.
(number) MathEx.Variance () |
Calculates the variance for a given set of numbers.
This action returns a (number) value.
electricfire05@yahoo.com