scaled method

FVector scaled(
  1. double factor
)

Multiplies the vector by scalar (immutable)

Implementation

FVector scaled(double factor) {
  FVector newVec = FVector.zero(nRows);
  for (int i = 0; i < columnData.length; ++i)
    newVec.columnData[i] = columnData[i].scale(factor);
  return newVec;
}