hadamard-methods | R Documentation |
Returns the Hadamard product of two Tensors. Commonly used for n-mode products and various Tensor decompositions.
hadamard(darr1, darr2)
## S4 method for signature 'DelayedArray,DelayedArray'
hadamard(darr1, darr2)
darr1 |
first DelayedArray object |
darr2 |
second DelayedArray object |
matrix that is the Hadamard product
The modes/dimensions of each element of two Tensors must match.
khatri_rao
, khatri_rao_list
,
kronecker
, kronecker_list
,
hadamard_list
library("DelayedRandomArray")
darr1 <- RandomUnifArray(c(2,4))
darr2 <- RandomUnifArray(c(2,4))
hadamard(darr1, darr1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.