| Package | Description |
|---|---|
| eu.simuline.octave |
This implementation follows the interface in:
http://java.sun.com/javase/6/docs/api/javax/script/package-summary.html
It does not implement it as the code has to work on Java 5.0.
|
| eu.simuline.octave.exception |
The exceptions here are still very close tied to the implementation
of the JavaOctave package, it would be better if they were more related
to what the use of the Octave object needed.
|
| eu.simuline.octave.io |
Explanation missing
|
| eu.simuline.octave.io.impl |
Provides the implementations of the services
specified in
eu.simuline.octave.io.spi;
one for each octave type given in octave via typeinfo. |
| eu.simuline.octave.io.spi |
The
eu.simuline.octave.io.spi package
contains service provider interfaces
for reading and writing various kinds of
OctaveObjects. |
| eu.simuline.octave.type |
Contains all octave types which are supported.
|
| eu.simuline.octave.type.cast |
Collection of classes concerned with casts.
|
| eu.simuline.octave.type.matrix |
Representations of matrices:
AbstractGenericMatrix
is the abstract base class of all of them. |
| Modifier and Type | Method and Description |
|---|---|
<T extends OctaveObject> |
OctaveEngine.get(Class<T> castClass,
String key) |
| Modifier and Type | Method and Description |
|---|---|
OctaveObject |
OctaveEngine.get(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
OctaveEngine.put(String key,
OctaveObject value)
Sets a value in octave.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OctaveEngine.putAll(Map<String,OctaveObject> vars)
Sets all the mappings in the specified map as variables in octave.
|
| Modifier and Type | Field and Description |
|---|---|
private OctaveObject |
OctaveClassCastException.octaveObject |
| Modifier and Type | Field and Description |
|---|---|
private Class<? extends OctaveObject> |
OctaveClassCastException.castClass |
| Modifier and Type | Method and Description |
|---|---|
OctaveObject |
OctaveClassCastException.getOctaveObject() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends OctaveObject> |
OctaveClassCastException.getCastClass() |
| Constructor and Description |
|---|
OctaveClassCastException(ClassCastException cause,
OctaveObject octaveObject,
Class<? extends OctaveObject> castClass) |
| Constructor and Description |
|---|
OctaveClassCastException(ClassCastException cause,
OctaveObject octaveObject,
Class<? extends OctaveObject> castClass) |
| Modifier and Type | Field and Description |
|---|---|
private OctaveObject |
DataReadFunctor.data
After
DataReadFunctor.doReads(Reader) returns, this contains the read data. |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,OctaveObject> |
DataWriteFunctor.varName2Value
A map from variable names to according octave objects.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends OctaveObject> |
OctaveIO.write(Writer writer,
T octValue)
|
| Modifier and Type | Method and Description |
|---|---|
OctaveObject |
OctaveIO.get(String name)
Gets the value of the variable
name
or null if this variable does not exist
according to OctaveIO.existsVar(String). |
OctaveObject |
DataReadFunctor.getData() |
static OctaveObject |
OctaveIO.read(BufferedReader reader)
Read a single object from Reader.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,OctaveObject> |
OctaveIO.readWithName(BufferedReader reader)
Read a single variable - object pair from Reader.
|
static Map<String,OctaveObject> |
OctaveIO.readWithName(String input)
Read a single object from String,
it is an error if there is data left after the object.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
OctaveIO.toText(OctaveObject octValue)
Returns as a string how the
OctaveObject octaveType
(****bad name) is written without variable,
i.e. with variable "ans". |
static String |
OctaveIO.toText(String name,
OctaveObject octValue)
Returns as a string how the variable
name
and the OctaveObject octaveType (****bad name)
are written. |
static void |
OctaveIO.write(Writer writer,
String name,
OctaveObject octValue)
ER:
Writes the name
name
and the OctaveObject octValue
to the writer writer
using OctaveIO.write(Writer, OctaveObject). |
| Modifier and Type | Method and Description |
|---|---|
void |
OctaveIO.set(Map<String,OctaveObject> values)
Sets the map
values
mapping variable names to according values. |
| Constructor and Description |
|---|
DataWriteFunctor(Map<String,OctaveObject> varName2Value) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
TestIoOctaveString.roundtrip(OctaveEngine octave,
OctaveObject octaveObject) |
| Modifier and Type | Class and Description |
|---|---|
class |
OctaveDataWriter<T extends OctaveObject>
Service Provider Interface for the IO handler
that can write
OctaveObjects. |
| Modifier and Type | Field and Description |
|---|---|
private static Map<Class<? extends OctaveObject>,OctaveDataWriter<?>> |
OctaveDataWriter.wRITERS
Maps the
OctaveDataWriter.javaType()
which represents an octave type
of an OctaveDataWriter to the OctaveDataWriter itself
which is able to write the octave type to a writer. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends OctaveObject> |
OctaveDataWriter.getOctaveDataWriter(T type) |
| Modifier and Type | Method and Description |
|---|---|
abstract OctaveObject |
OctaveDataReader.read(BufferedReader reader)
Reads an
OctaveObject from a Reader reader. |
| Modifier and Type | Class and Description |
|---|---|
class |
OctaveBoolean
Represents a Boolean matrix.
|
class |
OctaveCell
Nd cells.
|
class |
OctaveComplex
Represents a complex matrix.
|
class |
OctaveDouble
Represents a matrix of doubles.
|
class |
OctaveFake
A fake object, the point of this object is
to make it easy to create objects that is read
without being unfolded into Java.
|
class |
OctaveFunctionHandle
A function handle.
|
class |
OctaveInt
Represents a matrix of ints.
|
class |
OctaveLong
Represents a matrix of ints.
|
class |
OctaveSparseBoolean
Represents a Boolean matrix and is appropriate for sparse matrices.
|
class |
OctaveString
Represents an octave string.
|
class |
OctaveStruct
1x1 struct.
|
| Modifier and Type | Field and Description |
|---|---|
private static OctaveObject |
OctaveCell.DEFAULT_VALUE
For some reason, the default value is not stored as such,
but as a
null value. |
| Modifier and Type | Field and Description |
|---|---|
private Map<String,OctaveObject> |
OctaveStruct.data |
| Modifier and Type | Method and Description |
|---|---|
<T extends OctaveObject> |
OctaveCell.get(Class<T> castClass,
int... pos) |
<T extends OctaveObject> |
OctaveStruct.get(Class<T> castClass,
String key) |
| Modifier and Type | Method and Description |
|---|---|
OctaveObject |
OctaveCell.get(int... pos) |
OctaveObject |
OctaveStruct.get(String key)
Get object from struct as plain OctaveObject.
|
OctaveObject |
OctaveObject.shallowCopy()
Make a shallow copy of this object.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,OctaveObject> |
OctaveStruct.getData() |
| Modifier and Type | Method and Description |
|---|---|
void |
OctaveCell.set(OctaveObject value,
int... pos) |
void |
OctaveStruct.set(String name,
OctaveObject value) |
| Constructor and Description |
|---|
OctaveCell(AbstractGenericMatrix<OctaveObject[],it.unimi.dsi.fastutil.objects.ObjectArrayList<OctaveObject>> o) |
OctaveStruct(Map<String,OctaveObject> data)
Create struct from data.
|
| Modifier and Type | Method and Description |
|---|---|
static <F extends OctaveObject,T extends OctaveObject> |
Cast.cast(Class<T> toClass,
F from)
Cast and transform the object.
|
static <F extends OctaveObject,T extends OctaveObject> |
Cast.cast(Class<T> toClass,
F from)
Cast and transform the object.
|
private static <F extends OctaveObject,T extends OctaveObject> |
Cast.casterMapGet(Cast.ClassPair<F,T> cp) |
private static <F extends OctaveObject,T extends OctaveObject> |
Cast.casterMapGet(Cast.ClassPair<F,T> cp) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractGenericMatrix<D,L extends List<?>>
A general matrix that does not even know
that it is an array it stores its in.
|
class |
AbstractObjectMatrix<T>
General matrix with Object values
which serves also as base class for
OctaveCell. |
| Modifier and Type | Method and Description |
|---|---|
abstract OctaveObject |
AbstractGenericMatrix.shallowCopy() |
Copyright © 2006–2018 Simuline Organization (l2r). All rights reserved.