1 文本格式
using System;
namespace Legalsoft.Truffer
{
public class Midexp : Midpnt
{
public new double func(double x)
{
return funk.funk(-Math.Log(x)) / x;
}
public Midexp(UniVarRealValueFun funcc, double aa, double bb) : base(funcc, aa, bb)
{
base.a = 0.0;
base.b = Math.Exp(-aa);
}
}
}
2 代码格式
using System;
namespace Legalsoft.Truffer
{
public class Midexp : Midpnt
{
public new double func(double x)
{
return funk.funk(-Math.Log(x)) / x;
}
public Midexp(UniVarRealValueFun funcc, double aa, double bb) : base(funcc, aa, bb)
{
base.a = 0.0;
base.b = Math.Exp(-aa);
}
}
}