saaps.math
Class Math
java.lang.Object
|
+--saaps.math.Math
- public class Math
- extends java.lang.Object
The Java Math class extends the basic mathematical functions
from java.lang.Math to use Jama.Matrix objects.
The tanh functions is also included.
Constructor Summary |
Math()
|
Method Summary |
static Jama.Matrix |
cos(Jama.Matrix A)
Elementwize cosine of a Matrix object. |
static Jama.Matrix |
logsig(Jama.Matrix A)
|
static Jama.Matrix |
sin(Jama.Matrix A)
Elementwize sine of a Matrix object. |
static Jama.Matrix |
tan(Jama.Matrix A)
Elementwize tangent of a Matrix object. |
static Jama.Matrix |
tanh(Jama.Matrix A)
Elementwize tangent hyperbolicus of a Matrix object. |
static Jama.Matrix |
tansig(Jama.Matrix A)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Math
public Math()
sin
public static Jama.Matrix sin(Jama.Matrix A)
- Elementwize sine of a Matrix object.
- Parameters:
A
- Matrix.- Returns:
- Matrix of the same size as the input matrix.
cos
public static Jama.Matrix cos(Jama.Matrix A)
- Elementwize cosine of a Matrix object.
- Parameters:
A
- Matrix.- Returns:
- Matrix of the same size as the input matrix.
tan
public static Jama.Matrix tan(Jama.Matrix A)
- Elementwize tangent of a Matrix object.
- Parameters:
A
- Matrix.- Returns:
- Matrix of the same size as the input matrix.
tanh
public static Jama.Matrix tanh(Jama.Matrix A)
- Elementwize tangent hyperbolicus of a Matrix object.
- Parameters:
A
- Matrix.- Returns:
- Matrix of the same size as the input matrix.
logsig
public static Jama.Matrix logsig(Jama.Matrix A)
tansig
public static Jama.Matrix tansig(Jama.Matrix A)