Calculates a complex number with the inputted magnitude.
The complex number
The magnitude to set to
// Returns 6 + 8i (scaled to magnitude 10)const normscl = Chalkboard.comp.magset(Chalkboard.comp.init(3, 4), 10); Copy
// Returns 6 + 8i (scaled to magnitude 10)const normscl = Chalkboard.comp.magset(Chalkboard.comp.init(3, 4), 10);
Calculates a complex number with the inputted magnitude.