operator * method

FVector operator *(
  1. FVector other
)

Implementation

FVector operator *(FVector other) {
  assert(nRows == other.nRows);
  FVector newVec = FVector.zero(nRows);
  for (int i = 0; i < columnData.length; ++i)
    newVec.columnData[i] = columnData[i] * other.columnData[i];
  return newVec;
}