org.apache.commons.math3.linear
Class HilbertMatrix

java.lang.Object
  extended by org.apache.commons.math3.linear.RealLinearOperator
      extended by org.apache.commons.math3.linear.HilbertMatrix

public class HilbertMatrix
extends RealLinearOperator

This class implements Hilbert Matrices as RealLinearOperator.


Constructor Summary
HilbertMatrix(int n)
          Creates a new instance of this class.
 
Method Summary
 int getColumnDimension()
          
 int getRowDimension()
          
 RealVector operate(RealVector x)
          
 
Methods inherited from class org.apache.commons.math3.linear.RealLinearOperator
isTransposable, operateTranspose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HilbertMatrix

public HilbertMatrix(int n)
Creates a new instance of this class.

Parameters:
n - Size of the matrix to be created..
Method Detail

getColumnDimension

public int getColumnDimension()

Specified by:
getColumnDimension in class RealLinearOperator

getRowDimension

public int getRowDimension()

Specified by:
getRowDimension in class RealLinearOperator

operate

public RealVector operate(RealVector x)

Specified by:
operate in class RealLinearOperator


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