public class JLAdapterUtil extends java.lang.Object
Constructor and Description |
---|
JLAdapterUtil() |
Modifier and Type | Method and Description |
---|---|
static <C extends edu.jas.structure.RingElem<C>> |
fromJLAdapter(JLAdapter<C>[] v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
fromJLAdapter(JLAdapter<C>[][] v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
fromJLAdapter(org.jlinalg.Vector<JLAdapter<C>> v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
listFromJLAdapter(org.jlinalg.Matrix<JLAdapter<C>> v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
listFromJLAdapter(org.jlinalg.Vector<JLAdapter<C>> v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
matrixFromJLAdapter(edu.jas.vector.GenMatrixRing<C> fac,
org.jlinalg.Matrix<JLAdapter<C>> v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
static <C extends edu.jas.structure.RingElem<C>> |
toArray(edu.jas.vector.GenMatrix<C> a) |
static <C extends edu.jas.structure.RingElem<C>> |
toArray(edu.jas.vector.GenVector<C> a) |
static <C extends edu.jas.structure.RingElem<C>> |
toArray(java.util.List<C> a) |
static <C extends edu.jas.structure.RingElem<C>> |
toArrayFromList(java.util.List<java.util.ArrayList<C>> a) |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapter(C[] v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapter(C[][] v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapter(edu.jas.vector.GenMatrix<C> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapter(edu.jas.vector.GenVector<C> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapter(java.util.List<C> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapterFromList(java.util.List<java.util.ArrayList<C>> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapterMatrix(edu.jas.vector.GenMatrix<C> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapterRE(edu.jas.structure.RingElem<C>[] v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapterRE(edu.jas.structure.RingElem<C>[][] v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toJLAdapterVector(edu.jas.vector.GenVector<C> v)
Convert JAS
RingElem to JLinAlg IRingElement . |
static <C extends edu.jas.structure.RingElem<C>> |
toList(C[] a) |
static <C extends edu.jas.structure.RingElem<C>> |
toList(C[][] a) |
static <C extends edu.jas.structure.RingElem<C>> |
vectorFromJLAdapter(edu.jas.vector.GenVectorModul<C> fac,
org.jlinalg.Vector<JLAdapter<C>> v)
Convert JLinAlg
IRingElement to JAS RingElem
to. |
public JLAdapterUtil()
public static <C extends edu.jas.structure.RingElem<C>> C[] toArray(edu.jas.vector.GenVector<C> a)
public static <C extends edu.jas.structure.RingElem<C>> C[] toArray(java.util.List<C> a)
public static <C extends edu.jas.structure.RingElem<C>> java.util.ArrayList<C> toList(C[] a)
public static <C extends edu.jas.structure.RingElem<C>> java.util.ArrayList<java.util.ArrayList<C>> toList(C[][] a)
public static <C extends edu.jas.structure.RingElem<C>> C[][] toArray(edu.jas.vector.GenMatrix<C> a)
public static <C extends edu.jas.structure.RingElem<C>> C[][] toArrayFromList(java.util.List<java.util.ArrayList<C>> a)
public static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[] toJLAdapter(C[] v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- array of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[] toJLAdapterRE(edu.jas.structure.RingElem<C>[] v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- array of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[] toJLAdapter(edu.jas.vector.GenVector<C> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- JAS vector of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[] toJLAdapter(java.util.List<C> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- list of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> org.jlinalg.Vector<JLAdapter<C>> toJLAdapterVector(edu.jas.vector.GenVector<C> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- JAS vector of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[][] toJLAdapter(C[][] v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- matrix of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[][] toJLAdapterRE(edu.jas.structure.RingElem<C>[][] v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- matrix of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[][] toJLAdapter(edu.jas.vector.GenMatrix<C> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- JAS matrix of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> JLAdapter<C>[][] toJLAdapterFromList(java.util.List<java.util.ArrayList<C>> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- list of lists of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> org.jlinalg.Matrix<JLAdapter<C>> toJLAdapterMatrix(edu.jas.vector.GenMatrix<C> v)
RingElem
to JLinAlg IRingElement
.C
- ring element typev
- JAS vector of ring elementspublic static <C extends edu.jas.structure.RingElem<C>> C[] fromJLAdapter(JLAdapter<C>[] v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- array of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> C[][] fromJLAdapter(JLAdapter<C>[][] v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- matrix of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> C[] fromJLAdapter(org.jlinalg.Vector<JLAdapter<C>> v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- JLinAlg vector of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> java.util.ArrayList<C> listFromJLAdapter(org.jlinalg.Vector<JLAdapter<C>> v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- JLinAlg vector of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> edu.jas.vector.GenVector<C> vectorFromJLAdapter(edu.jas.vector.GenVectorModul<C> fac, org.jlinalg.Vector<JLAdapter<C>> v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- JLinAlg vector of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> java.util.List<java.util.List<C>> listFromJLAdapter(org.jlinalg.Matrix<JLAdapter<C>> v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- JLinAlg vector of JLAdapter objectspublic static <C extends edu.jas.structure.RingElem<C>> edu.jas.vector.GenMatrix<C> matrixFromJLAdapter(edu.jas.vector.GenMatrixRing<C> fac, org.jlinalg.Matrix<JLAdapter<C>> v)
IRingElement
to JAS RingElem
to.C
- ring element typev
- JLinAlg vector of JLAdapter objects