All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.math.array.floatArray0D

java.lang.Object
   |
   +----com.ibm.math.array.Array
           |
           +----com.ibm.math.array.floatArray
                   |
                   +----com.ibm.math.array.floatArray0D

public final class floatArray0D
extends floatArray
floatArray0D = 0-dimensional array of floats

The floatArray0D concrete class implements 0-dimensional arrays of floats. 0-dimensional arrays can either be instantiated directly through constructors, or they can begenerated by extracting sections from other 0- or higher-dimensional arrays.


Constructor Index

 o floatArray0D()
Create a 0-dimensional array of a certain shape.
 o floatArray0D(float)
Create a 0-dimensional array, with shape and values defined by a Java float.
 o floatArray0D(floatArray0D)
Create a new 0-dimensional array as a copy of a given floatArray0D

Method Index

 o assign(float)
Assign a scalar value to all elements of the array.
 o assign(floatArray0D)
Assign the values from another 0-dimensional array to this array.
 o div(float)
Each array element is divided by a scalar and the data computed is returned in a new array

 o div(float, floatArray0D)
Each array element is divided by a scalar and the data computed is returned in the result array parameter

 o div(floatArray0D)
Divides each array element by the corresponding array element and return the data computed in a new array

 o div(floatArray0D, floatArray0D)
Divides each array element by the corresponding array element and return the data computed in the result array parameter

 o divAssign(float)
div combined with assignment to this array
 o divAssign(floatArray0D)
div combined with assignment to this array
 o equals(float)
Computes, element by element, the result of the comparison: element of this array equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o equals(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array equals to scalar and return all the results in the result array.
 o equals(floatArray0D)
Computes, element by element, the result of the comparison: element of this array equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o equals(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array equals to parameter array (arrayin) element and return all the results in the result array.
 o get()
Return the value of an element of the array.
 o get(int[])
Return the value of an element of the array.
 o greater(float)
Computes, element by element, the result of the comparison: element of this array greater than scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o greater(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array greater than scalar and return all the results in the result array.
 o greater(floatArray0D)
Computes, element by element, the result of the comparison: element of this array greater than parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o greater(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array greater than parameter array (arrayin) element and return all the results in the result array.
 o greaterEquals(float)
Computes, element by element, the result of the comparison: element of this array greater than or equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o greaterEquals(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array greater than or equals to scalar and return all the results in the result array.
 o greaterEquals(floatArray0D)
Computes, element by element, the result of the comparison: element of this array greater than or equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o greaterEquals(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array greater than or equals to parameter array (arrayin) element and return all the results in the result array.
 o last(int)
Return the index of the last element along its i-th axis.
 o less(float)
Computes, element by element, the result of the comparison: element of this array less than scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o less(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array less than scalar and return all the results in the result array.
 o less(floatArray0D)
Computes, element by element, the result of the comparison: element of this array less than parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o less(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array less than parameter array (arrayin) element and return all the results in the result array.
 o lessEquals(float)
Computes, element by element, the result of the comparison: element of this array less than or equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o lessEquals(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array less than or equals to scalar and return all the results in the result array.
 o lessEquals(floatArray0D)
Computes, element by element, the result of the comparison: element of this array less than or equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o lessEquals(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array less than or equals to parameter array (arrayin) element and return all the results in the result array.
 o minus(float)
Subtracts a scalar from each array element and return the data computed in a new array

 o minus(float, floatArray0D)
Subtracts a scalar from each array element and return the data computed in the result array parameter

 o minus(floatArray0D)
Subtracts the corresponding array element from each array element and return the data computed in a new array

 o minus(floatArray0D, floatArray0D)
Subtracts the corresponding array element from each array element and return the data computed in the result array parameter

 o minusAssign(float)
minus combined with assignment to this array
 o minusAssign(floatArray0D)
minus combined with assignment to this array
 o permuteAxes()
Permute the axes of this array, thus creating a reference to its (generic) transpose.
 o permuteAxes(int[])
Permute the axes of this array, thus creating a reference to its (generic) transpose.
 o plus(float)
Adds a scalar to each array element and return the data computed in a new array

 o plus(float, floatArray0D)
Adds a scalar to each array element and return the data computed in the result array parameter

 o plus(floatArray0D)
Adds the corresponding array element to each array element and return the data computed in a new array

 o plus(floatArray0D, floatArray0D)
Adds the corresponding array element to each array element and return the data computed in the result array parameter

 o plusAssign(float)
plus combined with assignment to this array
 o plusAssign(floatArray0D)
plus combined with assignment to this array
 o rank()
Return the rank of the 0-dimensional array, 0.
 o reshape()
This method reshapes this array into an array with rank 0, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

 o reshape(int)
This method reshapes this array into an array with rank 1, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

 o reshape(int, int)
This method reshapes this array into an array with rank 2, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

 o reshape(int, int, int)
This method reshapes this array into an array with rank 3, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

 o reshape(int[])
This method is the implementation of the Array interface reshape that simply call the apropriate version of reshape given the target rank.
 o section()
Extract a 0-dimensional section from the array.
 o set(float)
Set the value of an element of the array.
 o set(int[], float)
Set the value of an element of the array.
 o shape()
Return the shape of the array as an int[] I of length 0.
 o size()
Return the number of elements in the array.
 o size(int)
Return the extent of the array along its i-th axis.
 o times(float)
Each array element is multiplied by the scalar parameter and the data computed is returned in a new array

 o times(float, floatArray0D)
Each array element is multiplied by scalar and the data computed is returned in result array parameter

 o times(floatArray0D)
Multiplies each array element by its corresponding array element and return the data computed in a new array

 o times(floatArray0D, floatArray0D)
Multiplies each array element by its corresponding array element and return the data computed in the result array parameter

 o timesAssign(float)
times combined with assignment to this array
 o timesAssign(floatArray0D)
times combined with assignment to this array
 o toJava()
Transforms this floatArray0D to a float.
 o unequals(float)
Computes, element by element, the result of the comparison: element of this array not equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.
 o unequals(float, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array not equals to scalar and return all the results in the result array.
 o unequals(floatArray0D)
Computes, element by element, the result of the comparison: element of this array not equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.
 o unequals(floatArray0D, booleanArray0D)
Computes, element by element, the result of the comparison: element of this array not equals to parameter array (arrayin) element and return all the results in the result array.

Constructors

 o floatArray0D
 public floatArray0D() throws InvalidArrayShapeException
Create a 0-dimensional array of a certain shape. Elements are 0-valued

Throws: InvalidArrayShapeException
all extents must be nonnegative
 o floatArray0D
 public floatArray0D(floatArray0D arrayin)
Create a new 0-dimensional array as a copy of a given floatArray0D

Parameters:
arrayin - Array to copy
 o floatArray0D
 public floatArray0D(float datain) throws InvalidArrayShapeException
Create a 0-dimensional array, with shape and values defined by a Java float.

Parameters:
datain - Java float defining shape and values of the array
Throws: InvalidArrayShapeException
The Java array must be rectangular

Methods

 o assign
 public void assign(float value)
Assign a scalar value to all elements of the array.

Parameters:
d - value to be assigned
 o assign
 public void assign(floatArray0D arrayin) throws NonconformingArrayException
Assign the values from another 0-dimensional array to this array.

Parameters:
a - array with source values
Throws: NonconformingArrayException
arrays must be of same shape
 o rank
 public int rank()
Return the rank of the 0-dimensional array, 0.

Overrides:
rank in class Array
 o shape
 public int[] shape()
Return the shape of the array as an int[] I of length 0.

Overrides:
shape in class Array
 o size
 public int size()
Return the number of elements in the array.

Returns:
the total number of elements
Overrides:
size in class Array
 o size
 public int size(int i) throws InvalidArrayAxisException
Return the extent of the array along its i-th axis.

Parameters:
i - array axis (0 <= i < rank())
Returns:
the number of elements along axis i
Throws: InvalidArrayAxisException
i must be between 0 and -1
Overrides:
size in class Array
 o last
 public int last(int i) throws InvalidArrayAxisException
Return the index of the last element along its i-th axis. the value returned is simply size(i)-1, but is convenient to have such a method because last(i) is more readable than size(i)-1.

Parameters:
i - array axis (0 <= i < rank())
Returns:
the index of the last element along axis i
Throws: InvalidArrayAxisException
i must be between 0 and -1
Overrides:
last in class Array
 o permuteAxes
 public Array permuteAxes(int permarray[]) throws InvalidArrayAxisException
Permute the axes of this array, thus creating a reference to its (generic) transpose.

Parameters:
array - an array indicating the permutation to be done. ex: for a 2D array array2D.PermuteAxis({1,0}); would permute the array, but array2D.PermuteAxis({0,1}); returns the same array
Throws: InvalidArrayAxisException
0 <= a0,a1 <= 1
Overrides:
permuteAxes in class Array
 o permuteAxes
 public floatArray0D permuteAxes() throws InvalidArrayAxisException
Permute the axes of this array, thus creating a reference to its (generic) transpose.

Throws: InvalidArrayAxisException
Axes must be in valid range and all different
 o reshape
 public Array reshape(int size[]) throws NonconformingArrayException
This method is the implementation of the Array interface reshape that simply call the apropriate version of reshape given the target rank.

Parameters:
size - size[i] is the extent of the result array along the i axis.
Throws: NonconformingArrayException
The size of the resulting array must be compatible with this array, and in the range of ranks supported by this implementation.
Overrides:
reshape in class Array
 o reshape
 public floatArray0D reshape() throws NonconformingArrayException
This method reshapes this array into an array with rank 0, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

Throws: NonconformingArrayException
the product of all parameters must be equal to size of this array
 o reshape
 public floatArray1D reshape(int size0) throws NonconformingArrayException
This method reshapes this array into an array with rank 1, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

Parameters:
size0: - extent of resulting array along axis #0
Throws: NonconformingArrayException
the product of all parameters must be equal to size of this array
 o reshape
 public floatArray2D reshape(int size0,
                             int size1) throws NonconformingArrayException
This method reshapes this array into an array with rank 2, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

Parameters:
size0: - extent of resulting array along axis #0
size1: - extent of resulting array along axis #1
Throws: NonconformingArrayException
the product of all parameters must be equal to size of this array
 o reshape
 public floatArray3D reshape(int size0,
                             int size1,
                             int size2) throws NonconformingArrayException
This method reshapes this array into an array with rank 3, each parameter gives the size in each array dimension, the array returned has a copy of the data from this array, it does not share data with this array

Parameters:
size0: - extent of resulting array along axis #0
size1: - extent of resulting array along axis #1
size2: - extent of resulting array along axis #2
Throws: NonconformingArrayException
the product of all parameters must be equal to size of this array
 o section
 public floatArray0D section() throws ArrayIndexOutOfBoundsException
Extract a 0-dimensional section from the array.

Throws: ArrayIndexOutOfBoundsException
indices must be valid
 o get
 public float get(int index[]) throws InvalidArrayIndexException, ArrayIndexOutOfBoundsException
Return the value of an element of the array.

Parameters:
index, - index[i] = index along i-th axis, 0 <= index[i] < size(i)
Throws: InvalidArrayIndexException
index[] must be of length 0
Overrides:
get in class floatArray
 o get
 public float get() throws ArrayIndexOutOfBoundsException
Return the value of an element of the array.

 o set
 public void set(int index[],
                 float d) throws InvalidArrayIndexException, ArrayIndexOutOfBoundsException
Set the value of an element of the array.

Parameters:
index - index[i] = index along i-th axis, 0 <= index[i] < size(i)
d - value to which element is set
Throws: InvalidArrayIndexException
index[] must be of length 0
Overrides:
set in class floatArray
 o set
 public void set(float val) throws ArrayIndexOutOfBoundsException
Set the value of an element of the array.

Parameters:
val - value to which element is set
 o plus
 public void plus(float scalar,
                  floatArray0D result) throws NonconformingArrayException
Adds a scalar to each array element and return the data computed in the result array parameter

Parameters:
scalar - float to be added to each array element
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o plus
 public floatArray0D plus(float scalar)
Adds a scalar to each array element and return the data computed in a new array

Parameters:
scalar - float to be added to each array element
 o plus
 public void plus(floatArray0D arrayin,
                  floatArray0D result) throws NonconformingArrayException
Adds the corresponding array element to each array element and return the data computed in the result array parameter

Parameters:
arrayin - floatArray0D to be added element by element
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o plus
 public floatArray0D plus(floatArray0D array) throws NonconformingArrayException
Adds the corresponding array element to each array element and return the data computed in a new array

Parameters:
array - floatArray0D to be added element by element
Throws: NonconformingArrayException
shapes must match
 o plusAssign
 public floatArray0D plusAssign(float scalar)
plus combined with assignment to this array

Parameters:
scalar - The second source operand
 o plusAssign
 public floatArray0D plusAssign(floatArray0D array) throws NonconformingArrayException
plus combined with assignment to this array

Parameters:
array - The second source operand
Throws: NonconformingArrayException
shapes must match
 o minus
 public void minus(float scalar,
                   floatArray0D result) throws NonconformingArrayException
Subtracts a scalar from each array element and return the data computed in the result array parameter

@param scalar float to be subtracted from each array element

Parameters:
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o minus
 public floatArray0D minus(float scalar)
Subtracts a scalar from each array element and return the data computed in a new array

Parameters:
scalar - float to be subtracted from each array element
Throws: NonconformingArrayException
shapes must match
 o minus
 public void minus(floatArray0D arrayin,
                   floatArray0D result) throws NonconformingArrayException
Subtracts the corresponding array element from each array element and return the data computed in the result array parameter

Parameters:
arrayin - floatArray0D to be subtracted element by element
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o minus
 public floatArray0D minus(floatArray0D array) throws NonconformingArrayException
Subtracts the corresponding array element from each array element and return the data computed in a new array

Parameters:
array - floatArray0D to be added element by element
Throws: NonconformingArrayException
shapes must match
 o minusAssign
 public floatArray0D minusAssign(float scalar)
minus combined with assignment to this array

Parameters:
scalar - The second source operand
 o minusAssign
 public floatArray0D minusAssign(floatArray0D array) throws NonconformingArrayException
minus combined with assignment to this array

Parameters:
array - The second source operand
Throws: NonconformingArrayException
shapes must match
 o times
 public void times(float scalar,
                   floatArray0D result) throws NonconformingArrayException
Each array element is multiplied by scalar and the data computed is returned in result array parameter

Parameters:
scalar - each array element is multiplied by this float value
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o times
 public floatArray0D times(float scalar)
Each array element is multiplied by the scalar parameter and the data computed is returned in a new array

Parameters:
scalar - each array element is multiplied by this float value
 o times
 public void times(floatArray0D arrayin,
                   floatArray0D result) throws NonconformingArrayException
Multiplies each array element by its corresponding array element and return the data computed in the result array parameter

Parameters:
arrayin - floatArray0D to be multiplied element by element
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o times
 public floatArray0D times(floatArray0D array) throws NonconformingArrayException
Multiplies each array element by its corresponding array element and return the data computed in a new array

Parameters:
array - floatArray0D to be added element by element
Throws: NonconformingArrayException
shapes must match
 o timesAssign
 public floatArray0D timesAssign(float scalar)
times combined with assignment to this array

Parameters:
scalar - The second source operand
 o timesAssign
 public floatArray0D timesAssign(floatArray0D array) throws NonconformingArrayException
times combined with assignment to this array

Parameters:
array - The second source operand
Throws: NonconformingArrayException
shapes must match
 o div
 public void div(float scalar,
                 floatArray0D result) throws NonconformingArrayException
Each array element is divided by a scalar and the data computed is returned in the result array parameter

Parameters:
scalar - Each array element is divided by this float
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o div
 public floatArray0D div(float scalar)
Each array element is divided by a scalar and the data computed is returned in a new array

Parameters:
scalar - Each array element is divided by this float
Throws: NonconformingArrayException
shapes must match
 o div
 public void div(floatArray0D arrayin,
                 floatArray0D result) throws NonconformingArrayException
Divides each array element by the corresponding array element and return the data computed in the result array parameter

Parameters:
arrayin - the floatArray0D containing the divisors
result - floatArray0D Object that will store the result
Throws: NonconformingArrayException
shapes must match
 o div
 public floatArray0D div(floatArray0D array) throws NonconformingArrayException
Divides each array element by the corresponding array element and return the data computed in a new array

Parameters:
array - the floatArray0D containing the divisors
Throws: NonconformingArrayException
shapes must match
 o divAssign
 public floatArray0D divAssign(float scalar)
div combined with assignment to this array

Parameters:
scalar - The second source operand
 o divAssign
 public floatArray0D divAssign(floatArray0D array) throws NonconformingArrayException
div combined with assignment to this array

Parameters:
array - The second source operand
Throws: NonconformingArrayException
shapes must match
 o equals
 public booleanArray0D equals(float scalar)
Computes, element by element, the result of the comparison: element of this array equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o equals
 public void equals(float scalar,
                    booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array equals to scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o equals
 public booleanArray0D equals(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o equals
 public void equals(floatArray0D arrayin,
                    booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array equals to parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o unequals
 public booleanArray0D unequals(float scalar)
Computes, element by element, the result of the comparison: element of this array not equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o unequals
 public void unequals(float scalar,
                      booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array not equals to scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o unequals
 public booleanArray0D unequals(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array not equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o unequals
 public void unequals(floatArray0D arrayin,
                      booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array not equals to parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o greater
 public booleanArray0D greater(float scalar)
Computes, element by element, the result of the comparison: element of this array greater than scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o greater
 public void greater(float scalar,
                     booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o greater
 public booleanArray0D greater(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o greater
 public void greater(floatArray0D arrayin,
                     booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o greaterEquals
 public booleanArray0D greaterEquals(float scalar)
Computes, element by element, the result of the comparison: element of this array greater than or equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o greaterEquals
 public void greaterEquals(float scalar,
                           booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than or equals to scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o greaterEquals
 public booleanArray0D greaterEquals(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than or equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o greaterEquals
 public void greaterEquals(floatArray0D arrayin,
                           booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array greater than or equals to parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o less
 public booleanArray0D less(float scalar)
Computes, element by element, the result of the comparison: element of this array less than scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o less
 public void less(float scalar,
                  booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o less
 public booleanArray0D less(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o less
 public void less(floatArray0D arrayin,
                  booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o lessEquals
 public booleanArray0D lessEquals(float scalar)
Computes, element by element, the result of the comparison: element of this array less than or equals to scalar and return all the results in a new booleanArray0D of the same shape as this array.

Parameters:
scalar - scalar to compare element by element with this array
 o lessEquals
 public void lessEquals(float scalar,
                        booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than or equals to scalar and return all the results in the result array.

Parameters:
scalar - scalar to compare element by element with this array
result - boolean array to store the result of the comparison
Throws: NonconformingArrayException
shapes must match.
 o lessEquals
 public booleanArray0D lessEquals(floatArray0D arrayin) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than or equals to parameter array (arrayin) element and return all the results in a new booleanArray0D of the same shape as both arrays.

Parameters:
arrayin - Array to compare element by element with this array
Throws: NonconformingArrayException
Shapes must match.
 o lessEquals
 public void lessEquals(floatArray0D arrayin,
                        booleanArray0D result) throws NonconformingArrayException
Computes, element by element, the result of the comparison: element of this array less than or equals to parameter array (arrayin) element and return all the results in the result array.

Parameters:
arrayin - Array to compare element by element with this array
result - Boolean array to store the result of the comparison
Throws: NonconformingArrayException
Shapes must match.
 o toJava
 public float toJava()
Transforms this floatArray0D to a float.


All Packages  Class Hierarchy  This Package  Previous  Next  Index