Package samer.maths
Class Ops
- java.lang.Object
-
- samer.maths.Ops
-
public class Ops extends java.lang.ObjectAn agent which allows the creation of vectors and matrices, and can also arrange for them to be multiplied as part of the current task list
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classOps.ArrayCopystatic classOps.IteratorCopy
-
Constructor Summary
Constructors Constructor and Description Ops()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidapply(Function fn, Matrix A)static voidapply(Function fn, Matrix B, Matrix A)static Taskapply(Function fn, Vec vin)static Taskapply(Vec vout, Function f, Vec vin)static Taskapply(VectorFunctionOfVector fn, VVector vinout)static Taskapply(VVector vout, VectorFunctionOfVector fn, VVector vin)static TaskplusEquals(VVector x, VVector y)static Tasktimes(VVector out, Matrix A, VVector x)static TasktimesEquals(VVector x, VVector y)static Tasktransfer(Vec in, int inpos, Vec out, int outpos, int len)static Tasktransfer(Vec in, Vec out)static Tasktransfer(Vec in, Vec out, int[] elements)static voidtriggerTask(Task task, java.util.Observable obs)causes a task to run whenever an observable changesstatic Taskupdate(Viewable v)
-
-
-
Method Detail
-
update
public static Task update(Viewable v)
-
apply
public static Task apply(VVector vout, VectorFunctionOfVector fn, VVector vin)
-
apply
public static Task apply(VectorFunctionOfVector fn, VVector vinout)
-
triggerTask
public static void triggerTask(Task task, java.util.Observable obs)
causes a task to run whenever an observable changes
-
-