hadamard: Calculate the Hadamard product between two matrices.

View source: R/hadamard.R

hadamardR Documentation

Calculate the Hadamard product between two matrices.

Description

Commonly referred to as elementwise matrix multiplication.

Usage

hadamard(A, B)

Arguments

A

First matrix.

B

Second matrix of same dimensions as A.

Value

Elementwise product between the two matices.


mlysy/RcppTMBTest documentation built on March 25, 2022, 2:37 p.m.