Nengo.ca

ca.nengo.math.impl
Class SimpleFunctions.Log2

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

public static class SimpleFunctions.Log2
extends AbstractFunction

log_2(x)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ca.nengo.math.impl.AbstractFunction
DIMENSION_PROPERTY
 
Constructor Summary
SimpleFunctions.Log2()
          Wrapper around Math.log/Math.log(2)
 
Method Summary
 float map(float[] from)
           
 
Methods inherited from class ca.nengo.math.impl.AbstractFunction
clone, getCode, getDimension, getName, multiMap, setCode, setName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFunctions.Log2

public SimpleFunctions.Log2()
Wrapper around Math.log/Math.log(2)

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[])

Nengo.ca