SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.misc
Interface R.which

Enclosing class:
R

public static interface R.which

the placeholder for R.which


Method Summary
 boolean isTrue(double x, int index)
          Decide whether x is to be selected.
 

Method Detail

isTrue

boolean isTrue(double x,
               int index)
Decide whether x is to be selected.

Parameters:
x - a double
index - to index to x. Ignore index if you care only the value x.
Returns:
true iff which({x}, ...) = {x}

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.