Uses of Interface
org.flag4j.algebraic_structures.Field
Packages that use Field
Package
Description
Provides algebraic structures such as semirings, rings, and fields,
along with their concrete implementations.
Provides implementations for dense tensors, matrices, and vectors.
Contains implementations for sparse tensors, matrices, and vectors.
-
Uses of Field in org.flag4j.algebraic_structures
Classes in org.flag4j.algebraic_structures with type parameters of type FieldModifier and TypeInterfaceDescriptioninterface
Defines a mathematical field structure and specifies the operations that field elements must support.Classes in org.flag4j.algebraic_structures that implement FieldModifier and TypeClassDescriptionclass
Represents an immutable complex number with double-precision floating point components.class
Represents an immutable complex number with single-precision floating point components.class
Represents an immutable real number backed by a 32-bit floating-point value.class
Represents an immutable real number backed by a 64-bit floating-point value. -
Uses of Field in org.flag4j.arrays
Constructors in org.flag4j.arrays with parameters of type FieldModifierConstructorDescriptionSmartMatrix
(T[][] matrix) Constructs aSmartMatrix
from a 2DField
array. -
Uses of Field in org.flag4j.arrays.backend.field_arrays
Classes in org.flag4j.arrays.backend.field_arrays with type parameters of type FieldModifier and TypeClassDescriptionclass
AbstractCooFieldMatrix<T extends AbstractCooFieldMatrix<T,
U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, T, U, W>, W extends Field<W>> A sparse matrix stored in coordinate list (COO) format.class
AbstractCooFieldTensor<T extends AbstractCooFieldTensor<T,
U, V>, U extends AbstractDenseFieldTensor<U, V>, V extends Field<V>> Base class for all sparseField
tensors stored in coordinate list (COO) format.class
AbstractCooFieldVector<T extends AbstractCooFieldVector<T,
U, V, W, Y>, U extends AbstractDenseFieldVector<U, W, Y>, V extends AbstractCooFieldMatrix<V, W, T, Y>, W extends AbstractDenseFieldMatrix<W, U, Y>, Y extends Field<Y>> A sparse vector stored in coordinate list (COO) format.class
AbstractCsrFieldMatrix<T extends AbstractCsrFieldMatrix<T,
U, V, W>, U extends AbstractDenseFieldMatrix<U, ?, W>, V extends AbstractCooFieldVector<V, ?, ?, U, W>, W extends Field<W>> class
AbstractDenseFieldMatrix<T extends AbstractDenseFieldMatrix<T,
U, V>, U extends AbstractDenseFieldVector<U, T, V>, V extends Field<V>> class
AbstractDenseFieldTensor<T extends AbstractDenseFieldTensor<T,
V>, V extends Field<V>> The base class for all denseField
tensors.class
AbstractDenseFieldVector<T extends AbstractDenseFieldVector<T,
U, V>, U extends AbstractDenseFieldMatrix<U, T, V>, V extends Field<V>> The base class for all dense vectors whose data areField
elements.interface
FieldTensorMixin<T extends FieldTensorMixin<T,
U, V>, U extends FieldTensorMixin<U, U, V>, V extends Field<V>> This interface provides default functionality for all tensors whose data are elements of aField
.Methods in org.flag4j.arrays.backend.field_arrays that return FieldModifier and TypeMethodDescriptiondefault V[]
FieldTensorMixin.makeEmptyDataArray
(int length) Creates an empty array of the same type as the data array of this tensor.Methods in org.flag4j.arrays.backend.field_arrays with parameters of type FieldModifier and TypeMethodDescriptionabstract AbstractCsrFieldMatrix
<?, U, V, W> AbstractCooFieldMatrix.makeLikeCsrMatrix
(Shape shape, W[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.abstract AbstractCsrFieldMatrix
<?, T, ?, V> AbstractDenseFieldMatrix.makeLikeCsrMatrix
(Shape shape, V[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix which is of a similar type as this dense matrix.Constructors in org.flag4j.arrays.backend.field_arrays with parameters of type FieldModifierConstructorDescriptionprotected
AbstractCooFieldMatrix
(Shape shape, W[] entries, int[] rowIndices, int[] colIndices) Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.protected
AbstractCooFieldTensor
(Shape shape, V[] entries, int[][] indices) Creates a tensor with the specified data and shape.protected
AbstractCooFieldVector
(Shape shape, Y[] data, int[] indices) Creates a tensor with the specified data and shape.protected
AbstractCsrFieldMatrix
(Shape shape, W[] entries, int[] rowPointers, int[] colIndices) Creates a sparse CSR matrix with the specifiedshape
, non-zero data, row pointers, and non-zero column indices.protected
AbstractDenseFieldMatrix
(Shape shape, V[] data) Creates a tensor with the specified data and shape.protected
AbstractDenseFieldTensor
(Shape shape, V[] entries) Creates a tensor with the specified data and shape.protected
AbstractDenseFieldVector
(Shape shape, V[] entries) Creates a tensor with the specified data and shape. -
Uses of Field in org.flag4j.arrays.backend.smart_visitors
Methods in org.flag4j.arrays.backend.smart_visitors with type parameters of type FieldModifier and TypeMethodDescription<U extends Field<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(CooFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> AddVisitor.visit
(CsrFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(CooFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> DivVisitor.visit
(CsrFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(CooFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> ElemMultVisitor.visit
(CsrFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(CooFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> MatMultVisitor.visit
(CsrFieldMatrix<U> matrix) MatrixVisitor.visit
(FieldMatrix<U> matrix) MatrixVisitor.visit
(CooFieldMatrix<U> matrix) MatrixVisitor.visit
(CsrFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(FieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(CooFieldMatrix<U> matrix) <U extends Field<U>>
MatrixMixin<?, ?, ?, ?> SubVisitor.visit
(CsrFieldMatrix<U> matrix) -
Uses of Field in org.flag4j.arrays.dense
Classes in org.flag4j.arrays.dense with type parameters of type FieldModifier and TypeClassDescriptionclass
FieldMatrix<T extends Field<T>>
Instances of this class represents a dense matrix backed by aField
array.class
FieldTensor<T extends Field<T>>
Instances of this class represent a dense tensor backed by aField
array.class
FieldVector<T extends Field<T>>
Instances of this class represents a dense vector backed by aField
array.Methods in org.flag4j.arrays.dense with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
FieldMatrix<T> FieldMatrix.I
(int numRows, int numCols, T fieldValue) Constructs an identity-like matrix of the specified shape.static <T extends Field<T>>
FieldMatrix<T> FieldMatrix.I
(int size, T fieldValue) Constructs an identity matrix of the specified size.static <T extends Field<T>>
FieldMatrix<T> Constructs an identity-like matrix of the specified shape.Methods in org.flag4j.arrays.dense with parameters of type FieldModifier and TypeMethodDescriptionFieldMatrix.makeLikeCooMatrix
(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO matrix of similar type to this dense matrix.protected CooFieldMatrix
<T> FieldMatrix.makeLikeCooTensor
(Shape shape, T[] entries, int[][] indices) Constructs a sparse COO tensor which is of a similar type as this dense tensor.protected CooFieldTensor
<T> FieldTensor.makeLikeCooTensor
(Shape shape, T[] entries, int[][] indices) Constructs a sparse COO tensor which is of a similar type as this dense tensor.protected CooFieldVector
<T> FieldVector.makeLikeCooTensor
(Shape shape, T[] entries, int[][] indices) Constructs a sparse COO tensor which is of a similar type as this dense tensor.FieldMatrix.makeLikeCsrMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of similar type to this dense matrix.FieldVector.makeLikeMatrix
(Shape shape, T[] entries) Constructs a matrix of similar type to this vector with the specifiedshape
anddata
.FieldMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldTensor.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given the shape and data.FieldVector.makeLikeTensor
(T... entries) Creates a vector with the specifieddata
.protected FieldVector
<T> FieldMatrix.makeLikeVector
(Shape shape, T[] entries) Constructs a vector of a similar type as this matrix.FieldMatrix.makeLikeVector
(T... entries) Constructs a vector of similar type to this matrix with the givendata
.Constructors in org.flag4j.arrays.dense with parameters of type FieldModifierConstructorDescriptionFieldMatrix
(int rows, int cos, T[] entries) Creates a dense field matrix with the specified data and shape.FieldMatrix
(int rows, int cols, T[][] entries) Creates a dense field matrix with the specified data and shape.FieldMatrix
(Shape shape, T[] entries) Creates a dense field matrix with the specified data and shape.FieldMatrix
(T[][] entries) Creates a dense field matrix with the specified data and shape.FieldTensor
(Shape shape, T[] entries) Creates a tensor with the specified data and shape.FieldVector
(Shape shape, T[] entries) Constructs a dense complex vector with the given shape and entries.FieldVector
(T... entries) Creates a vector with the specified data. -
Uses of Field in org.flag4j.arrays.sparse
Classes in org.flag4j.arrays.sparse with type parameters of type FieldModifier and TypeClassDescriptionclass
CooFieldMatrix<T extends Field<T>>
Instances of this class represent a sparse matrix whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedField
type.class
CooFieldTensor<T extends Field<T>>
Represents a sparse tensor whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedField
type.class
CooFieldVector<T extends Field<T>>
Represents a sparse vector whose non-zero elements are stored in Coordinate List (COO) format, with all data elements belonging to a specifiedField
type.class
CsrFieldMatrix<T extends Field<T>>
Instances of this class represent a sparse matrix using the compressed sparse row (CSR) format where all data elements belonging to a specifiedField
type.Methods in org.flag4j.arrays.sparse with parameters of type FieldModifier and TypeMethodDescriptionCsrFieldMatrix.makeLikeCooMatrix
(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO matrix of a similar type to this sparse CSR matrix.CooFieldMatrix.makeLikeCsrMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR matrix of a similar type to this sparse COO matrix.CooFieldVector.makeLikeDenseMatrix
(Shape shape, T... entries) Constructs a dense matrix of a similar type as this vector with the specified shape and data.CooFieldMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense tensor with the specifiedshape
anddata
which is a similar type to this sparse tensor.CooFieldTensor.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense tensor that is a similar type as this sparse COO tensor.CooFieldVector.makeLikeDenseTensor
(Shape shape, T... entries) Constructs a dense vector of a similar type as this vector with the specified shape and data.CsrFieldMatrix.makeLikeDenseTensor
(Shape shape, T[] entries) Constructs a dense matrix which is of a similar type to this sparse CSR matrix.CooFieldVector.makeLikeMatrix
(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a COO matrix with the specified shape, non-zero data, and row and column indices.CooFieldMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.CooFieldMatrix.makeLikeTensor
(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Constructs a sparse COO tensor of the same type as this tensor with the specified non-zero data and indices.CooFieldTensor.makeLikeTensor
(Shape shape, T[] entries) Constructs a sparse tensor of the same type as this tensor with the same indices as this sparse tensor and with the provided the shape and data.CooFieldTensor.makeLikeTensor
(Shape shape, T[] entries, int[][] indices) Constructs a tensor of the same type as this tensor with the specified shape and non-zero data.CooFieldVector.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.CooFieldVector.makeLikeTensor
(Shape shape, T[] entries, int[] indices) Constructs a sparse COO vector of the same type as this vector with the specified non-zero data and indices.CsrFieldMatrix.makeLikeTensor
(Shape shape, T[] entries) Constructs a tensor of the same type as this tensor with the given theshape
anddata
.CsrFieldMatrix.makeLikeTensor
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Constructs a sparse CSR tensor of the same type as this tensor with the specified non-zero data and indices.CooFieldMatrix.makeLikeVector
(Shape shape, T[] entries, int[] indices) Constructs a sparse COO vector of a similar type to this COO matrix.Constructors in org.flag4j.arrays.sparse with parameters of type FieldModifierConstructorDescriptionCooFieldMatrix
(int rows, int cols, T[] entries, int[] rowIndices, int[] colIndices) Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.CooFieldMatrix
(Shape shape, T[] entries, int[] rowIndices, int[] colIndices) Creates a sparse coo matrix with the specified non-zero data, non-zero indices, and shape.CooFieldTensor
(Shape shape, T[] entries, int[][] indices) creates a tensor with the specified data and shape.CooFieldVector
(int size, T[] entries, int[] indices) Creates sparse COO vector with the specifiedsize
, non-zero data, and non-zero indices.CooFieldVector
(Shape shape, T[] entries, int[] indices) Creates sparse COO vector with the specifiedsize
, non-zero data, and non-zero indices.CsrFieldMatrix
(Shape shape, T[] entries, int[] rowPointers, int[] colIndices) Creates a sparse CSR matrix with the specifiedshape
, non-zero data, row pointers, and non-zero column indices. -
Uses of Field in org.flag4j.linalg.decompositions.lu
Classes in org.flag4j.linalg.decompositions.lu with type parameters of type Field -
Uses of Field in org.flag4j.linalg.ops
Methods in org.flag4j.linalg.ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldMatrix<T> B) Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.static <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldVector<T> b) Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.static <T extends Field<T>>
T[]Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.Methods in org.flag4j.linalg.ops that return FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldMatrix<T> B) Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.static <T extends Field<T>>
T[]MatrixMultiplyDispatcher.dispatch
(FieldMatrix<T> A, FieldVector<T> b) Dynamically chooses the appropriate matrix-vector multiplication algorithm based on the shapes of the matrix and vector.static <T extends Field<T>>
T[]Dispatches a matrix multiplication problem to the appropriate algorithm based on the size.Methods in org.flag4j.linalg.ops with parameters of type Field -
Uses of Field in org.flag4j.linalg.ops.common.field_ops
Methods in org.flag4j.linalg.ops.common.field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <V extends Field<V>>
voidFieldOps.add
(double[] src, V scalar, V[] dest) Adds a scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.add
(V[] src, double scalar, V[] dest) Adds a primitive scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.conj
(V[] src, V[] dest) Computes the element-wise complex conjugate of a tensor.static <V extends Field<V>>
voidFieldOps.div
(double[] src, V scalar, V[] dest) Divides each entry of thesrc
tensor by a scalar.static <V extends Field<V>>
voidFieldOps.div
(V[] src, double scalar, V[] dest) Divides each entry of thesrc
tensor by a primitive scalar.static <V extends Field<V>>
voidFieldOps.div
(V[] src, V scalar, V[] dest) Divides each entry of thesrc
tensor by a scalar.static <V extends Field<V>>
booleanFieldOps.isFinite
(V[] src) Checks if all elements of a tensor are finite.static <V extends Field<V>>
booleanFieldOps.isInfinite
(V[] src) Checks if any element of a tensor is infinite.static <V extends Field<V>>
booleanFieldOps.isNaN
(V[] src) Checks if any element of a tensor is NaN.static <V extends Field<V>>
voidFieldOps.mult
(double[] src, V scalar, V[] dest) Multiplies a scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.mult
(V[] src, double scalar, V[] dest) Multiplies a primitive scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.recip
(V[] src, V[] dest) Computes the reciprocals, element-wise, of a tensor.static <V extends Field<V>>
voidFieldOps.scalMult
(double[] entries, V factor, V[] dest) Computes the scalar multiplication of a tensor.static <T extends Field<T>>
T[]FieldOps.scalMult
(T[] src, double factor, int start, int n, int stride, T[] dest) Scales entries by the specifiedfactor
withinsrc
starting at indexstart
and scaling a total ofn
elements spaced bystride
.static <V extends Field<V>>
voidFieldOps.scalMult
(V[] src, double factor, V[] dest) Computes the scalar multiplication of a tensor with a scalar value.static <V extends Field<V>>
voidFieldOps.sqrt
(V[] src, V[] dest) Computes the element-wise square root of a tensor.static <V extends Field<V>>
voidFieldOps.sub
(double[] src, V scalar, V[] dest) Subtracts a scalar value from each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.sub
(V[] src, double scalar, V[] dest) Subtracts a primitive scalar value from each entry of thesrc
tensor.Methods in org.flag4j.linalg.ops.common.field_ops that return FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]FieldOps.scalMult
(T[] src, double factor, int start, int n, int stride, T[] dest) Scales entries by the specifiedfactor
withinsrc
starting at indexstart
and scaling a total ofn
elements spaced bystride
.Methods in org.flag4j.linalg.ops.common.field_ops with parameters of type FieldModifier and TypeMethodDescriptionstatic <V extends Field<V>>
voidFieldOps.add
(double[] src, V scalar, V[] dest) Adds a scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.add
(V[] src, double scalar, V[] dest) Adds a primitive scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.conj
(V[] src, V[] dest) Computes the element-wise complex conjugate of a tensor.static <V extends Field<V>>
voidFieldOps.div
(double[] src, V scalar, V[] dest) Divides each entry of thesrc
tensor by a scalar.static <V extends Field<V>>
voidFieldOps.div
(V[] src, double scalar, V[] dest) Divides each entry of thesrc
tensor by a primitive scalar.static <V extends Field<V>>
voidFieldOps.div
(V[] src, V scalar, V[] dest) Divides each entry of thesrc
tensor by a scalar.static <V extends Field<V>>
booleanFieldOps.isFinite
(V[] src) Checks if all elements of a tensor are finite.static <V extends Field<V>>
booleanFieldOps.isInfinite
(V[] src) Checks if any element of a tensor is infinite.static <V extends Field<V>>
booleanFieldOps.isNaN
(V[] src) Checks if any element of a tensor is NaN.static <V extends Field<V>>
voidFieldOps.mult
(double[] src, V scalar, V[] dest) Multiplies a scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.mult
(V[] src, double scalar, V[] dest) Multiplies a primitive scalar value to each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.recip
(V[] src, V[] dest) Computes the reciprocals, element-wise, of a tensor.static <V extends Field<V>>
voidFieldOps.scalMult
(double[] entries, V factor, V[] dest) Computes the scalar multiplication of a tensor.static <T extends Field<T>>
T[]FieldOps.scalMult
(T[] src, double factor, int start, int n, int stride, T[] dest) Scales entries by the specifiedfactor
withinsrc
starting at indexstart
and scaling a total ofn
elements spaced bystride
.static <V extends Field<V>>
voidFieldOps.scalMult
(V[] src, double factor, V[] dest) Computes the scalar multiplication of a tensor with a scalar value.static <V extends Field<V>>
voidFieldOps.sqrt
(V[] src, V[] dest) Computes the element-wise square root of a tensor.static <V extends Field<V>>
voidFieldOps.sub
(double[] src, V scalar, V[] dest) Subtracts a scalar value from each entry of thesrc
tensor.static <V extends Field<V>>
voidFieldOps.sub
(V[] src, double scalar, V[] dest) Subtracts a primitive scalar value from each entry of thesrc
tensor. -
Uses of Field in org.flag4j.linalg.ops.dense_sparse.coo.field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.coo.field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Computes the element-wise sum of a dense matrix to a sparse COO matrix.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.add
(AbstractCooFieldTensor<?, ?, T> src1, Field<T> b) Adds a scalar to a complex sparse COO tensor.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.add
(AbstractDenseFieldTensor<?, T> src1, AbstractCooFieldTensor<?, ?, T> src2) Computes element-wise addition of a dense tensor with a sparse COO tensor.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> DenseCooFieldVectorOps.add
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Computes the element-wise addition between a dense complex vector and sparse complex vectors.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.addEq
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.static <T extends Field<T>>
voidDenseCooFieldTensorOps.addEq
(AbstractDenseFieldTensor<?, T> src1, AbstractCooFieldTensor<?, ?, T> src2) Computes element-wise addition of a dense tensor with a sparse COO tensor.static <T extends Field<T>>
voidDenseCooFieldVectorOps.addEq
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Computes the element-wise addition between a dense complex vector and sparse complex vectors.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.addToEachCol
(AbstractCooFieldMatrix<?, ?, ?, T> src, AbstractDenseFieldVector<?, ?, T> col) Adds a dense vector to each column as if the vector is a column vector.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.addToEachRow
(AbstractCooFieldMatrix<?, ?, ?, T> src, AbstractDenseFieldVector<?, ?, T> row) Adds a dense vector to add to each row as if the vector is a row vector.static <T extends Field<T>>
voidDenseCooFieldMatMult.blockedVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a real dense matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandard
(T[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a real sparse matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandardVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
AbstractCooFieldMatrix<?, ?, ?, T> DenseCooFieldMatrixOps.elemDiv
(AbstractCooFieldMatrix<?, ?, ?, T> src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the element-wise division between a complex sparse matrix and a complex dense matrix.static <T extends Field<T>>
AbstractCooFieldTensor<?, ?, T> DenseCooFieldTensorOps.elemDiv
(AbstractCooFieldTensor<?, ?, T> src1, AbstractDenseFieldTensor<?, T> src2) Computes the element-wise division between a complex dense tensor and a complex sparse tensor.static <T extends Field<T>>
AbstractCooFieldVector<?, ?, ?, ?, T> DenseCooFieldVectorOps.elemDiv
(AbstractCooFieldVector<?, ?, ?, ?, T> src1, AbstractDenseFieldVector<?, ?, T> src2) Compute the element-wise division between a complex sparse vector and a complex dense vector.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.elemMult
(Shape shape1, T[] data1, Shape shape2, T[] data2, int[] rowIndices2, int[] colIndices2, T[] dest) Computes the element-wise multiplication between a real dense matrix and a real sparse matrix.static <T extends Field<T>>
AbstractCooFieldTensor<?, ?, T> DenseCooFieldTensorOps.elemMult
(AbstractDenseFieldTensor<?, T> src1, AbstractCooFieldTensor<?, ?, T> src2) Computes the element-wise tensor multiplication between a complex dense tensor and a complex sparse tensor.static <T extends Field<T>>
AbstractCooFieldVector<?, ?, ?, ?, T> DenseCooFieldVectorOps.elemMult
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Computes the element-wise multiplication of a complex dense vector with a complex sparse vector.static <T extends Field<T>>
TDenseCooFieldVectorOps.innerProduct
(T[] src1, int[] indices, int sparseSize, T[] src2) Computes the vector inner product between a complex dense vector and a complex sparse vector.static <T extends Field<T>>
TDenseCooFieldVectorOps.innerProduct
(T[] src1, T[] src2, int[] indices, int sparseSize) Computes the vector inner product between a complex dense vector and a complex sparse vector.static <T extends Field<T>>
booleanDenseCooFieldEquals.matrixEquals
(AbstractDenseFieldMatrix<?, ?, T> A, AbstractCooFieldMatrix<?, ?, ?, T> B) Checks if two real dense matrices are equal.static <T extends Field<T>>
T[]DenseCooFieldVectorOps.outerProduct
(T[] src2, int[] indices, int sparseSize, T[] src1) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidDenseCooFieldVectorOps.outerProduct
(T[] src1, T[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidDenseCooFieldMatMult.standard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a sparse COO matrix and a dense matrix using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standard
(T[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a dense matrix and a sparse COO matrix using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standardVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractCooFieldMatrix<?, ?, ?, T> src2, AbstractDenseFieldMatrix<?, ?, T> src1) Subtracts a complex dense matrix from a complex sparse matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCooFieldMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.sub
(AbstractCooFieldTensor<?, ?, T> src1, Field<T> b) Subtracts a scalar from a sparse COO tensor.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.sub
(AbstractCooFieldTensor<?, ?, T> src1, AbstractDenseFieldTensor<?, T> src2) Subtracts a complex dense tensor from a complex sparse tensor.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.sub
(AbstractDenseFieldTensor<?, T> src1, AbstractCooFieldTensor<?, ?, T> src2) Computes the element-wise tensor a complex sparse tensor from a complex dense tensor.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> DenseCooFieldVectorOps.sub
(AbstractCooFieldVector<?, ?, ?, ?, T> src1, AbstractDenseFieldVector<?, ?, T> src2) Subtracts a complex dense vector from a complex sparse vector.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> DenseCooFieldVectorOps.sub
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Subtracts a complex sparse vector from a complex dense vector.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.subEq
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Subtracts a complex sparse matrix from a complex dense matrix and stores the result in the dense matrix.static <T extends Field<T>>
voidDenseCooFieldTensorOps.subEq
(AbstractDenseFieldTensor<?, T> src1, AbstractCooFieldTensor<?, ?, T> src2) Computes element-wise subtraction of a complex dense tensor with a complex sparse tensor.static <T extends Field<T>>
voidDenseCooFieldVectorOps.subEq
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Computes the element-wise subtraction between a dense complex vector and sparse complex vectors.static <T extends Field<T>>
booleanDenseCooFieldEquals.tensorEquals
(AbstractDenseFieldTensor<?, T> A, AbstractCooFieldTensor<?, ?, T> B) Checks if a complex dense tensor is equal to a complex sparse tensor.static <T extends Field<T>>
booleanDenseCooFieldEquals.vectorEquals
(AbstractDenseFieldVector<?, ?, T> src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Checks if a complex dense vector is equal to a complex sparse vector.Methods in org.flag4j.linalg.ops.dense_sparse.coo.field_ops that return FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]DenseCooFieldVectorOps.outerProduct
(T[] src2, int[] indices, int sparseSize, T[] src1) Computes the vector outer product between a complex dense vector and a real sparse vector.Methods in org.flag4j.linalg.ops.dense_sparse.coo.field_ops with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.add
(AbstractCooFieldTensor<?, ?, T> src1, Field<T> b) Adds a scalar to a complex sparse COO tensor.static <T extends Field<T>>
voidDenseCooFieldMatMult.blockedVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a real dense matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandard
(T[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a real sparse matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.concurrentStandardVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatrixOps.elemMult
(Shape shape1, T[] data1, Shape shape2, T[] data2, int[] rowIndices2, int[] colIndices2, T[] dest) Computes the element-wise multiplication between a real dense matrix and a real sparse matrix.static <T extends Field<T>>
TDenseCooFieldVectorOps.innerProduct
(T[] src1, int[] indices, int sparseSize, T[] src2) Computes the vector inner product between a complex dense vector and a complex sparse vector.static <T extends Field<T>>
TDenseCooFieldVectorOps.innerProduct
(T[] src1, T[] src2, int[] indices, int sparseSize) Computes the vector inner product between a complex dense vector and a complex sparse vector.static <T extends Field<T>>
T[]DenseCooFieldVectorOps.outerProduct
(T[] src2, int[] indices, int sparseSize, T[] src1) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidDenseCooFieldVectorOps.outerProduct
(T[] src1, T[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidDenseCooFieldMatMult.standard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a sparse COO matrix and a dense matrix using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standard
(T[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a dense matrix and a sparse COO matrix using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidDenseCooFieldMatMult.standardVector
(T[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> DenseCooFieldTensorOps.sub
(AbstractCooFieldTensor<?, ?, T> src1, Field<T> b) Subtracts a scalar from a sparse COO tensor. -
Uses of Field in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.add
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Adds a real dense matrix to a real sparse matrix.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> RealFieldDenseCooOps.add
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2) Adds a dense complex tensor to a real sparse tensor.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> RealFieldDenseCooVectorOps.add
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Adds a complex dense matrix to a real sparse matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.addEq
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Adds a complex dense matrix to a real sparse matrix and stores the result in the first matrix.static <T extends Field<T>>
voidRealFieldDenseCooOps.addEq
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2) Computes element-wise addition between a complex dense tensor and a real sparse tensor.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.addEq
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Computes the vector addition between a dense complex vector and a sparse real vector.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.blockedVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.blockedVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentBlockedVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(double[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(T[] src1, Shape shape1, double[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
AbstractCooFieldMatrix<?, ?, ?, T> RealFieldDenseCooMatrixOps.elemDiv
(AbstractCooFieldMatrix<?, ?, ?, T> src1, Matrix src2) Computes the element-wise division between a complex sparse matrix and a real dense matrix.static <T extends Field<T>>
AbstractCooFieldTensor<?, ?, T> RealFieldDenseCooOps.elemDiv
(AbstractCooFieldTensor<?, ?, T> src1, Tensor src2) Computes the element-wise division between a real dense tensor and a real sparse tensor.static <T extends Field<T>>
AbstractCooFieldVector<?, ?, ?, ?, T> RealFieldDenseCooVectorOps.elemDiv
(AbstractCooFieldVector<?, ?, ?, ?, T> src1, Vector src2) Compute the element-wise division between a sparse vector and a dense vector.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.elemMult
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2, Field<T>[] destEntries) Computes the element-wise multiplication between two matrices.static <T extends Field<T>>
AbstractCooFieldMatrix<?, ?, ?, T> RealFieldDenseCooMatrixOps.elemMult
(Matrix src1, AbstractCooFieldMatrix<?, ?, ?, T> src2) Computes the element-wise multiplication between a real dense matrix and a complex sparse matrix.static <T extends Field<T>>
voidRealFieldDenseCooOps.elemMult
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2, T[] destEntries, int[][] destIndices) Computes the element-wise multiplication between a real dense tensor and a complex sparse tensor.static <T extends Field<T>>
AbstractCooFieldTensor<?, ?, T> RealFieldDenseCooOps.elemMult
(Tensor src1, AbstractCooFieldTensor<?, ?, T> src2) Computes the element-wise multiplication between a real dense tensor and a complex sparse tensor.static <T extends Field<T>>
T[]RealFieldDenseCooVectorOps.elemMult
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Computes the element-wise product between a denseField
vector and a real COO vector.static <T extends Field<T>>
AbstractCooFieldVector<?, ?, ?, ?, T> RealFieldDenseCooVectorOps.elemMult
(Vector src1, AbstractCooFieldVector<?, ?, ?, ?, T> src2) Computes the element-wise multiplication of a real dense vector with a complex sparse vector.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(double[] src1, int[] indices, int sparseSize, T[] src2) Computes the vector inner product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(double[] src1, T[] src2, int[] indices, int sparseSize) Computes the vector inner product between a real dense vector and a complex sparse vector.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(T[] src1, double[] src2, int[] indices, int sparseSize) Computes the vector inner product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooMatMultTranspose.multTranspose
(double[] deSrc, Shape deShape, T[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape, T[] dest) Multiplies a real dense matrix to the transpose of a sparse field matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatMultTranspose.multTranspose
(T[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape, T[] dest) Multiplies a dense field matrix to the transpose of a real sparse matrix.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(double[] src1, int[] indices, int sparseSize, T[] src2, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(double[] src1, T[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a real dense vector and a complex sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(T[] src1, double[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
T[]RealFieldDenseCooVectorOps.outerProduct
(T[] src1, int[] indices, int sparseSize, double[] src2, T[] dest) Computes the vector outer product between a rea; dense vector and a complex sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(double[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(T[] src1, Shape shape1, double[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Subtracts a real sparse matrix from a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCooMatrixOps.sub
(CooMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Subtracts a real sparse matrix from a real dense matrix.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> RealFieldDenseCooOps.sub
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2) Adds a dense complex tensor to a real sparse tensor.static <T extends Field<T>>
AbstractDenseFieldTensor<?, T> RealFieldDenseCooOps.sub
(CooTensor src1, AbstractDenseFieldTensor<?, T> src2) Subtracts a complex dense tensor from a real sparse tensor.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> RealFieldDenseCooVectorOps.sub
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Subtracts a real sparse vector from a complex dense vector.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> RealFieldDenseCooVectorOps.sub
(CooVector src1, AbstractDenseFieldVector<?, ?, T> src2) Subtracts a complex dense vector from a complex sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.subEq
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2) Subtracts a real sparse matrix from a complex dense matrix and stores the result in the first matrix.static <T extends Field<T>>
voidRealFieldDenseCooOps.subEq
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2) Computes element-wise subtraction between a complex dense tensor and a real sparse tensor.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.subEq
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Computes the vector subtraction between a dense complex vector and a real sparse vector.Methods in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops that return FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]RealFieldDenseCooVectorOps.elemMult
(AbstractDenseFieldVector<?, ?, T> src1, CooVector src2) Computes the element-wise product between a denseField
vector and a real COO vector.static <T extends Field<T>>
T[]RealFieldDenseCooVectorOps.outerProduct
(T[] src1, int[] indices, int sparseSize, double[] src2, T[] dest) Computes the vector outer product between a rea; dense vector and a complex sparse vector.Methods in org.flag4j.linalg.ops.dense_sparse.coo.real_field_ops with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidRealFieldDenseCooMatMult.blockedVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.blockedVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentBlockedVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(double[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandard
(T[] src1, Shape shape1, double[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.concurrentStandardVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a concurrent standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatrixOps.elemMult
(AbstractDenseFieldMatrix<?, ?, T> src1, CooMatrix src2, Field<T>[] destEntries) Computes the element-wise multiplication between two matrices.static <T extends Field<T>>
voidRealFieldDenseCooOps.elemMult
(AbstractDenseFieldTensor<?, T> src1, CooTensor src2, T[] destEntries, int[][] destIndices) Computes the element-wise multiplication between a real dense tensor and a complex sparse tensor.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(double[] src1, int[] indices, int sparseSize, T[] src2) Computes the vector inner product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(double[] src1, T[] src2, int[] indices, int sparseSize) Computes the vector inner product between a real dense vector and a complex sparse vector.static <T extends Field<T>>
TRealFieldDenseCooVectorOps.inner
(T[] src1, double[] src2, int[] indices, int sparseSize) Computes the vector inner product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooMatMultTranspose.multTranspose
(double[] deSrc, Shape deShape, T[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape, T[] dest) Multiplies a real dense matrix to the transpose of a sparse field matrix.static <T extends Field<T>>
voidRealFieldDenseCooMatMultTranspose.multTranspose
(T[] dSrc, Shape dShape, double[] spSrc, int[] rowIndices, int[] colIndices, Shape spShape, T[] dest) Multiplies a dense field matrix to the transpose of a real sparse matrix.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(double[] src1, int[] indices, int sparseSize, T[] src2, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(double[] src1, T[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a real dense vector and a complex sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooVectorOps.outerProduct
(T[] src1, double[] src2, int[] indices, int sparseSize, T[] dest) Computes the vector outer product between a complex dense vector and a real sparse vector.static <T extends Field<T>>
T[]RealFieldDenseCooVectorOps.outerProduct
(T[] src1, int[] indices, int sparseSize, double[] src2, T[] dest) Computes the vector outer product between a rea; dense vector and a complex sparse vector.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(double[] src1, Shape shape1, T[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication between a real sparse matrix and a dense field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standard
(T[] src1, Shape shape1, double[] src2, int[] rowIndices, int[] colIndices, Shape shape2, T[] dest) Computes the matrix multiplication between a real dense matrix and a sparse field matrix using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(double[] src1, int[] rowIndices, int[] colIndices, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(double[] src1, Shape shape1, T[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(T[] src1, int[] rowIndices, int[] colIndices, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the sparse matrix dense vector multiplication using a standard algorithm.static <T extends Field<T>>
voidRealFieldDenseCooMatMult.standardVector
(T[] src1, Shape shape1, double[] src2, int[] indices, T[] dest) Computes the dense matrix sparse vector multiplication using a standard algorithm. -
Uses of Field in org.flag4j.linalg.ops.dense_sparse.csr.field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.csr.field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.add
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, double b, BinaryOperator<T> opp, UnaryOperator<Double> uOpp) Applies the specified binary operator element-wise to a matrix and a scalar.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, AbstractDenseFieldMatrix<?, ?, T> src2, BinaryOperator<T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, T b, BinaryOperator<T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to a matrix and a scalar.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BinaryOperator<T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> DenseCsrFieldOps.applyBinOppToSparse
(AbstractDenseFieldMatrix<?, ?, T> src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BinaryOperator<T> opp) Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption thatopp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractCsrFieldMatrix<?, ?, ?, T> a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> DenseCsrFieldOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, AbstractCsrFieldMatrix<?, ?, ?, T> b) Computes the element-wise difference of two matrices. -
Uses of Field in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops
Methods in org.flag4j.linalg.ops.dense_sparse.csr.real_field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.add
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise sum of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2, BiFunction<T, Double, T> opp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.applyBinOpp
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2, BiFunction<Double, T, T> opp, UnaryOperator<T> uOpp) Applies the specified binary operator element-wise to the two matrices.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> RealFieldDenseCsrOps.applyBinOppToSparse
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2, BiFunction<T, Double, T> opp) Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption thatopp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> RealFieldDenseCsrOps.applyBinOppToSparse
(Matrix src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2, BiFunction<Double, T, T> opp) Applies an element-wise binary operation to a real dense and real sparse CSR matrix under the assumption thatopp.apply(x, 0d) = 0d
andopp.apply(0d, x) = 0d
.static <T extends Field<T>>
AbstractCsrFieldMatrix<?, ?, ?, T> RealFieldDenseCsrOps.applyBinOppToSparse
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2, BiFunction<Double, T, T> opp) Applies an element-wise binary operation to a real sparse and complex dense CSR matrix under the assumption thatopp.apply(0d, x) = 0d
wherex
is aComplex128
.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, Matrix src2) Computes the matrix multiplication between a complex sparse CSR matrix and a real dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(AbstractDenseFieldMatrix<?, ?, T> src1, CsrMatrix src2) Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(Matrix src1, AbstractCsrFieldMatrix<?, ?, ?, T> src2) Computes the matrix multiplication between a real dense matrix and a real sparse CSR matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standard
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrMatMult.standardTranspose
(CsrMatrix src1, AbstractDenseFieldMatrix<?, ?, T> src2) Computes the matrix multiplication between a real sparse CSR matrix and the transpose of a complex dense matrix.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> RealFieldDenseCsrMatMult.standardVector
(AbstractCsrFieldMatrix<?, ?, ?, T> src1, Vector src2) Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex dense vector.static <T extends Field<T>>
AbstractDenseFieldVector<?, ?, T> RealFieldDenseCsrMatMult.standardVector
(CsrMatrix src1, AbstractDenseFieldVector<?, ?, T> src2) Computes the matrix-vector multiplication between a real sparse CSR matrix and a complex dense vector.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(AbstractDenseFieldMatrix<?, ?, T> a, CsrMatrix b) Computes the element-wise difference of two matrices.static <T extends Field<T>>
AbstractDenseFieldMatrix<?, ?, T> RealFieldDenseCsrOps.sub
(CsrMatrix a, AbstractDenseFieldMatrix<?, ?, T> b) Computes the element-wise difference of two matrices. -
Uses of Field in org.flag4j.linalg.ops.dense.field_ops
Methods in org.flag4j.linalg.ops.dense.field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
TDenseFieldDeterminant.det
(AbstractDenseFieldMatrix<?, ?, T> mat) Computes the determinant of a square matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det1
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 1x1 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det2
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 2x2 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.det3
(AbstractDenseFieldMatrix<?, ?, T> mat) Explicitly computes the determinant of a 3x3 matrix.static <T extends Field<T>>
TDenseFieldDeterminant.detLU
(AbstractDenseFieldMatrix<?, ?, T> mat) Computes the determinant of a square matrix using theLU factorization
.static <T extends Field<T>>
TDenseFieldDeterminant.detTri
(AbstractDenseFieldMatrix<?, ?, T> tri) Computes the determinant of a triangular matrix.static <T extends Field<T>>
TDenseFieldDeterminant.detTriUnsafe
(AbstractDenseFieldMatrix<?, ?, T> tri) Computes the determinant of a triangular matrix.static <T extends Field<T>>
voidDynamically chooses and applies element-wise division algorithm to use based on the number of data in the tensors.static <T extends Field<T>>
voidComputes the element-wise division between two tensors.static <T extends Field<T>>
TDenseFieldVectorOps.dotProduct
(T[] src1, T[] src2) Computes the vector dot product for two vectors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidDenseFieldElemDiv.elemDivConcurrent
(T[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
TDenseFieldVectorOps.innerProduct
(T[] src1, T[] src2) Computes the vector inner product for two vectors.static <T extends Field<T>>
voidDenseFieldVectorOps.outerProduct
(T[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidDenseFieldVectorOps.outerProductConcurrent
(T[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors using a concurrent implementation.Methods in org.flag4j.linalg.ops.dense.field_ops with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidDynamically chooses and applies element-wise division algorithm to use based on the number of data in the tensors.static <T extends Field<T>>
voidComputes the element-wise division between two tensors.static <T extends Field<T>>
TDenseFieldVectorOps.dotProduct
(T[] src1, T[] src2) Computes the vector dot product for two vectors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidDenseFieldElemDiv.elemDivConcurrent
(T[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
TDenseFieldVectorOps.innerProduct
(T[] src1, T[] src2) Computes the vector inner product for two vectors.static <T extends Field<T>>
voidDenseFieldVectorOps.outerProduct
(T[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidDenseFieldVectorOps.outerProductConcurrent
(T[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors using a concurrent implementation. -
Uses of Field in org.flag4j.linalg.ops.dense.real_field_ops
Methods in org.flag4j.linalg.ops.dense.real_field_ops with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidRealFieldDenseOps.add
(double[] src, T a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidComputes the element-wise addition of two tensors.static <T extends Field<T>>
voidRealFieldDenseOps.add
(T[] src, double a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidRealFieldDenseVectorOps.add
(double[] src, T a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidComputes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.static <T extends Field<T>>
voidComputes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlocked
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlocked
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandard
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandard
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandardVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandardVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidDynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.static <T extends Field<T>>
voidDynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.static <T extends Field<T>>
voidDynamically chooses and applies element-wise multiplication algorithm to use based on the number of data in the tensors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidComputes the element-wise division between two dense tensors.static <T extends Field<T>>
voidComputes the element-wise division between two dense tensors.static <T extends Field<T>>
voidRealFieldDenseElemDiv.elemDivConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseElemDiv.elemDivConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
voidComputes the element-wise multiplication of two tensors.static <T extends Field<T>>
voidComputes the element-wise multiplication between two dense tensors.static <T extends Field<T>>
voidRealFieldDenseElemMult.elemMultConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the element-wise multiplication of two tensors using a concurrent algorithm.static <T extends Field<T>>
TRealFieldDenseVectorOps.inner
(double[] src1, T[] src2) Computes the vector inner product for a real dense vector and a complex dense vector.static <T extends Field<T>>
TRealFieldDenseVectorOps.inner
(T[] src1, double[] src2) Computes the vector inner product for a complex dense vector and a real dense vector.static <T extends Field<T>>
booleanRealFieldDenseEquals.matrixEquals
(Matrix A, AbstractDenseFieldMatrix<?, ?, T> B) Checks if two real dense matrices are equal.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTranspose
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTranspose
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlocked
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlocked
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlockedConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlockedConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseVectorOps.outerProduct
(double[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidRealFieldDenseVectorOps.outerProduct
(T[] src1, double[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseOps.scalDiv
(double[] src, T divisor, T[] dest) Computes the scalar multiplication of a tensor.static <T extends Field<T>>
voidRealFieldDenseOps.scalDiv
(T[] src, double divisor, T[] dest) Computes the scalar division of a tensor.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.standardVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.standardVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseOps.sub
(double[] src, T a, T[] dest) Subtracts a scalar value from all data of a tensor.static <T extends Field<T>>
voidComputes the element-wise subtraction of two tensors.static <T extends Field<T>>
voidComputes the element-wise subtraction of two tensors.static <T extends Field<T>>
voidRealFieldDenseOps.sub
(T[] src, double a, T[] dest) Subtracts a scalar value from all data of a tensor.static <T extends Field<T>>
booleanRealFieldDenseEquals.tensorEquals
(double[] src1, Shape shape1, T[] src2, Shape shape2) Checks if two dense tensors are equal.static <T extends Field<T>>
booleanRealFieldDenseEquals.tensorEquals
(Tensor A, AbstractDenseFieldTensor<?, T> B) Checks if two real dense tensors are equal.Methods in org.flag4j.linalg.ops.dense.real_field_ops with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidRealFieldDenseOps.add
(double[] src, T a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidComputes the element-wise addition of two tensors.static <T extends Field<T>>
voidRealFieldDenseOps.add
(T[] src, double a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidRealFieldDenseVectorOps.add
(double[] src, T a, T[] dest) Adds a scalar value to all data of a tensor.static <T extends Field<T>>
voidComputes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.static <T extends Field<T>>
voidComputes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.blockedVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlocked
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlocked
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of a blocked algorithm with the j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentBlockedVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentReordered
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentReordered
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandard
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandard
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the matrix multiplication of a real dense matrix with a dense field matrix using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandardVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.concurrentStandardVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using a concurrent implementation of the standard matrix multiplication algorithm.static <T extends Field<T>>
voidDynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.static <T extends Field<T>>
voidDynamically chooses and applies the appropriate algorithm for element-wise tensor multiplication.static <T extends Field<T>>
voidDynamically chooses and applies element-wise multiplication algorithm to use based on the number of data in the tensors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidComputes the element-wise division of two tensors.static <T extends Field<T>>
voidComputes the element-wise division between two dense tensors.static <T extends Field<T>>
voidComputes the element-wise division between two dense tensors.static <T extends Field<T>>
voidRealFieldDenseElemDiv.elemDivConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseElemDiv.elemDivConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the element-wise division of two tensors using a concurrent algorithm.static <T extends Field<T>>
voidComputes the element-wise multiplication of two tensors.static <T extends Field<T>>
voidComputes the element-wise multiplication between two dense tensors.static <T extends Field<T>>
voidRealFieldDenseElemMult.elemMultConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the element-wise multiplication of two tensors using a concurrent algorithm.static <T extends Field<T>>
TRealFieldDenseVectorOps.inner
(double[] src1, T[] src2) Computes the vector inner product for a real dense vector and a complex dense vector.static <T extends Field<T>>
TRealFieldDenseVectorOps.inner
(T[] src1, double[] src2) Computes the vector inner product for a complex dense vector and a real dense vector.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTranspose
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTranspose
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlocked
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlocked
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlockedConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeBlockedConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent implementation of a blocked algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeConcurrent
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMultTranspose.multTransposeConcurrent
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Multiplies a matrix to the transpose of a second matrix using a concurrent algorithm.static <T extends Field<T>>
voidRealFieldDenseVectorOps.outerProduct
(double[] src1, T[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidRealFieldDenseVectorOps.outerProduct
(T[] src1, double[] src2, T[] dest) Computes the vector outer product between two real dense vectors.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm with j-k loops swapped.static <T extends Field<T>>
voidRealFieldDenseOps.scalDiv
(double[] src, T divisor, T[] dest) Computes the scalar multiplication of a tensor.static <T extends Field<T>>
voidRealFieldDenseOps.scalDiv
(T[] src, double divisor, T[] dest) Computes the scalar division of a tensor.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.static <T extends Field<T>>
voidComputes the matrix multiplication between a real dense matrix with a dense field matrix using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.standardVector
(double[] src1, Shape shape1, T[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseMatMult.standardVector
(T[] src1, Shape shape1, double[] src2, Shape shape2, T[] dest) Computes the multiplication of a real dense matrix with a dense field vector using the standard algorithm.static <T extends Field<T>>
voidRealFieldDenseOps.sub
(double[] src, T a, T[] dest) Subtracts a scalar value from all data of a tensor.static <T extends Field<T>>
voidComputes the element-wise subtraction of two tensors.static <T extends Field<T>>
voidComputes the element-wise subtraction of two tensors.static <T extends Field<T>>
voidRealFieldDenseOps.sub
(T[] src, double a, T[] dest) Subtracts a scalar value from all data of a tensor.static <T extends Field<T>>
booleanRealFieldDenseEquals.tensorEquals
(double[] src1, Shape shape1, T[] src2, Shape shape2) Checks if two dense tensors are equal. -
Uses of Field in org.flag4j.linalg.ops.sparse.csr
Methods in org.flag4j.linalg.ops.sparse.csr with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidCsrOps.hermTranspose
(T[] srcEntries, int[] srcRowPointers, int[] srcColIndices, T[] destEntries, int[] destRowPointers, int[] destColIndices) Computes herniation transpose of complex CSR matrix.Methods in org.flag4j.linalg.ops.sparse.csr with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
voidCsrOps.hermTranspose
(T[] srcEntries, int[] srcRowPointers, int[] srcColIndices, T[] destEntries, int[] destRowPointers, int[] destColIndices) Computes herniation transpose of complex CSR matrix. -
Uses of Field in org.flag4j.util
Methods in org.flag4j.util with type parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
booleanArrayUtils.equals
(double[] src1, T[] src2) Checks if a double array is numerically equal to acomplex number
array.static <T extends Field<T>>
T[]ArrayUtils.flatten
(T[][] src) Flattens a two-dimensional array.Methods in org.flag4j.util that return FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
T[]ArrayUtils.flatten
(T[][] src) Flattens a two-dimensional array.Methods in org.flag4j.util with parameters of type FieldModifier and TypeMethodDescriptionstatic <T extends Field<T>>
booleanArrayUtils.equals
(double[] src1, T[] src2) Checks if a double array is numerically equal to acomplex number
array.static <T extends Field<T>>
T[]ArrayUtils.flatten
(T[][] src) Flattens a two-dimensional array.