ca.nengo.math.impl
Class SimpleFunctions.Cos

java.lang.Object
  extended by ca.nengo.math.impl.AbstractFunction
      extended by ca.nengo.math.impl.SimpleFunctions.Cos
All Implemented Interfaces:
Function, java.io.Serializable, java.lang.Cloneable
Enclosing class:
SimpleFunctions

public static class SimpleFunctions.Cos
extends AbstractFunction

In radians.

Author:
Bryan Tripp
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.nengo.math.impl.AbstractFunction
DIMENSION_PROPERTY
 
Constructor Summary
SimpleFunctions.Cos()
           
 
Method Summary
 float map(float[] from)
           
 
Methods inherited from class ca.nengo.math.impl.AbstractFunction
clone, getDimension, multiMap
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFunctions.Cos

public SimpleFunctions.Cos()
Method Detail

map

public float map(float[] from)
Specified by:
map in interface Function
Specified by:
map in class AbstractFunction
Parameters:
from - Must have same length as getDimension()
Returns:
result of function operation on arg
See Also:
Function.map(float[])