scalation.mathstat.MatrixCalc
The MattixCalc
class supports simple simple calculations on elements in a matrix.
Value parameters
-
header
-
the column names
-
x
-
the matrix of data
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Perform calculations for each row using the given formula. Usage: val q = new MatrixCalc (x, hd) Usage: q.fill (3, 2, 1, (zt: Double) => r * zt)
Perform calculations for each row using the given formula. Usage: val q = new MatrixCalc (x, hd) Usage: q.fill (3, 2, 1, (zt: Double) => r * zt)
Value parameters
-
c1
-
the column to be assigned
-
c2
-
the column supplying the data
-
formula
-
the c1 = formula (c2) appropriately offset
-
offset
-
the row index offset applied to c2 (e.g., get past data)
Attributes
Show header and the matrix.
Show header and the matrix.
Attributes