Class DenseFieldOps
java.lang.Object
org.flag4j.linalg.ops.dense.field_ops.DenseFieldOps
This class provides low level methods for computing ops on dense field tensors.
-
Method Summary
-
Method Details
-
div
public static <T extends Field<T>> void div(Shape shape1, T[] src1, Shape shape2, T[] src2, T[] dest) Computes the element-wise division between two tensors.- Parameters:
shape1
- Shape of the first tensor.src1
- Entries of the first tensor.shape2
- Shape of the second tenor.src2
- Entries of the second tensor.dest
- Array to store the result in. May be the same array as eithersrc1
orsrc2
.- Throws:
TensorShapeException
- If!shape1.equals(shape2)
.ArrayIndexOutOfBoundsException
- Ifsrc2.length < src1.length || dest.length < src1.length
.
-