Utility functions.
More...
|
static double[] | linspace (double a, double b, int num) |
|
static double[] | range (double a, double step, double b) |
| The Java equivalent to Matlab's "range = a:step:b". More...
|
|
static void | vecAdd (double[] to, double[] what) |
|
static RealVector | randVector (int dim) |
|
static RealMatrix | randMatrix (int rows, int cols) |
|
static String | realMatToString (RealMatrix r) |
|
static String | realVecToString (RealVector r) |
|
Utility functions.
- Author
- Daniel Wirtz
- Date
- 2013-08-07
Definition at line 15 of file Util.java.
static double [] jarmos.Util.linspace |
( |
double |
a, |
|
|
double |
b, |
|
|
int |
num |
|
) |
| |
|
static |
static RealMatrix jarmos.Util.randMatrix |
( |
int |
rows, |
|
|
int |
cols |
|
) |
| |
|
static |
static RealVector jarmos.Util.randVector |
( |
int |
dim | ) |
|
|
static |
static double [] jarmos.Util.range |
( |
double |
a, |
|
|
double |
step, |
|
|
double |
b |
|
) |
| |
|
static |
The Java equivalent to Matlab's "range = a:step:b".
Returns null if a > b.
- Parameters
-
- Returns
Definition at line 36 of file Util.java.
static String jarmos.Util.realMatToString |
( |
RealMatrix |
r | ) |
|
|
static |
static String jarmos.Util.realVecToString |
( |
RealVector |
r | ) |
|
|
static |
static void jarmos.Util.vecAdd |
( |
double[] |
to, |
|
|
double[] |
what |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: