mlxtend version: 0.14.0dev

factorial

factorial(n)

None

num_combinations

num_combinations(n, k, with_replacement=False)

Function to calculate the number of possible combinations.

Parameters

Returns

Examples

For usage examples, please see http://rasbt.github.io/mlxtend/user_guide/math/num_combinations/

num_permutations

num_permutations(n, k, with_replacement=False)

Function to calculate the number of possible permutations.

Parameters

Returns

Examples

For usage examples, please see http://rasbt.github.io/mlxtend/user_guide/math/num_permutations/

vectorspace_dimensionality

vectorspace_dimensionality(ary)

Computes the hyper-volume spanned by a vector set

Parameters

Returns

vectorspace_orthonormalization

vectorspace_orthonormalization(ary, eps=1e-13)

Transforms a set of column vectors to a orthonormal basis.

Given a set of orthogonal vectors, this functions converts such column vectors, arranged in a matrix, into orthonormal basis vectors.

Parameters

Returns