spis.Util.Table
Class SpaceVectTable

java.lang.Object
  extended byspis.Util.Table.Table
      extended byspis.Util.Table.VectTable
          extended byspis.Util.Table.SpaceVectTable
All Implemented Interfaces:
java.io.Serializable

public class SpaceVectTable
extends VectTable
implements java.io.Serializable

Class Name : SpaceVectTable
Project ref : SPIS project
File name : SpaceVectTable.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :

Description : Table of space vectors (real space coordinates)

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class spis.Util.Table.VectTable
geom, val, vectDim
 
Fields inherited from class spis.Util.Table.Table
dim, increment
 
Constructor Summary
SpaceVectTable(float[] v, int tableDimension)
          Constructor of a constant table with value v and dimension tableDimension
SpaceVectTable(Geom geometry, float[][] values)
          Constructor with table of values
2nd dimension values array must be at least geometry.sdim (checked)
SpaceVectTable(Geom geometry, float[][] values, int length)
          Constructor with full data
Values must be at least of dimension [length][geometry.sdim] (checked)
SpaceVectTable(Geom geometry, int length)
          Default constructor
SpaceVectTable(SpaceVectTable t)
          Copy constructor (the new table is dimensioned to its useful size, it can be a way to reduce the dimension of a table to what is useful)
 
Method Summary
 VectTable getCopy()
          Returns a copy of this table
 
Methods inherited from class spis.Util.Table.VectTable
add, add, addData, checkSameDims, checkSameVectDim, checkSameVectDim, checkVectDimIsLarger, computeScalProd, computeTableSum, divide, equalPolarVeloIncrement, getGeom, getValues, getVectDim, linComb, mult, mult, mult, normalise, reset, returnNorm, returnScalProd, returnScalProd, set, set, setDim, setDimPreserve, setLengthPreserve, setMult, setMult, substract, vectProd
 
Methods inherited from class spis.Util.Table.Table
checkSameDim, declareDim, getDim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceVectTable

public SpaceVectTable(Geom geometry,
                      int length)
Default constructor


SpaceVectTable

public SpaceVectTable(Geom geometry,
                      float[][] values)
Constructor with table of values
2nd dimension values array must be at least geometry.sdim (checked)


SpaceVectTable

public SpaceVectTable(Geom geometry,
                      float[][] values,
                      int length)
Constructor with full data
Values must be at least of dimension [length][geometry.sdim] (checked)


SpaceVectTable

public SpaceVectTable(float[] v,
                      int tableDimension)
Constructor of a constant table with value v and dimension tableDimension

Parameters:
tableDimension -

SpaceVectTable

public SpaceVectTable(SpaceVectTable t)
Copy constructor (the new table is dimensioned to its useful size, it can be a way to reduce the dimension of a table to what is useful)

Method Detail

getCopy

public VectTable getCopy()
Returns a copy of this table

Overrides:
getCopy in class VectTable