Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


SSDL (version 1.1)

Gradient_D_cpp: Gradient D

Description

Gradient with respect to dictionary using sparse product

Usage

Gradient_D_cpp(D, A, W, SK)

Arguments

D

is a dictionary \(s \times K\).

A

is a code matrix \(K \times n\).

W

is a frequency matrix \(m \times s\) with frequency vectors in matrix rows.

SK

is a data sketch. It is a \(2m\)-dimensional vector.

Value

a gradient matrix