%*%,gpuVector,gpuVector-method {gpuR}R Documentation

Methods for gpu/vcl Vector

Description

Multiply two gpuR objects, if they are conformable. If both are vectors of the same length, it will return the inner product (as a matrix).

Usage

## S4 method for signature 'gpuVector,gpuVector'
x %*% y

## S4 method for signature 'gpuVector,gpuMatrix'
x %*% y

## S4 method for signature 'vclMatrix,vclMatrix'
x %*% y

## S4 method for signature 'vclMatrix,vclVector'
x %*% y

## S4 method for signature 'vclMatrix,matrix'
x %*% y

## S4 method for signature 'matrix,vclMatrix'
x %*% y

## S4 method for signature 'vclVector,vclVector'
x %*% y

## S4 method for signature 'vclVector,vclMatrix'
x %*% y

## S4 method for signature 'gpuMatrix,gpuMatrix'
x %*% y

## S4 method for signature 'gpuMatrix,gpuVector'
x %*% y

## S4 method for signature 'gpuMatrix,matrix'
x %*% y

## S4 method for signature 'matrix,gpuMatrix'
x %*% y

Arguments

x

A gpuR object

y

A gpuR object

Value

The inner product of the two gpuVector objects x and y.

The result of matrix-vector multiplication between the gpuMatrix y and the gpuVector x.

The result of multiplying the vclMatrix 'x' and the vclVector 'y'.

A vclMatrix object, the result of multiplying the vclMatrix 'x' and the regular R matrix 'y'.

A vclMatrix object, the result of multiplying the regular R matrix x and the vclMatrix y.

A gpuMatrix object which is the result of multiplying the two gpuMatrix objects 'x' and 'y'.

Author(s)

Charles Determan Jr.


[Package gpuR version 2.0.6 Index]