All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.math.array.charArray0D
java.lang.Object
|
+----com.ibm.math.array.Array
|
+----com.ibm.math.array.charArray
|
+----com.ibm.math.array.charArray0D
- public final class charArray0D
- extends charArray
charArray0D = 0-dimensional array of chars
The charArray0D concrete class implements 0-dimensional arrays
of chars. 0-dimensional arrays can either be instantiated directly
through constructors, or they can begenerated by extracting sections
from other 0- or higher-dimensional arrays.
-
charArray0D()
- Create a 0-dimensional array of a certain shape.
-
charArray0D(char)
- Create a 0-dimensional array, with shape and values defined by
a Java char.
-
charArray0D(charArray0D)
- Create a new 0-dimensional array as a copy of a given
charArray0D
-
assign(char)
- Assign a scalar value to all elements of the array.
-
assign(charArray0D)
- Assign the values from another 0-dimensional array to this array.
-
div(char)
- Each array element is divided by a scalar and the data
computed is returned in a new array
-
div(char, charArray0D)
- Each array element is divided by a scalar and the data
computed is returned in the result array parameter
-
div(charArray0D)
- Divides each array element by the corresponding array element and return the data
computed in a new array
-
div(charArray0D, charArray0D)
- Divides each array element by the corresponding array element and return the data
computed in the result array parameter
-
divAssign(char)
- div combined with assignment to this array
-
divAssign(charArray0D)
- div combined with assignment to this array
-
equals(char)
- 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.
-
equals(char, 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.
-
equals(charArray0D)
- 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.
-
equals(charArray0D, 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.
-
get()
- Return the value of an element of the array.
-
get(int[])
- Return the value of an element of the array.
-
greater(char)
- 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.
-
greater(char, 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.
-
greater(charArray0D)
- 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.
-
greater(charArray0D, 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.
-
greaterEquals(char)
- 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.
-
greaterEquals(char, 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.
-
greaterEquals(charArray0D)
- 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.
-
greaterEquals(charArray0D, 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.
-
last(int)
- Return the index of the last element along its i-th axis.
-
less(char)
- 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.
-
less(char, 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.
-
less(charArray0D)
- 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.
-
less(charArray0D, 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.
-
lessEquals(char)
- 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.
-
lessEquals(char, 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.
-
lessEquals(charArray0D)
- 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.
-
lessEquals(charArray0D, 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.
-
minus(char)
- Subtracts a scalar from each array element and return the data
computed in a new array
-
minus(char, charArray0D)
- Subtracts a scalar from each array element and return the data
computed in the result array parameter
-
minus(charArray0D)
- Subtracts the corresponding array element from each array element and return the data
computed in a new array
-
minus(charArray0D, charArray0D)
- Subtracts the corresponding array element from each array element and return the data
computed in the result array parameter
-
minusAssign(char)
- minus combined with assignment to this array
-
minusAssign(charArray0D)
- minus combined with assignment to this array
-
permuteAxes()
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
-
permuteAxes(int[])
- Permute the axes of this array, thus creating a reference
to its (generic) transpose.
-
plus(char)
- Adds a scalar to each array element and return the data
computed in a new array
-
plus(char, charArray0D)
- Adds a scalar to each array element and return the data
computed in the result array parameter
-
plus(charArray0D)
- Adds the corresponding array element to each array element and return the data
computed in a new array
-
plus(charArray0D, charArray0D)
- Adds the corresponding array element to each array element and return the data
computed in the result array parameter
-
plusAssign(char)
- plus combined with assignment to this array
-
plusAssign(charArray0D)
- plus combined with assignment to this array
-
rank()
- Return the rank of the 0-dimensional array, 0.
-
rem(char)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
-
rem(char, charArray0D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
-
rem(charArray0D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
-
rem(charArray0D, charArray0D)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
-
remAssign(char)
- rem combined with assignment to this array
-
remAssign(charArray0D)
- rem combined with assignment to this array
-
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
-
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
-
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
-
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
-
reshape(int[])
- This method is the implementation of the Array interface
reshape that simply call the apropriate version of reshape
given the target rank.
-
section()
- Extract a 0-dimensional section from the array.
-
set(char)
- Set the value of an element of the array.
-
set(int[], char)
- Set the value of an element of the array.
-
shape()
- Return the shape of the array as an int[] I of length 0.
-
size()
- Return the number of elements in the array.
-
size(int)
- Return the extent of the array along its i-th axis.
-
times(char)
- Each array element is multiplied by the scalar parameter and the data
computed is returned in a new array
-
times(char, charArray0D)
- Each array element is multiplied by scalar and the data computed
is returned in result array parameter
-
times(charArray0D)
- Multiplies each array element by its corresponding array element and return the data
computed in a new array
-
times(charArray0D, charArray0D)
- Multiplies each array element by its corresponding array element and return the data
computed in the result array parameter
-
timesAssign(char)
- times combined with assignment to this array
-
timesAssign(charArray0D)
- times combined with assignment to this array
-
toJava()
- Transforms this charArray0D to a char.
-
unequals(char)
- 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.
-
unequals(char, 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.
-
unequals(charArray0D)
- 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.
-
unequals(charArray0D, 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.
charArray0D
public charArray0D() throws InvalidArrayShapeException
- Create a 0-dimensional array of a certain shape.
Elements are 0-valued
- Throws: InvalidArrayShapeException
- all extents must be nonnegative
charArray0D
public charArray0D(charArray0D arrayin)
- Create a new 0-dimensional array as a copy of a given
charArray0D
- Parameters:
- arrayin - Array to copy
charArray0D
public charArray0D(char datain) throws InvalidArrayShapeException
- Create a 0-dimensional array, with shape and values defined by
a Java char.
- Parameters:
- datain - Java char defining shape and values of the array
- Throws: InvalidArrayShapeException
- The Java array must be rectangular
assign
public void assign(char value)
- Assign a scalar value to all elements of the array.
- Parameters:
- d - value to be assigned
assign
public void assign(charArray0D 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
rank
public int rank()
- Return the rank of the 0-dimensional array, 0.
- Overrides:
- rank in class Array
shape
public int[] shape()
- Return the shape of the array as an int[] I of length 0.
- Overrides:
- shape in class Array
size
public int size()
- Return the number of elements in the array.
- Returns:
- the total number of elements
- Overrides:
- size in class Array
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
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
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
permuteAxes
public charArray0D 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
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
reshape
public charArray0D 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
reshape
public charArray1D 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
reshape
public charArray2D 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
reshape
public charArray3D 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
section
public charArray0D section() throws ArrayIndexOutOfBoundsException
- Extract a 0-dimensional section from the array.
- Throws: ArrayIndexOutOfBoundsException
- indices must be valid
get
public char 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 charArray
get
public char get() throws ArrayIndexOutOfBoundsException
- Return the value of an element of the array.
set
public void set(int index[],
char 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 charArray
set
public void set(char val) throws ArrayIndexOutOfBoundsException
- Set the value of an element of the array.
- Parameters:
- val - value to which element is set
plus
public void plus(char scalar,
charArray0D result) throws NonconformingArrayException
- Adds a scalar to each array element and return the data
computed in the result array parameter
- Parameters:
- scalar - char to be added to each array element
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
plus
public charArray0D plus(char scalar)
- Adds a scalar to each array element and return the data
computed in a new array
- Parameters:
- scalar - char to be added to each array element
plus
public void plus(charArray0D arrayin,
charArray0D result) throws NonconformingArrayException
- Adds the corresponding array element to each array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - charArray0D to be added element by element
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
plus
public charArray0D plus(charArray0D array) throws NonconformingArrayException
- Adds the corresponding array element to each array element and return the data
computed in a new array
- Parameters:
- array - charArray0D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
plusAssign
public charArray0D plusAssign(char scalar)
- plus combined with assignment to this array
- Parameters:
- scalar - The second source operand
plusAssign
public charArray0D plusAssign(charArray0D array) throws NonconformingArrayException
- plus combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
minus
public void minus(char scalar,
charArray0D result) throws NonconformingArrayException
- Subtracts a scalar from each array element and return the data
computed in the result array parameter
@param scalar char to be subtracted from each array element
- Parameters:
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
minus
public charArray0D minus(char scalar)
- Subtracts a scalar from each array element and return the data
computed in a new array
- Parameters:
- scalar - char to be subtracted from each array element
- Throws: NonconformingArrayException
- shapes must match
minus
public void minus(charArray0D arrayin,
charArray0D result) throws NonconformingArrayException
- Subtracts the corresponding array element from each array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - charArray0D to be subtracted element by element
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
minus
public charArray0D minus(charArray0D array) throws NonconformingArrayException
- Subtracts the corresponding array element from each array element and return the data
computed in a new array
- Parameters:
- array - charArray0D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
minusAssign
public charArray0D minusAssign(char scalar)
- minus combined with assignment to this array
- Parameters:
- scalar - The second source operand
minusAssign
public charArray0D minusAssign(charArray0D array) throws NonconformingArrayException
- minus combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
times
public void times(char scalar,
charArray0D 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 char value
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
times
public charArray0D times(char 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 char value
times
public void times(charArray0D arrayin,
charArray0D result) throws NonconformingArrayException
- Multiplies each array element by its corresponding array element and return the data
computed in the result array parameter
- Parameters:
- arrayin - charArray0D to be multiplied element by element
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
times
public charArray0D times(charArray0D array) throws NonconformingArrayException
- Multiplies each array element by its corresponding array element and return the data
computed in a new array
- Parameters:
- array - charArray0D to be added element by element
- Throws: NonconformingArrayException
- shapes must match
timesAssign
public charArray0D timesAssign(char scalar)
- times combined with assignment to this array
- Parameters:
- scalar - The second source operand
timesAssign
public charArray0D timesAssign(charArray0D array) throws NonconformingArrayException
- times combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
div
public void div(char scalar,
charArray0D 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 char
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
div
public charArray0D div(char 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 char
- Throws: NonconformingArrayException
- shapes must match
div
public void div(charArray0D arrayin,
charArray0D 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 charArray0D containing the divisors
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
div
public charArray0D div(charArray0D array) throws NonconformingArrayException
- Divides each array element by the corresponding array element and return the data
computed in a new array
- Parameters:
- array - the charArray0D containing the divisors
- Throws: NonconformingArrayException
- shapes must match
divAssign
public charArray0D divAssign(char scalar)
- div combined with assignment to this array
- Parameters:
- scalar - The second source operand
divAssign
public charArray0D divAssign(charArray0D array) throws NonconformingArrayException
- div combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
rem
public void rem(char scalar,
charArray0D result) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
- Parameters:
- scalar - The remaing operation second operand
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
rem
public charArray0D rem(char scalar)
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
- Parameters:
- scalar - The remaing operation second operand
- Throws: NonconformingArrayException
- shapes must match
rem
public void rem(charArray0D arrayin,
charArray0D result) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in the result array parameter
- Parameters:
- arrayin - the charArray0D containing the divisors
- result - charArray0D Object that will store the result
- Throws: NonconformingArrayException
- shapes must match
rem
public charArray0D rem(charArray0D array) throws NonconformingArrayException
- Each array element is divided by a scalar and the remaining of
the integer division computed is returned in a new array
- Parameters:
- array - the charArray0D containing the divisors
- Throws: NonconformingArrayException
- shapes must match
remAssign
public charArray0D remAssign(char scalar)
- rem combined with assignment to this array
- Parameters:
- scalar - The second source operand
remAssign
public charArray0D remAssign(charArray0D array) throws NonconformingArrayException
- rem combined with assignment to this array
- Parameters:
- array - The second source operand
- Throws: NonconformingArrayException
- shapes must match
equals
public booleanArray0D equals(char 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
equals
public void equals(char 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.
equals
public booleanArray0D equals(charArray0D 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.
equals
public void equals(charArray0D 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.
unequals
public booleanArray0D unequals(char 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
unequals
public void unequals(char 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.
unequals
public booleanArray0D unequals(charArray0D 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.
unequals
public void unequals(charArray0D 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.
greater
public booleanArray0D greater(char 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
greater
public void greater(char 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.
greater
public booleanArray0D greater(charArray0D 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.
greater
public void greater(charArray0D 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.
greaterEquals
public booleanArray0D greaterEquals(char 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
greaterEquals
public void greaterEquals(char 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.
greaterEquals
public booleanArray0D greaterEquals(charArray0D 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.
greaterEquals
public void greaterEquals(charArray0D 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.
less
public booleanArray0D less(char 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
less
public void less(char 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.
less
public booleanArray0D less(charArray0D 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.
less
public void less(charArray0D 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.
lessEquals
public booleanArray0D lessEquals(char 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
lessEquals
public void lessEquals(char 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.
lessEquals
public booleanArray0D lessEquals(charArray0D 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.
lessEquals
public void lessEquals(charArray0D 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.
toJava
public char toJava()
- Transforms this charArray0D to a char.
All Packages Class Hierarchy This Package Previous Next Index