All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class rsf.operator.StatVar

java.lang.Object
   |
   +----rsf.operator.StatVar

public class StatVar
extends Object
implements Operator


Computes the variance of an input Rsf: Sum(x_i^2 - \bar{a}^2) \br All the elements of the output Rsf are constant value. This is not a SepOperator since for convenience apply is a static method.


Constructor Index

 o StatVar(Space, Space)
 o StatVar(Space, String)
This constructor is superceeded by StatVarFactory (here only for demo)

Method Index

 o addImage(Vector, Vector)
I wonder if this method makes any sense for Var().
 o copy()
 o getDomain()
 o getRange()
 o image(Vector)
 o image(Vector, Vector)
 o main(String[])
Invocation: StatVar < i.H > o.H
 o residual(Vector, Vector, Vector)
 o statVar(boolean, Vector, Vector)
 o statVar(Rsf)

Constructors

 o StatVar
 public StatVar(Space domain,
                Space range)
 o StatVar
 public StatVar(Space spc,
                String spcName)
This constructor is superceeded by StatVarFactory (here only for demo)

Methods

 o copy
 public JamObject copy()
 o image
 public Vector image(Vector d)
 o image
 public void image(Vector d,
                   Vector r)
 o addImage
 public void addImage(Vector d,
                      Vector r)
I wonder if this method makes any sense for Var(). I throw an error instead for now.

 o residual
 public void residual(Vector d,
                      Vector b,
                      Vector r)
 o getDomain
 public Space getDomain()
 o getRange
 public Space getRange()
 o main
 public static void main(String args[])
Invocation: StatVar < i.H > o.H

 o statVar
 public static void statVar(boolean add,
                            Vector r,
                            Vector d)
 o statVar
 public static float statVar(Rsf d)

All Packages  Class Hierarchy  This Package  Previous  Next  Index