Package org.ejml.ops
Class ConvertMatrixData
java.lang.Object
org.ejml.ops.ConvertMatrixData
Convert between matrices with the same structure but different element data types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
convert
(BMatrixRMaj input, DMatrix output) Converts binary matrix into a DMatrix by setting all true to 1.0 and false to 0.0static void
convert
(BMatrixRMaj input, DMatrixSparseCSC output) static void
convert
(BMatrixRMaj input, FMatrix output) Converts binary matrix into a FMatrix by setting all true to 1.0 and false to 0.0static void
convert
(BMatrixRMaj input, FMatrixSparseCSC output) static void
static void
convert
(DMatrix2x2 src, FMatrix2x2 dst) static void
convert
(DMatrix3x3 src, FMatrix3x3 dst) static void
convert
(DMatrix4x4 src, FMatrix4x4 dst) static void
convert
(DMatrixRMaj src, CMatrixRMaj dst) static void
convert
(DMatrixRMaj src, FMatrixRMaj dst) static void
convert
(DMatrixRMaj src, ZMatrixRMaj dst) static void
static void
Generic, but slow, conversion function.static void
static void
convert
(FMatrix2x2 src, DMatrix2x2 dst) static void
convert
(FMatrix3x3 src, DMatrix3x3 dst) static void
convert
(FMatrix4x4 src, DMatrix4x4 dst) static void
convert
(FMatrixRMaj src, CMatrixRMaj dst) static void
convert
(FMatrixRMaj src, DMatrixRMaj dst) static void
convert
(FMatrixRMaj src, ZMatrixRMaj dst) static void
static void
static void
static void
-
Constructor Details
-
ConvertMatrixData
public ConvertMatrixData()
-
-
Method Details
-
convert
Generic, but slow, conversion function.- Parameters:
input
- Input matrix.output
- Output matrix.
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-
convert
Converts binary matrix into a DMatrix by setting all true to 1.0 and false to 0.0 -
convert
Converts binary matrix into a FMatrix by setting all true to 1.0 and false to 0.0 -
convert
-
convert
-
convert
-
convert
-
convert
-
convert
-