TSpectrum.Scale Method

void Scale(Double Factor)

Scale the calling spectrum with Factor.

#NameTypeDescription
1FactorDoublescalar

Result: stored in self (calling object)

Examples
Matrix v;
v.SetIt(1,3,false,new double[] {2,3,5});  // v = new double[] {2,3,5}
v.Scale(3); // v = new double[] {6,9,15}