package org.matheclipse.core.reflection.system;

import static org.matheclipse.core.expression.F.*;

import org.matheclipse.core.eval.interfaces.AbstractFunctionEvaluator;
import org.matheclipse.core.eval.interfaces.AbstractTrigArg1;
import org.matheclipse.core.interfaces.IAST;
import org.matheclipse.core.interfaces.IExpr;
import org.matheclipse.core.interfaces.ISymbol;
import org.matheclipse.parser.client.SyntaxError;

/**
 * Inverse hyperbolic tangent
 * 
 * See  Inverse hyperbolic functions
 */
public class ArcSec extends AbstractTrigArg1 {
	/*
	 * { 
	 *   ArcSec[0]=ComplexInfinity,
	 *   ArcSec[1]=0,
	 * }
	 */
	final static IAST RULES = List(
			Set(ArcSec(C0), CComplexInfinity),
			Set(ArcSec(C1), C0)
			);

	@Override
	public IAST getRuleAST() {
		return RULES;
	}

	public ArcSec() {
	}

	@Override
	public IExpr evaluateArg1(final IExpr arg1) {
		return null;
	}

	@Override
	public void setUp(final ISymbol symbol) throws SyntaxError {
		symbol.setAttributes(ISymbol.LISTABLE | ISymbol.NUMERICFUNCTION);
		super.setUp(symbol);
	}
}

 

Ads help maintain this website.