/** * Sets the value of this tuple to the scalar multiplication of tuple1 and then adds tuple2 (this = scaleFactor * tuple1 + tuple2). * * @param scaleFactor double * @param frameTuple1 Tuple2d * @param frameTuple2 Tuple2d */ public final void scaleAdd(double scaleFactor, Tuple2d tuple1, Tuple2d tuple2) { tuple.scaleAdd(scaleFactor, tuple1, tuple2); }
/** * Sets the value of this tuple to the scalar multiplication of itself and then adds tuple1 (this = scaleFactor * this + tuple1). * Checks if reference frames match. * * @param scaleFactor double * @param frameTuple1 Tuple2d */ public final void scaleAdd(double scaleFactor, Tuple2d tuple1) { tuple.scaleAdd(scaleFactor, tuple1); }