import java.applet.Applet; import java.awt.event.*; import java.awt.*; /*This class does the basic arithmetic of complex numbers */ public class LongAffine { LongMatrix m; LongVector v; public LongAffine(LongMatrix m0,LongVector v0) { this.m=m0; this.v=v0; } public LongVector act(LongVector W) { LongVector X=LongMatrix.act(m,W); X=LongVector.plus(X,v); return(X); } }