procedure Scale(Factor: Double);
Scale the calling spectrum with Factor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Factor | Double | scalar |
Result: stored in self (calling object)
Examples
var v: Matrix;
begin
v.SetIt(1,3,false,[2,3,5]); // v = [2,3,5]
v.Scale(3); // v = [6,9,15]
end;