Package org.ejml.generic
Class GenericMatrixOps_F32
java.lang.Object
org.ejml.generic.GenericMatrixOps_F32
@Generated("org.ejml.generic.GenericMatrixOps_F64")
public class GenericMatrixOps_F32
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopy(org.ejml.data.FMatrix from, org.ejml.data.FMatrix to) static booleanisEquivalent(org.ejml.data.FMatrix a, org.ejml.data.FMatrix b, float tol) static booleanisEquivalentTriangle(boolean upper, org.ejml.data.FMatrix a, org.ejml.data.FMatrix b, float tol) static booleanisIdentity(org.ejml.data.FMatrix a, float tol) Returns true if the provided matrix is has a value of 1 along the diagonal elements and zero along all the other elements.static void
-
Constructor Details
-
GenericMatrixOps_F32
public GenericMatrixOps_F32()
-
-
Method Details
-
isEquivalent
public static boolean isEquivalent(org.ejml.data.FMatrix a, org.ejml.data.FMatrix b, float tol) -
isIdentity
public static boolean isIdentity(org.ejml.data.FMatrix a, float tol) Returns true if the provided matrix is has a value of 1 along the diagonal elements and zero along all the other elements.- Parameters:
a- Matrix being inspected.tol- How close to zero or one each element needs to be.- Returns:
- If it is within tolerance to an identity matrix.
-
isEquivalentTriangle
public static boolean isEquivalentTriangle(boolean upper, org.ejml.data.FMatrix a, org.ejml.data.FMatrix b, float tol) -
copy
public static void copy(org.ejml.data.FMatrix from, org.ejml.data.FMatrix to) -
setRandom
-