Matrix - Java-Scheme Laboratory - Sound Software .ac.uk Sign in Register Home Projects Help Search: Java-Scheme Laboratory Overview Members Activity Repository Code docs JavaScript is disabled on your browser. Skip navigation links Overview Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes SEARCH: JavaScript is disabled on your browser. Summary: Nested | Field | Constr | Method Detail: Field | Constr | Method Package samer.maths Class Matrix java.lang.Object Jama.Matrix samer.maths.Matrix All Implemented Interfaces: Mat public class Matrix
extends Jama.Matrix
implements Mat Represents a bundling of a Jama.Matrix with Viewable bits. Create one of these and you can either keep it invisible, expose its UI yourself, or let the Viewable framework expose a default viewer automatically Constructor Summary Constructors Constructor and Description Matrix(double[][] array) Matrix(int m, int n) Matrix(java.lang.String name, int m, int n) Matrix(java.lang.String name, int m, int n, int flags) Method Summary All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description void add(Generator g) void addObserver(java.util.Observer o) void antisymmetrise() Antisymmetrise in place. void apply(Function f) void assign(Jama.Matrix b) Set to given matrix (need to make sure both matrices are the same size) void changed() void changed(java.lang.Object o) void copyFrom(double[][] src) void deleteObserver(java.util.Observer o) void dispose() boolean equals(java.util.Observable o) Agent getAgent() Vec getColumn(int k) static Vec getDiagonal(Jama.Matrix A) Node getNode() Vec getRow(int k) int height() void identity() Set to identity matrix static Jama.Matrix identity(Jama.Matrix a) void load(java.io.InputStream in) double logdet() return log(abs(det(this))) (must be square matrix) java.util.Observable observable() void read(java.io.Reader rdr) void save(java.io.OutputStream out) void set(Generator g) void symmetrise() Symmetrise in place preserving trace. java.lang.String toString() Viewable viewable() int width() void write(java.io.Writer wr) void zero() Set to zero matrix Methods inherited from interface samer.maths.Mat get, set Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Detail Matrix public Matrix(double[][] array) Matrix public Matrix(int m,
int n) Matrix public Matrix(java.lang.String name,
int m,
int n) Matrix public Matrix(java.lang.String name,
int m,
int n,
int flags) Method Detail observable public java.util.Observable observable() viewable public Viewable viewable() equals public boolean equals(java.util.Observable o) getNode public Node getNode() changed public final void changed(java.lang.Object o) changed public final void changed() addObserver public void addObserver(java.util.Observer o) deleteObserver public void deleteObserver(java.util.Observer o) dispose public void dispose() copyFrom public void copyFrom(double[][] src) toString public java.lang.String toString() width public int width() Specified by: width in interface Mat height public int height() Specified by: height in interface Mat getAgent public Agent getAgent() set public void set(Generator g) apply public void apply(Function f) add public void add(Generator g) identity public void identity() Set to identity matrix identity public static Jama.Matrix identity(Jama.Matrix a) zero public void zero() Set to zero matrix assign public void assign(Jama.Matrix b) Set to given matrix (need to make sure both matrices are the same size) Parameters: b - the matrix to be copied load public void load(java.io.InputStream in)
throws java.lang.Exception Throws: java.lang.Exception save public void save(java.io.OutputStream out)
throws java.lang.Exception Throws: java.lang.Exception write public void write(java.io.Writer wr)
throws java.lang.Exception Throws: java.lang.Exception read public void read(java.io.Reader rdr)
throws java.lang.Exception Throws: java.lang.Exception symmetrise public void symmetrise() Symmetrise in place preserving trace. Will fail if matrix is not square. antisymmetrise public void antisymmetrise() Antisymmetrise in place. Will fail if matrix is not square. logdet public double logdet() return log(abs(det(this))) (must be square matrix) getRow public Vec getRow(int k) getColumn public Vec getColumn(int k) getDiagonal public static Vec getDiagonal(Jama.Matrix A) Skip navigation links Overview Package Class Tree Deprecated Index Help Prev Class Next Class Frames No Frames All Classes JavaScript is disabled on your browser. Summary: Nested | Field | Constr | Method Detail: Field | Constr | Method Loading... Operated by SoundSoftware.ac.uk – contact us Powered by Redmine