Package samer.maths
Class Ops
- java.lang.Object
-
- samer.maths.Ops
-
public class Ops extends java.lang.Object
An 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 class
Ops.ArrayCopy
static class
Ops.IteratorCopy
-
Constructor Summary
Constructors Constructor and Description Ops()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
apply(Function fn, Matrix A)
static void
apply(Function fn, Matrix B, Matrix A)
static Task
apply(Function fn, Vec vin)
static Task
apply(Vec vout, Function f, Vec vin)
static Task
apply(VectorFunctionOfVector fn, VVector vinout)
static Task
apply(VVector vout, VectorFunctionOfVector fn, VVector vin)
static Task
plusEquals(VVector x, VVector y)
static Task
times(VVector out, Matrix A, VVector x)
static Task
timesEquals(VVector x, VVector y)
static Task
transfer(Vec in, int inpos, Vec out, int outpos, int len)
static Task
transfer(Vec in, Vec out)
static Task
transfer(Vec in, Vec out, int[] elements)
static void
triggerTask(Task task, java.util.Observable obs)
causes a task to run whenever an observable changesstatic Task
update(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
-
-