jmathlib.toolbox.jmathlib.matrix._private.Jampack
Class Maths

java.lang.Object
  extended by jmathlib.toolbox.jmathlib.matrix._private.Jampack.Maths

public class Maths
extends java.lang.Object

Set of functions for performing standard maths functions on a matrix


Constructor Summary
Maths()
           
 
Method Summary
static Zmat abs(Zmat a)
          Standard functions - calculates the absolute value
static Zmat ceil(Zmat a)
          Standard functions - rounds the value up
static Zmat exp(Zmat a)
          Standard functions - calculates the exponent
static Zmat floor(Zmat a)
          Standard functions - rounds the value down
static Zmat ln(Zmat a)
          Standard functions - calculates the natural logarythm
static Zmat log(Zmat a, Zmat b)
          Standard functions - calculates the logarythm
static Zmat round(Zmat a)
          Standard functions - rounds the value to the nearest int
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maths

public Maths()
Method Detail

abs

public static Zmat abs(Zmat a)
Standard functions - calculates the absolute value

Returns:
the result as an OperandToken

exp

public static Zmat exp(Zmat a)
Standard functions - calculates the exponent

Returns:
the result as an OperandToken

ln

public static Zmat ln(Zmat a)
Standard functions - calculates the natural logarythm

Returns:
the result as an OperandToken

log

public static Zmat log(Zmat a,
                       Zmat b)
Standard functions - calculates the logarythm

Parameters:
arg - = the base to calculate the log to
Returns:
the result as an OperandToken

floor

public static Zmat floor(Zmat a)
Standard functions - rounds the value down

Parameters:
arg - = the base to calculate the log to
Returns:
the result as an OperandToken

ceil

public static Zmat ceil(Zmat a)
Standard functions - rounds the value up

Parameters:
arg - = the base to calculate the log to
Returns:
the result as an OperandToken

round

public static Zmat round(Zmat a)
Standard functions - rounds the value to the nearest int

Parameters:
arg - = the base to calculate the log to
Returns:
the result as an OperandToken

FOOTER

BOTTOM