Learn R Programming

GeneralizedUmatrix (version 1.2.1)

addRowWiseC: intern function

Description

Adds the Vector DataPoint to every row of the matrix WeightVectors

Usage

addRowWiseC(WeightVectors,DataPoint)

Arguments

WeightVectors

WeightVectors. n weights with m components each

DataPoint

Vector with m components

Value

WeightVectors[1:m,1:n]