gwMultiMatrix: Matrix Multiplication

View source: R/gwMutiMatrix.R

gwMultiMatrixR Documentation

Matrix Multiplication

Description

Multiplies two matrices, if they are conformable. If one argument is a vector, it will be promoted to either a row or column matrix to make the two arguments conformable. If both are vectors of the same length, it will return the inner product (as a matrix).

Usage

gwMultiMatrix(A, B)

Arguments

A

numeric or complex matrices or vectors.

B

numeric or complex matrices or vectors.

Value

Multiplies two matrices


patauchi/biogeoTools documentation built on April 25, 2022, 6:53 p.m.