org.spaceroots.mantissa.functions.vectorial
Class VectorialValuedPair

java.lang.Object
  extended byorg.spaceroots.mantissa.functions.vectorial.VectorialValuedPair
All Implemented Interfaces:
Serializable

public class VectorialValuedPair
extends Object
implements Serializable

This class represents an (x, f(x)) pair for vectorial functions.

A vectorial function is a function of one vectorial parameter x whose value is a vector. This class is used has a simple immutable placeholder to contain both an abscissa and the value of the function at this abscissa.

Version:
$Id: VectorialValuedPair.java 1709 2006-12-03 21:16:50Z luc $
Author:
L. Maisonobe
See Also:
SampledFunction, VectorialValuedPair, Serialized Form

Field Summary
 double x
          Abscissa of the point.
 double[] y
          Vectorial ordinate of the point, y = f (x).
 
Constructor Summary
VectorialValuedPair(double x, double[] y)
          Simple constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public final double x
Abscissa of the point.


y

public final double[] y
Vectorial ordinate of the point, y = f (x).

Constructor Detail

VectorialValuedPair

public VectorialValuedPair(double x,
                           double[] y)
Simple constructor. Build an instance from its coordinates

Parameters:
x - abscissa
y - ordinate (value of the function)


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.