igeo
Class IDoubleR
java.lang.Object
igeo.IParameterObject
igeo.IDoubleR
- All Implemented Interfaces:
- IDoubleI, IDoubleOp, IParameter, IReferenceParameter, ISubobject
public class IDoubleR
- extends IParameterObject
- implements IDoubleI, IReferenceParameter
Reference class of double (1 dimensional vector) to be used as IParameterObject.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
op
protected IDoubleOp op
IDoubleR
public IDoubleR(double v)
IDoubleR
public IDoubleR(IDoubleOp v)
IDoubleR
public IDoubleR(IIntegerI v)
IDoubleR
public IDoubleR(IServerI s,
double v)
IDoubleR
public IDoubleR(IServerI s,
IDoubleOp v)
IDoubleR
public IDoubleR(IServerI s,
IIntegerI v)
x
public double x()
- Specified by:
x in interface IDoubleI- Specified by:
x in interface IDoubleOp
- Returns:
- primitive value
get
public IDouble get()
- Specified by:
get in interface IDoubleI- Specified by:
get in interface IDoubleOp- Specified by:
get in interface IParameter
- Returns:
- fixed value but in wrapper class
getX
public IDoubleR getX()
- Specified by:
getX in interface IDoubleI
- Returns:
- generic parameter of the value (either of entity class or reference class)
operator
public IDoubleOp operator()
- Specified by:
operator in interface IReferenceParameter
dup
public IDoubleR dup()
- Specified by:
dup in interface IDoubleI
- Returns:
- duplicated instance
set
public IDoubleR set(double u)
- Specified by:
set in interface IDoubleI
set
public IDoubleR set(IDoubleI u)
- Specified by:
set in interface IDoubleI
set
public IDoubleR set(IIntegerI u)
- Specified by:
set in interface IDoubleI
add
public IDoubleR add(IDoubleI u)
- Specified by:
add in interface IDoubleI
add
public IDoubleR add(double u)
- Specified by:
add in interface IDoubleI
sub
public IDoubleR sub(IDoubleI u)
- Specified by:
sub in interface IDoubleI
sub
public IDoubleR sub(double u)
- Specified by:
sub in interface IDoubleI
mul
public IDoubleR mul(IDoubleI u)
- Specified by:
mul in interface IDoubleI
mul
public IDoubleR mul(double u)
- Specified by:
mul in interface IDoubleI
div
public IDoubleR div(IDoubleI u)
- Specified by:
div in interface IDoubleI
div
public IDoubleR div(double u)
- Specified by:
div in interface IDoubleI
neg
public IDoubleR neg()
- Specified by:
neg in interface IDoubleI
inv
public IDoubleR inv()
- Specified by:
inv in interface IDoubleI
abs
public IDoubleI abs()
- Specified by:
abs in interface IDoubleI
pow
public IDoubleI pow(double n)
- Specified by:
pow in interface IDoubleI
pow
public IDoubleI pow(IDoubleI n)
- Specified by:
pow in interface IDoubleI
sq
public IDoubleI sq()
- Specified by:
sq in interface IDoubleI
sqrt
public IDoubleI sqrt()
- Specified by:
sqrt in interface IDoubleI
exp
public IDoubleI exp()
- Specified by:
exp in interface IDoubleI
log
public IDoubleI log()
- Specified by:
log in interface IDoubleI
sin
public IDoubleI sin()
- Specified by:
sin in interface IDoubleI
cos
public IDoubleI cos()
- Specified by:
cos in interface IDoubleI
tan
public IDoubleI tan()
- Specified by:
tan in interface IDoubleI
asin
public IDoubleI asin()
- Specified by:
asin in interface IDoubleI
acos
public IDoubleI acos()
- Specified by:
acos in interface IDoubleI
atan
public IDoubleI atan()
- Specified by:
atan in interface IDoubleI
atan2
public IDoubleI atan2(double x2)
- Specified by:
atan2 in interface IDoubleI
atan2
public IDoubleI atan2(IDoubleI x2)
- Specified by:
atan2 in interface IDoubleI
deg
public IDoubleI deg()
- Specified by:
deg in interface IDoubleI
rad
public IDoubleI rad()
- Specified by:
rad in interface IDoubleI
eq
public boolean eq(double v)
- Specified by:
eq in interface IDoubleI
eq
public boolean eq(IDoubleI v)
- Specified by:
eq in interface IDoubleI
eq
public boolean eq(ISwitchE e,
IDoubleI v)
- Specified by:
eq in interface IDoubleI
eq
public IBoolR eq(ISwitchR r,
IDoubleI v)
- Specified by:
eq in interface IDoubleI
eq
public boolean eq(double v,
double resolution)
- Specified by:
eq in interface IDoubleI
eq
public boolean eq(IDoubleI v,
double resolution)
- Specified by:
eq in interface IDoubleI
eq
public boolean eq(ISwitchE e,
IDoubleI v,
double resolution)
- Specified by:
eq in interface IDoubleI
eq
public IBoolR eq(ISwitchR r,
IDoubleI v,
IDoubleI resolution)
- Specified by:
eq in interface IDoubleI