innerproduct: Matrix inner products

innerproductR Documentation

Matrix inner products

Description

Matrix inner products

Usage

innerproduct(x, y)

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

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

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

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

Arguments

x

matrix like object

y

matrix like object

Details

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

Value

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


dpmcsuss/iGraphMatch documentation built on May 22, 2024, 8:52 p.m.