Calculates the dot product of a number. Throws an exception of the arrays are not of the same size.
EqulibirimIndices (Sequence() AsInt) AsList
An equilibrium index of a sequence is an index into the sequence such that the sum of elements at lower indices is equal to the sum of elements at higher indices.
Fibonacci (NAsInt) AsLong
Calculates the Fibnacci sequence. DimntasNumberTools Fori = 1To16 Log(nt.Fibonacci(i))
Next
Returns true if A and B are with in Tolerance of each other.
GreatestCommonDivisor (AAsInt, BAsInt) AsInt
Returns the greatest commond divisor of 2 numbers.
IsEmirp (ValueAsInt) AsBoolean
Tests whether a number is an emirp (A prime number that when reversed is a different prime number).
IsEven (InputAsInt) AsBoolean
Tests whether Input is an even number.
IsEvil (InputAsInt) AsBoolean
Returns true if Input is an evil number
IsHappy (NumberAsInt) AsBoolean
Returns whether or not Number is a happy number. A happy number is defined by the following process. Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1.
IsInitializedAsBoolean
Tests whether the object has been initialized.
IsNarcissistic (InputAsLong) AsBoolean
Tests whether Input is a Narcissistic number.
IsOdd (InputAsInt) AsBoolean
Tests whether Input is an odd number.
IsOdious (InputAsInt) AsBoolean
Returns true if Input is an odious number.
IsPerfect (NAsInt) AsBoolean
Calculates whether or not a number is perfect. A perfect number is a positive integer that is the sum of its proper positive divisors excluding the number itself. Equivalently, a perfect number is a number that is half the sum of all of its positive divisors (including itself).
IsPernicious (InputAsInt) AsBoolean
Tests whther a number is pernicious, that is has a population count that is a prime number.
IsPrime (aAsInt) AsBoolean
Checks whether a is a prime.
IsSelfDescribing (InputAsInt) AsBoolean
Calculates whether Input is a self describing number.
Luhn (NumberAsString) AsBoolean
Checks whether a credit card number is valid checking it using the Luhn method. This doesn't mean the number exists, just checks it is valid.
Returns the index in Input where any one of SearchFor was found. Returns -1 if no match. DimSTasStringTools Log(ST.IndexOfAny("Car",ArrayasString("Far","Bar","Car"))) ' Returns 0.
Surrounds Input with SurroundWith, optionally checking if it doesn't need to be done
SwapCase (InputAsString) AsString
Swaps the case of the characters in the given string
TitleCase (InputAsString) AsString
Converts Input to Title Case (Proper Case), using whitespace as the delimiter. Leaves he rest of the word unchanged. Example my name iS mathew becomes My Name IS Mathew.
Splits Input at matches of Delimiter. If IgnoreFirst is true the first match will not be included. If IgnoreLast is true then the last match will not be included.
ToList (InputAsString) AsList
Converts the given string to a list, where each item is a character from Input.
ToList2 (InputAsString, SplitAtAsString) AsList
Returns the String as a List, splitting at SplitAt
ToList3 (Inputs() AsString) AsList
ToStringArray (InputAsString) AsString()
Returns a String array, where each item in the array is a letter from Input.