de.grogra.numeric.cvode
public class N_Vector extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
N_Vector._N_VectorContent_Serial |
static class |
N_Vector.ByReference |
static class |
N_Vector.ByValue |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.Pointer |
content |
com.sun.jna.Pointer |
ops |
| Constructor and Description |
|---|
N_Vector() |
| Modifier and Type | Method and Description |
|---|---|
void |
get(double[] data)
Copy complete vector into the memory provided by data.
|
double |
get(int index)
Return the element designated by index from the vector.
|
protected java.util.List |
getFieldOrder() |
int |
getLength()
Return the number of elements in this vector.
|
void |
set(double[] data)
Set the complete vector to the memory provided by data.
|
void |
set(int index,
double value)
Set the element designated by index to value.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic void get(double[] data)
data - public double get(int index)
index - protected java.util.List getFieldOrder()
getFieldOrder in class com.sun.jna.Structurepublic int getLength()
public void set(double[] data)
data - public void set(int index,
double value)
index - value -