|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectintegrators.Integrator.NVvector
This utility class may be more convenient for some purposes than an array of NodeValues objects would be.
Method Summary | |
float[] |
collapse()
collapse() returns an array of floats without the unused spaces associated with unsided Nodes; the purpose of this is to facilitate the use of canned matrix operation routines (should we need to), which won't know anything about sided-ness and so on. |
NodeValues[] |
convertToNodeValues(Integrator.NVvector vec)
Use this if you want a copy of this vector in the form of an array of NodeValues objects. |
void |
convertToNVvector(NodeValues[] nv)
Use this to copy an array of NodeValues objects into a pre-made NVvector. |
float[] |
getCopyOfVector()
Use this if you want a freshly-made copy of the values vector in the form of an array of floats |
void |
getCopyOfVector(float[] cp)
Use this one if you want the values vector copied into a pre-allocated array of floats |
float[] |
getValueVector()
Use this one if you just want a handle to the values vector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public float[] collapse()
public void convertToNVvector(NodeValues[] nv) throws java.lang.Exception
java.lang.Exception
public NodeValues[] convertToNodeValues(Integrator.NVvector vec)
public float[] getCopyOfVector()
public void getCopyOfVector(float[] cp) throws java.lang.Exception
java.lang.Exception
public float[] getValueVector()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |