Learn R Programming

iGraphMatch (version 2.0.5)

innerproduct: Matrix inner products

Description

Matrix inner products

Usage

innerproduct(x, y)

# S4 method for splrMatrix,splrMatrix innerproduct(x, y)

# S4 method for splrMatrix,Matrix innerproduct(x, y)

# S4 method for Matrix,splrMatrix innerproduct(x, y)

# S4 method for matrix_list,matrix_list innerproduct(x, y)

Value

inner product <x, y> = sum over all elements i,j of x_ij * y_ij.

Arguments

x

matrix like object

y

matrix like object

Details

For a matrix_list object, sums over all layers/list-elements as well.