GitHub
NPM
Preparing search index...
The search index is not available
Alwe's Tools - v0.0.2
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Alwe's Tools
quickSortStr
Function quickSortStr
quick
Sort
Str
(
array
)
:
string
[]
Sorts an array of strings using the quick sort algorithm.
Parameters
array
:
string
[]
The array to be sorted.
Returns
string
[]
The sorted array.
Alwe's
Tools -
v0.0.2
Circular
Queue
A circular queue data structure.
Dim
Red
A class for performing dimensionality reduction on a matrix of data.
Graph
A graph data structure.
Graph
Structure
Abstract class representing a graph structure.
Matrix
A matrix data structure.
Queue
A queue data structure.
Randomizer
A Mersenne Twister random number generator.
Stack
A stack data structure.
TSNE
A class for performing dimensionality reduction on a matrix of data.
Tree
Represents a tree data structure.
Tree
Leaf
Represents a leaf in a tree data structure.
Weighted
Graph
A weighted graph data structure.
Dim
Red
Params
Interface for the parameters used in dimensionality reduction algorithms.
List
Structure
Interface for a list data structure.
Structure
Interface for data structures.
TSNEParams
Interface for t-SNE parameters, which extends the base dimensionality reduction parameters.
Edge
Weight
canberra
Calculates the Canberra distance between `a` and `b`.
chebyshev
Calculates the Chebyshev distance between `a` and `b`.
cosine
Calculates the cosine distance (not similarity) between `a` and `b`.
euclidean
Calculates the Euclidean distance between `a` and `b`.
euclidean
Squared
Calculates the squared Euclidean distance between `a` and `b`.
getLCP
Returns the length of the longest common prefix between two strings.
hamming
Calculates the Hamming distance between `a` and `b`.
is
Array2D
Type guard function that checks if an array is a 2D array of a specific type.
is
Of
Type
Type guard function that checks if a value is of a certain type.
is
Right
Array
Type guard function that checks if an array is of type T[].
linear
Space
Returns an array of linearly spaced numbers between `start` and `end`.
manhattan
Calculates the Manhattan distance between `a` and `b`.
measure
A decorator function that measures the execution time of a method and logs it to the console.
measure
Time
Measures the time it takes for a function to execute.
merge
Sort
Num
Sorts an array of numbers using the merge sort algorithm.
merge
Sort
Str
Sorts an array of strings using the merge sort algorithm.
quick
Sort
Num
Sorts an array of numbers using the quick sort algorithm.
quick
Sort
Str
Sorts an array of strings using the quick sort algorithm.
Sorts an array of strings using the quick sort algorithm.