Private functions

Work-in-progress

This page of the docs is still a work-in-progress. Check back later!

GCPDecompositions.GCPAlgorithms._gcpFunction
_gcp(X, r, loss, constraints, algorithm)

Internal function to compute an approximate rank-r CP decomposition of the tensor X with respect to the loss function loss and the constraints constraints using the algorithm algorithm, returning a CPD object.

source
GCPDecompositions.TensorKernels._checked_mttkrp_dimsFunction
_checked_mttkrp_dims(X, (U1, U2, ..., UN), n)

Check that X and U have compatible dimensions for the mode-n MTTKRP. If so, return a tuple of the number of rows and the shared number of columns for the Khatri-Rao product. If not, throw an error.

source
GCPDecompositions.TensorKernels._checked_mttkrps_dimsFunction
_checked_mttkrps_dims(X, (U1, U2, ..., UN))

Check that X and U have compatible dimensions for the mode-n MTTKRP. If so, return a tuple of the number of rows and the shared number of columns for the Khatri-Rao product. If not, throw an error.

source