org.matheclipse.core.eval.util
Class IndexFunctionDiagonal
- java.lang.Object
-
- org.matheclipse.core.eval.util.IndexFunctionDiagonal
-
- Type Parameters:
IExpr-
- All Implemented Interfaces:
- IIndexFunction<IExpr>
public class IndexFunctionDiagonal extends java.lang.Object implements IIndexFunction<IExpr>
Evaluates to one of two given values. Useful for table generation.
-
-
Constructor Summary
Constructors Constructor and Description IndexFunctionDiagonal(IExpr[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description IExprevaluate(int[] index)
-
-
-
Constructor Detail
-
IndexFunctionDiagonal
public IndexFunctionDiagonal(IExpr[] values)
-
-
Method Detail
-
evaluate
public IExpr evaluate(int[] index)
- Specified by:
evaluatein interfaceIIndexFunction<IExpr>
-
-
DMelt 3.0 © DataMelt by jWork.ORG