public class Subscript
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
StartIndex |
protected int |
StopIndex |
DblMatrix |
Value |
Constructor and Description |
---|
Subscript(java.util.Collection X)
Create a Subscripts instance from a Collection.
|
Subscript(DblMatrix X)
Create a Subscripts instance from a vector.
|
Subscript(java.lang.Double value)
This construction creates a scalar matrix from an Double's value.
|
Subscript(int Nelements)
This construction creates an Nx1 matrix.
|
Subscript(int[] Size)
This construction creates a matrix of certain size.
|
Subscript(java.lang.Integer value)
This construction creates a scalar matrix from an Integer's value.
|
Subscript(int A,
int B,
int C)
Create a Subscripts instance from a vector beginning at A and going to B in increments
of C.
|
Subscript(java.lang.String inputstr)
This should be rewritten to accept a character stream.
|
Modifier and Type | Method and Description |
---|---|
int |
getNIndex()
Return the number of accessible indices.
|
int |
getStart()
Get the Start index of a subscript.
|
int |
getStop()
Get the Stop index of a subscript.
|
static int[] |
logicalBorder(int J,
int[] Extent,
int[] Size)
Return the indices on the perimeter of a hypercube whose lower corner is index J.
|
void |
setStart(int N)
Set the starting index of the subscript vector.
|
void |
setStop(int N)
Set the stopping index of the subscript vector.
|
void |
show() |
void |
show(java.lang.String msg) |
static Subscript[] |
spanningSet(int[] Size)
Create a spanning Subscript[] for a matrix of dimensions int[] Size.
|
protected int StartIndex
protected int StopIndex
public DblMatrix Value
public Subscript(java.util.Collection X)
public Subscript(DblMatrix X)
public Subscript(int A, int B, int C)
public Subscript(int Nelements)
public Subscript(int[] Size)
public Subscript(java.lang.Integer value)
public Subscript(java.lang.Double value)
public Subscript(java.lang.String inputstr)
public static Subscript[] spanningSet(int[] Size)
public void setStart(int N)
public void setStop(int N)
public static int[] logicalBorder(int J, int[] Extent, int[] Size)
public int getStart()
public int getStop()
public int getNIndex()
public void show()
public void show(java.lang.String msg)
Copyright © 2011, 2013. Daniel P. Dougherty