Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.math3.linear
Class RealVector.Entry

    java.lang.Object
      org.apache.commons.math3.linear.RealVector.Entry

Direct Known Subclasses:
  OpenMapRealVector.OpenMapEntry

Enclosing class:
  RealVector

    protected class RealVector.Entry

extends Object

An entry in the vector.

Constructor Summary
`RealVector.Entry()` Simple constructor.

Method Summary
`int` | `getIndex()` Get the index of the entry.
`double` | `getValue()` Get the value of the entry.
`void` | `setIndex(int index)` Set the index of the entry.
`void` | `setValue(double value)` Set the value of the entry.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RealVector.Entry

    public RealVector.Entry()

  Simple constructor.

Method Detail

### getValue

    public double getValue()

  Get the value of the entry.

  Returns:
    the value of the entry.

### setValue

    public void setValue(double value)

  Set the value of the entry.

  Parameters:
    `value` - New value for the entry.

### getIndex

    public int getIndex()

  Get the index of the entry.

  Returns:
    the index of the entry.

### setIndex

    public void setIndex(int index)

  Set the index of the entry.

  Parameters:
    `index` - New index for the entry.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.