FreeHEP API
Version current

hep.aida.jni
Class CIFunction

java.lang.Object
  extended byhep.aida.jni.CAIDRef
      extended byhep.aida.jni.CProxy
          extended byhep.aida.jni.CIFunction
All Implemented Interfaces:
hep.aida.IFunction
Direct Known Subclasses:
CIModelFunction

public class CIFunction
extends CProxy
implements hep.aida.IFunction

Source Code:
CIFunction.java

Field Summary
 
Fields inherited from class hep.aida.jni.CAIDRef
crefID
 
Constructor Summary
CIFunction(long crefID)
           
 
Method Summary
 hep.aida.IAnnotation annotation()
           
 String codeletString()
           
 int dimension()
           
 double[] gradient(double[] x)
           
 int indexOfParameter(String name)
           
 boolean isEqual(hep.aida.IFunction f)
           
 int numberOfParameters()
           
 double parameter(String name)
           
 String[] parameterNames()
           
 double[] parameters()
           
 boolean providesGradient()
           
 void setParameter(String name, double x)
           
 void setParameters(double[] params)
           
 void setTitle(String title)
           
 String title()
           
 double value(double[] x)
           
 String variableName(int i)
           
 String[] variableNames()
           
 
Methods inherited from class hep.aida.jni.CProxy
finalize, finalize
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.IFunction
normalizationParameter
 

Constructor Detail

CIFunction

public CIFunction(long crefID)
Method Detail

title

public String title()
Specified by:
title in interface hep.aida.IFunction

setTitle

public void setTitle(String title)
              throws IllegalArgumentException
Specified by:
setTitle in interface hep.aida.IFunction
Throws:
IllegalArgumentException

value

public double value(double[] x)
Specified by:
value in interface hep.aida.IFunction

dimension

public int dimension()
Specified by:
dimension in interface hep.aida.IFunction

isEqual

public boolean isEqual(hep.aida.IFunction f)
Specified by:
isEqual in interface hep.aida.IFunction

gradient

public double[] gradient(double[] x)
Specified by:
gradient in interface hep.aida.IFunction

providesGradient

public boolean providesGradient()
Specified by:
providesGradient in interface hep.aida.IFunction

variableName

public String variableName(int i)
Specified by:
variableName in interface hep.aida.IFunction

variableNames

public String[] variableNames()
Specified by:
variableNames in interface hep.aida.IFunction

setParameters

public void setParameters(double[] params)
                   throws IllegalArgumentException
Specified by:
setParameters in interface hep.aida.IFunction
Throws:
IllegalArgumentException

parameters

public double[] parameters()
Specified by:
parameters in interface hep.aida.IFunction

numberOfParameters

public int numberOfParameters()
Specified by:
numberOfParameters in interface hep.aida.IFunction

parameterNames

public String[] parameterNames()
Specified by:
parameterNames in interface hep.aida.IFunction

setParameter

public void setParameter(String name,
                         double x)
                  throws IllegalArgumentException
Specified by:
setParameter in interface hep.aida.IFunction
Throws:
IllegalArgumentException

parameter

public double parameter(String name)
Specified by:
parameter in interface hep.aida.IFunction

indexOfParameter

public int indexOfParameter(String name)
Specified by:
indexOfParameter in interface hep.aida.IFunction

annotation

public hep.aida.IAnnotation annotation()
Specified by:
annotation in interface hep.aida.IFunction

codeletString

public String codeletString()
Specified by:
codeletString in interface hep.aida.IFunction

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.