cogdebugger.ui.fieldvisualizations.vector
The target VectorField out of which a single vector component is to be sliced out as a ScalarField.
The index of the vector component in vectorField
that
is to be presented as a ScalarField.
Test for approximate equality between this
and that
using L-infinity norm.
Test for approximate equality between this
and that
using L-infinity norm.
AbstractFieldMemory to compare to this
Maximum L-infinity error value to consider equal
true if L_inf(this, that) <= maxError
"Columns" in the field; 1 for 0D fields.
"Columns" in the field; 1 for 0D fields.
Compute the L-infinity norm on the difference of this
and that
.
Compute the L-infinity norm on the difference of this
and that
.
AbstractFieldMemory to compare to this
L-infinity error
Test for exact equality between this
and that
.
Test for exact equality between this
and that
.
AbstractFieldMemory to compare to this
true if every value in this
and that
is exactly equal
Shape of the field.
Shape of the field.
Type of the field.
Type of the field.
Read the entire 3D field into the provided Array[Array[Array[Float]]]
Read the entire 3D field into the provided Array[Array[Array[Float]]]
Read the entire 2D field into the provided Array[Array[Float]]
Read the entire 2D field into the provided Array[Array[Float]]
Read length
values of the 0D or 1D scalar field into the dst
Array[Float], starting at the source buffer's srcIndex
position,
and placing the values in the dst
Array starting at position
dstIndex
.
Read length
values of the 0D or 1D scalar field into the dst
Array[Float], starting at the source buffer's srcIndex
position,
and placing the values in the dst
Array starting at position
dstIndex
.
Read a portion of the values of the 0D or 1D scalar field into an
Array[Float], starting at the source buffer's srcIndex
position.
Read a portion of the values of the 0D or 1D scalar field into an
Array[Float], starting at the source buffer's srcIndex
position.
Read the entire 0D or 1D field into the provided Array[Float].
Read the entire 0D or 1D field into the provided Array[Float].
An iterator over all values in the field, scanning in row-major order.
An iterator over all values in the field, scanning in row-major order.
"Layers" in the field; 1 for 2D, 1D, 0D fields.
"Layers" in the field; 1 for 2D, 1D, 0D fields.
Read the value at (layer
, row
, col
) in a 3D scalar field.
Read the value at (layer
, row
, col
) in a 3D scalar field.
Read the value at (row
, col
) in a 2D scalar field.
Read the value at (row
, col
) in a 2D scalar field.
Read the value at (col
) in a 1D scalar field.
Read the value at (col
) in a 1D scalar field.
Read the single value in a 0D scalar field.
Read the single value in a 0D scalar field.
"Rows" in the field; 1 for 1D, 0D fields.
"Rows" in the field; 1 for 1D, 0D fields.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Shape of the tensors in the field.
Shape of the tensors in the field.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
A wrapper for VectorFieldMemory that presents a single component slice of it as a ScalarFieldReader. Handy for re-using viewers that already know how to present scalar fields but don't have explicit support for vector fields.
This is perhaps dodging the Cog API too much. The last checkin that didn't use this system was revision 7386.